Browse Source

[escapist] Fix title search

rtmp_test
Philipp Hagemeister 11 years ago
parent
commit
da6a795fdb
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      youtube_dl/extractor/escapist.py

+ 3
- 3
youtube_dl/extractor/escapist.py View File

@ -35,11 +35,11 @@ class EscapistIE(InfoExtractor):
r'<meta name="description" content="([^"]*)"', r'<meta name="description" content="([^"]*)"',
webpage, u'description', fatal=False) 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( 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 = self._search_regex('config=(.*)$', playerUrl, u'config URL')
configUrl = compat_urllib_parse.unquote(configUrl) configUrl = compat_urllib_parse.unquote(configUrl)


Loading…
Cancel
Save