diff options
author | Philipp Hagemeister <[email protected]> | 2013-11-20 07:23:23 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2013-11-20 07:23:23 +0100 |
commit | da6a795fdb49cb463dcca6ff579e68b2a2243470 (patch) | |
tree | 84d783a95fd0a1538e8a263dacbbf0c0ad30550e | |
parent | c5edcde21f772c6c51bea79edc4ac48f5e5dd8d3 (diff) | |
download | youtube-dl-da6a795fdb49cb463dcca6ff579e68b2a2243470.tar.gz youtube-dl-da6a795fdb49cb463dcca6ff579e68b2a2243470.zip |
[escapist] Fix title search
-rw-r--r-- | youtube_dl/extractor/escapist.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/escapist.py b/youtube_dl/extractor/escapist.py index 2396f163b..b1242f6bc 100644 --- a/youtube_dl/extractor/escapist.py +++ b/youtube_dl/extractor/escapist.py @@ -35,11 +35,11 @@ class EscapistIE(InfoExtractor): r'<meta name="description" content="([^"]*)"', webpage, u'description', fatal=False) - playerUrl = self._og_search_video_url(webpage, name='player URL') + playerUrl = self._og_search_video_url(webpage, name=u'player URL') title = self._html_search_regex( - 'r<meta name="title" content="([^"]*)"', - webpage, u'player url').split(' : ')[-1] + r'<meta name="title" content="([^"]*)"', + webpage, u'title').split(' : ')[-1] configUrl = self._search_regex('config=(.*)$', playerUrl, u'config URL') configUrl = compat_urllib_parse.unquote(configUrl) |