Browse Source

[escapist] Improve _VALID_URL

Sergey M․ 10 years ago
parent
commit
90b4b0eabe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/escapist.py

+ 1 - 1
youtube_dl/extractor/escapist.py

@@ -36,7 +36,7 @@ def _decrypt_config(key, string):
 
 
 
 
 class EscapistIE(InfoExtractor):
 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 = [{
     _TESTS = [{
         'url': 'http://www.escapistmagazine.com/videos/view/the-escapist-presents/6618-Breaking-Down-Baldurs-Gate',
         'url': 'http://www.escapistmagazine.com/videos/view/the-escapist-presents/6618-Breaking-Down-Baldurs-Gate',
         'md5': 'ab3a706c681efca53f0a35f1415cf0d1',
         'md5': 'ab3a706c681efca53f0a35f1415cf0d1',