[funimation] Improve _VALID_URL
[youtube-dl] / youtube_dl / extractor / funimation.py
index e47fe9b73e32682d3e725fad1c8706466bef144a..4f382ea6f597a2737fa640b3c4e9ac66d0fdb2a0 100644 (file)
@@ -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',