[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 @@ def _real_extract(self, url):
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 = []