1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00: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 = []