projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
567f9a5
)
[ae] Improve _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Fri, 15 Jan 2016 16:13:48 +0000
(22:13 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 15 Jan 2016 16:13:48 +0000
(22:13 +0600)
youtube_dl/extractor/ae.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ae.py
b/youtube_dl/extractor/ae.py
index 880c653507355cfe803e97971d915f384a3c1b7a..a3b9f1ca4fede596773180c4f3c13f9b97f35acd 100644
(file)
--- a/
youtube_dl/extractor/ae.py
+++ b/
youtube_dl/extractor/ae.py
@@
-5,7
+5,7
@@
from ..utils import smuggle_url
class AEIE(InfoExtractor):
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',
_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',