From 8f9c5eeb4824fed924c5550e7fc77270995b18ba Mon Sep 17 00:00:00 2001 From: Jesus Date: Mon, 11 Sep 2023 04:08:23 +0800 Subject: Fix 403s 1 minute into videos https://github.com/iv-org/invidious/issues/4027 https://github.com/TeamNewPipe/NewPipeExtractor/pull/1084/files --- youtube/watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/watch.py') diff --git a/youtube/watch.py b/youtube/watch.py index 24ceb93..04c52a1 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -396,7 +396,7 @@ def fetch_player_response(client, video_id): data = { 'videoId': video_id, 'context': context, - 'params': '8AEB', + 'params': 'CgIQBg', } data = json.dumps(data) headers = (('Content-Type', 'application/json'),('User-Agent', user_agent)) -- cgit v1.2.3