From 1f9bef8631ab65f7b11fb2a62ea8b534f0c4d9be Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 11 Aug 2023 09:18:13 -0700 Subject: [PATCH] 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(-) diff --git a/youtube/watch.py b/youtube/watch.py index 63a007be..90538e3e 100644 --- a/youtube/watch.py +++ b/youtube/watch.py @@ -390,7 +390,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))