logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 90b4b0eabeabbdad3bfece8254692d34a3dcba95
parent cec04ef3a6cfd43036f7463dc1fa890af5b6ee11
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon,  4 May 2015 19:01:08 +0600

[escapist] Improve _VALID_URL

Diffstat:

Myoutube_dl/extractor/escapist.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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',