Skip to content

A feature-rich command-line audio/video downloader

[ae] Improve _VALID_URL

Sergey M․a78d6a9bb138
diff --git a/youtube_dl/extractor/ae.py b/youtube_dl/extractor/ae.py
index 880c653507..a3b9f1ca4f 100644
--- a/youtube_dl/extractor/ae.py
+++ b/youtube_dl/extractor/ae.py
@@ -5,7 +5,7 @@ from ..utils import smuggle_url
class AEIE(InfoExtractor):
- _VALID_URL = r'https?://(?:www\.)?(?:(?:history|aetv|mylifetime)\.com|fyi.tv)/(?:[^/]+/)+(?P<id>[^/]+?)(?:$|[?#])'
+ _VALID_URL = r'https?://(?:www\.)?(?:(?:history|aetv|mylifetime)\.com|fyi\.tv)/(?:[^/]+/)+(?P<id>[^/]+?)(?:$|[?#])'
_TESTS = [{
'url': 'http://www.history.com/topics/valentines-day/history-of-valentines-day/videos/bet-you-didnt-know-valentines-day?m=528e394da93ae&s=undefined&f=1&free=false',