mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 02:25:11 +00:00
[vlive] Pass Referer as bytestring (Closes #9352)
This commit is contained in:
parent
e0e9bbb0e9
commit
d41ee7b774
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ def _real_extract(self, url):
|
|||
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')
|
||||
|
|
Loading…
Reference in a new issue