diff options
author | Yuriy Melnyk <ymelnik@yandex.ru> | 2014-11-29 18:14:57 +0200 |
---|---|---|
committer | Yuriy Melnyk <ymelnik@yandex.ru> | 2014-11-29 19:17:56 +0200 |
commit | 248a0b890f1e1a122079cbe855599e5fcec080e8 (patch) | |
tree | 79d0dc85c2c7e2cad41aa91aed97eed37580c8b0 /youtube_dl/extractor/bliptv.py | |
parent | 96b7c7fe3fb099c1c6be1d80ee5b291045e8db77 (diff) |
[bliptv] Fix \n\n at the end of real_url
See https://github.com/rg3/youtube-dl/issues/3544#issuecomment-53166516
Diffstat (limited to 'youtube_dl/extractor/bliptv.py')
-rw-r--r-- | youtube_dl/extractor/bliptv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bliptv.py b/youtube_dl/extractor/bliptv.py index a18c64dc0..da47f27bd 100644 --- a/youtube_dl/extractor/bliptv.py +++ b/youtube_dl/extractor/bliptv.py @@ -130,7 +130,7 @@ class BlipTVIE(SubtitlesInfoExtractor): msg = self._download_webpage( url + '?showplayer=20140425131715&referrer=http://blip.tv&mask=7&skin=flashvars&view=url', 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') if media_type == 'text/srt' or url.endswith('.srt'): |