mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-24 05:22:51 +08:00
[afreecatv] Pass referrer to video info request (closes #15507)
This commit is contained in:
parent
1f916ea01b
commit
c16af2cb4e
@ -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 New Issue
Block a user