[bliptv] Fix \n\n at the end of real_url
See https://github.com/rg3/youtube-dl/issues/3544#issuecomment-53166516
This commit is contained in:
parent
96b7c7fe3f
commit
248a0b890f
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class BlipTVIE(SubtitlesInfoExtractor):
|
||||||
msg = self._download_webpage(
|
msg = self._download_webpage(
|
||||||
url + '?showplayer=20140425131715&referrer=http://blip.tv&mask=7&skin=flashvars&view=url',
|
url + '?showplayer=20140425131715&referrer=http://blip.tv&mask=7&skin=flashvars&view=url',
|
||||||
video_id, 'Resolving URL for %s' % role)
|
video_id, 'Resolving URL for %s' % role)
|
||||||
real_url = compat_urlparse.parse_qs(msg)['message'][0]
|
real_url = compat_urlparse.parse_qs(msg.strip())['message'][0]
|
||||||
|
|
||||||
media_type = media_content.get('type')
|
media_type = media_content.get('type')
|
||||||
if media_type == 'text/srt' or url.endswith('.srt'):
|
if media_type == 'text/srt' or url.endswith('.srt'):
|
||||||
|
|
Loading…
Reference in a new issue