projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cec04ef
)
[escapist] Improve _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Mon, 4 May 2015 13:01:08 +0000
(19:01 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 4 May 2015 13:01:08 +0000
(19:01 +0600)
youtube_dl/extractor/escapist.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/escapist.py
b/youtube_dl/extractor/escapist.py
index daf859385a07d5c75832bea560558bfe9f0ffc7e..dadfaa6a5058303d2a134ae30f8c61eca1083631 100644
(file)
--- a/
youtube_dl/extractor/escapist.py
+++ b/
youtube_dl/extractor/escapist.py
@@
-36,7
+36,7
@@
def _decrypt_config(key, string):
class EscapistIE(InfoExtractor):
- _VALID_URL = r'https?://?(www\.)?escapistmagazine\.com/videos/view/[^/?#]+/(?P<id>[0-9]+)-[^/?#]*(?:$|[?#])'
+ _VALID_URL = r'https?://?(
?:
www\.)?escapistmagazine\.com/videos/view/[^/?#]+/(?P<id>[0-9]+)-[^/?#]*(?:$|[?#])'
_TESTS = [{
'url': 'http://www.escapistmagazine.com/videos/view/the-escapist-presents/6618-Breaking-Down-Baldurs-Gate',
'md5': 'ab3a706c681efca53f0a35f1415cf0d1',