aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/escapist.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-02-20 23:22:47 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-02-20 23:22:47 +0100
commit3da0db62e6c4122b151349e7a05f59803da4fbbc (patch)
tree5d1fe5b08022a5fcf8a89e034a110bfeff133dc8 /youtube_dl/extractor/escapist.py
parente14ced791813cdd55f9d344febb3f95035754401 (diff)
downloadyoutube-dl-3da0db62e6c4122b151349e7a05f59803da4fbbc.tar.xz
[escapist] Fix extraction (fixes #5017)
Diffstat (limited to 'youtube_dl/extractor/escapist.py')
-rw-r--r--youtube_dl/extractor/escapist.py7
1 files changed, 3 insertions, 4 deletions
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'<param name="flashvars" value="config=([^"&]+)', webpage, 'config URL'))
formats = []
@@ -81,5 +81,4 @@ class EscapistIE(InfoExtractor):
'title': title,
'thumbnail': self._og_search_thumbnail(webpage),
'description': description,
- 'player_url': player_url,
}