diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-05-04 19:01:08 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-05-04 19:01:08 +0600 |
commit | 90b4b0eabeabbdad3bfece8254692d34a3dcba95 (patch) | |
tree | 68b92fe8ebd4b6969c3c82fe6f7c267723049648 /youtube_dl | |
parent | cec04ef3a6cfd43036f7463dc1fa890af5b6ee11 (diff) |
[escapist] Improve _VALID_URL
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/escapist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/escapist.py b/youtube_dl/extractor/escapist.py index daf859385..dadfaa6a5 100644 --- 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', |