mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:57:40 +00:00
[afreecatv] Pass referrer to video info request (closes #15507)
This commit is contained in:
parent
0e0508c8a2
commit
fde677fed4
1 changed files with 3 additions and 1 deletions
|
@ -177,7 +177,9 @@ class AfreecaTVIE(InfoExtractor):
|
|||
|
||||
video_xml = self._download_xml(
|
||||
'http://afbbs.afreecatv.com:8080/api/video/get_video_info.php',
|
||||
video_id, query={
|
||||
video_id, headers={
|
||||
'Referer': 'http://vod.afreecatv.com/embed.php',
|
||||
}, query={
|
||||
'nTitleNo': video_id,
|
||||
'partialView': 'SKIP_ADULT',
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue