kopia lustrzana https://github.com/yt-dlp/yt-dlp
[ie/afreecatv] Support browser impersonation (#10174)
Closes #8187 Authored by: hui1601pull/10321/head
rodzic
2a4f2e82db
commit
e8352ad659
yt_dlp/extractor
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue