From: Sergey M․ Date: Fri, 15 Jan 2016 16:13:48 +0000 (+0600) Subject: [ae] Improve _VALID_URL X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=a78d6a9bb1387db4aa29f1ac1e4edad8d2061783;p=youtube-dl [ae] Improve _VALID_URL --- diff --git a/youtube_dl/extractor/ae.py b/youtube_dl/extractor/ae.py index 880c65350..a3b9f1ca4 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[^/]+?)(?:$|[?#])' + _VALID_URL = r'https?://(?:www\.)?(?:(?:history|aetv|mylifetime)\.com|fyi\.tv)/(?:[^/]+/)+(?P[^/]+?)(?:$|[?#])' _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',