youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit d41ee7b7745d59d398f37b435146d4036e4a7448
parent e0e9bbb0e9dd92f526b04584c47e6509a73fed04
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 30 Apr 2016 19:22:42 +0600

[vlive] Pass Referer as bytestring (Closes #9352)

Diffstat:
Myoutube_dl/extractor/vlive.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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')