[funimation] Improve _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Fri, 11 Dec 2015 17:20:10 +0000 (23:20 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 11 Dec 2015 17:20:10 +0000 (23:20 +0600)
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',