From: Philipp Hagemeister Date: Fri, 20 Feb 2015 22:22:47 +0000 (+0100) Subject: [escapist] Fix extraction (fixes #5017) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=3da0db62e6c4122b151349e7a05f59803da4fbbc;p=youtube-dl [escapist] Fix extraction (fixes #5017) --- diff --git a/youtube_dl/extractor/escapist.py b/youtube_dl/extractor/escapist.py index 4303feccd..6b693b3b6 100644 --- a/youtube_dl/extractor/escapist.py +++ b/youtube_dl/extractor/escapist.py @@ -22,6 +22,7 @@ class EscapistIE(InfoExtractor): 'uploader_id': 'the-escapist-presents', 'uploader': 'The Escapist Presents', 'title': "Breaking Down Baldur's Gate", + 'thumbnail': 're:^https?://.*\.jpg$', } } @@ -40,9 +41,8 @@ class EscapistIE(InfoExtractor): raw_title = self._html_search_meta('title', webpage, fatal=True) title = raw_title.partition(' : ')[2] - player_url = self._og_search_video_url(webpage, name='player URL') - config_url = compat_urllib_parse.unquote(self._search_regex( - r'config=(.*)$', player_url, 'config URL')) + config_url = compat_urllib_parse.unquote(self._html_search_regex( + r'