1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-24 15:27:55 +01:00

[escapist] upper-case URL

This commit is contained in:
Philipp Hagemeister 2013-11-20 06:56:59 +01:00
parent 15ff3c831e
commit c5edcde21f

View File

@ -35,13 +35,13 @@ 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='player URL')
title = self._html_search_regex( title = self._html_search_regex(
'r<meta name="title" content="([^"]*)"', 'r<meta name="title" content="([^"]*)"',
webpage, u'player url').split(' : ')[-1] webpage, u'player url').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)
formats = [] formats = []