Skip to content

A feature-rich command-line audio/video downloader

[funimation] Improve _VALID_URL

Sergey M․9c163950da80
diff --git a/youtube_dl/extractor/funimation.py b/youtube_dl/extractor/funimation.py
index e47fe9b73e..4f382ea6f5 100644
--- a/youtube_dl/extractor/funimation.py
+++ b/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',