From: Sergey M․ Date: Mon, 4 May 2015 13:01:08 +0000 (+0600) Subject: [escapist] Improve _VALID_URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=90b4b0eabeabbdad3bfece8254692d34a3dcba95;p=youtube-dl [escapist] Improve _VALID_URL --- 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[0-9]+)-[^/?#]*(?:$|[?#])' + _VALID_URL = r'https?://?(?:www\.)?escapistmagazine\.com/videos/view/[^/?#]+/(?P[0-9]+)-[^/?#]*(?:$|[?#])' _TESTS = [{ 'url': 'http://www.escapistmagazine.com/videos/view/the-escapist-presents/6618-Breaking-Down-Baldurs-Gate', 'md5': 'ab3a706c681efca53f0a35f1415cf0d1',