Procházet zdrojové kódy

[funimation] Improve _VALID_URL

Sergey M․ před 10 roky
rodič
revize
9c163950da
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      youtube_dl/extractor/funimation.py

+ 1 - 1
youtube_dl/extractor/funimation.py

@@ -16,7 +16,7 @@ from ..utils import (
 
 
 class FunimationIE(InfoExtractor):
-    _VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/[^/]+/videos/official/(?P<id>[^?]+)'
+    _VALID_URL = r'https?://(?:www\.)?funimation\.com/shows/[^/]+/videos/official/(?P<id>[^/?#&]+)'
 
     _TEST = {
         'url': 'http://www.funimation.com/shows/air/videos/official/breeze',