mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 17:41:01 +01:00
[afreecatv] Update referrer (closes #15947)
This commit is contained in:
parent
b015cb1af3
commit
86e1958944
@ -187,11 +187,11 @@ def _real_extract(self, url):
|
||||
r'nBbsNo\s*=\s*(\d+)', webpage, 'bbs')
|
||||
video_id = self._search_regex(
|
||||
r'nTitleNo\s*=\s*(\d+)', webpage, 'title', default=video_id)
|
||||
|
||||
print(video_id, station_id, bbs_id)
|
||||
video_xml = self._download_xml(
|
||||
'http://afbbs.afreecatv.com:8080/api/video/get_video_info.php',
|
||||
video_id, headers={
|
||||
'Referer': 'http://vod.afreecatv.com/embed.php',
|
||||
'Referer': url,
|
||||
}, query={
|
||||
'nTitleNo': video_id,
|
||||
'nStationNo': station_id,
|
||||
|
Loading…
Reference in New Issue
Block a user