projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b7c7f
)
[bliptv] Fix \n\n at the end of real_url
author
Yuriy Melnyk
<ymelnik@yandex.ru>
Sat, 29 Nov 2014 16:14:57 +0000
(18:14 +0200)
committer
Yuriy Melnyk
<ymelnik@yandex.ru>
Sat, 29 Nov 2014 17:17:56 +0000
(19:17 +0200)
See https://github.com/rg3/youtube-dl/issues/3544#issuecomment-
53166516
youtube_dl/extractor/bliptv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bliptv.py
b/youtube_dl/extractor/bliptv.py
index a18c64dc05e1b9e3c62cc6c05f84109a3fe7d4e9..da47f27bdd6702d3927f3fde72fc0ebe064df53a 100644
(file)
--- 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'):