]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[ae] Improve _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Fri, 15 Jan 2016 16:13:48 +0000 (22:13 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 15 Jan 2016 16:13:48 +0000 (22:13 +0600)
youtube_dl/extractor/ae.py

index 880c653507355cfe803e97971d915f384a3c1b7a..a3b9f1ca4fede596773180c4f3c13f9b97f35acd 100644 (file)
@@ -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',