Ver Fonte

[funimation] Improve _VALID_URL

Sergey M․ há 10 anos atrás
pai
commit
9c163950da
1 ficheiros alterados com 1 adições e 1 exclusões
  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',