7
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-26 14:50:24 +00:00

[escapist] Improve _VALID_URL

This commit is contained in:
Sergey M․ 2015-05-04 19:01:08 +06:00
parent cec04ef3a6
commit 90b4b0eabe

View File

@ -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',