A feature-rich command-line audio/video downloader
[vlive] Pass Referer as bytestring (Closes #9352)
Sergey M․d41ee7b7745d
diff --git a/youtube_dl/extractor/vlive.py b/youtube_dl/extractor/vlive.pyindex 7f9e99ec2c..a672ea9c5a 100644--- 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')