mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-09 10:50:38 +00:00
[ie/afreecatv] Support browser impersonation (#10174)
Closes #8187 Authored by: hui1601
This commit is contained in:
parent
2a4f2e82db
commit
e8352ad659
@ -189,7 +189,7 @@ class AfreecaTVIE(AfreecaTVBaseIE):
|
||||
headers={'Referer': url}, data=urlencode_postdata({
|
||||
'nTitleNo': video_id,
|
||||
'nApiLevel': 10,
|
||||
}))['data']
|
||||
}), impersonate=True)['data']
|
||||
|
||||
error_code = traverse_obj(data, ('code', {int}))
|
||||
if error_code == -6221:
|
||||
|
Loading…
Reference in New Issue
Block a user