Fix 403s 1 minute into videos
https://github.com/iv-org/invidious/issues/4027 https://github.com/TeamNewPipe/NewPipeExtractor/pull/1084/files
This commit is contained in:
parent
89e21302e3
commit
8f9c5eeb48
@ -396,7 +396,7 @@ def fetch_player_response(client, video_id):
|
|||||||
data = {
|
data = {
|
||||||
'videoId': video_id,
|
'videoId': video_id,
|
||||||
'context': context,
|
'context': context,
|
||||||
'params': '8AEB',
|
'params': 'CgIQBg',
|
||||||
}
|
}
|
||||||
data = json.dumps(data)
|
data = json.dumps(data)
|
||||||
headers = (('Content-Type', 'application/json'),('User-Agent', user_agent))
|
headers = (('Content-Type', 'application/json'),('User-Agent', user_agent))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user