projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0e9bbb
)
[vlive] Pass Referer as bytestring (Closes #9352)
author
Sergey M․
<dstftw@gmail.com>
Sat, 30 Apr 2016 13:22:42 +0000
(19:22 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 30 Apr 2016 13:22:42 +0000
(19:22 +0600)
youtube_dl/extractor/vlive.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vlive.py
b/youtube_dl/extractor/vlive.py
index 7f9e99ec2c8dd4fa32a0da8310fcd55300b44426..a672ea9c5a5c05316f3e03808ac66a60d48e0f18 100644
(file)
--- a/
youtube_dl/extractor/vlive.py
+++ b/
youtube_dl/extractor/vlive.py
@@
-43,7
+43,7
@@
class VLiveIE(InfoExtractor):
status_params = self._download_json(
'http://www.vlive.tv/video/status?videoSeq=%s' % video_id,
video_id, 'Downloading JSON status',
- headers={'Referer': url})
+ headers={'Referer': url
.encode('utf-8')
})
status = status_params.get('status')
air_start = status_params.get('onAirStartAt', '')
is_live = status_params.get('isLive')