about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-04 19:01:08 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-04 19:01:08 +0600
commit90b4b0eabeabbdad3bfece8254692d34a3dcba95 (patch)
tree68b92fe8ebd4b6969c3c82fe6f7c267723049648
parentcec04ef3a6cfd43036f7463dc1fa890af5b6ee11 (diff)
downloadyoutube-dl-90b4b0eabeabbdad3bfece8254692d34a3dcba95.tar.gz
youtube-dl-90b4b0eabeabbdad3bfece8254692d34a3dcba95.tar.xz
youtube-dl-90b4b0eabeabbdad3bfece8254692d34a3dcba95.zip
[escapist] Improve _VALID_URL
-rw-r--r--youtube_dl/extractor/escapist.py2
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',