diff options
author | Jesus <heckyel@riseup.net> | 2023-09-11 04:08:23 +0800 |
---|---|---|
committer | Jesus <heckyel@riseup.net> | 2023-09-11 04:08:23 +0800 |
commit | 8f9c5eeb4824fed924c5550e7fc77270995b18ba (patch) | |
tree | aed86bb28ab577940dc48cd0a89e652ac6dad94a | |
parent | 89e21302e3f22d7cb0d9343f027965b4f8f4a771 (diff) | |
download | yt-local-8f9c5eeb4824fed924c5550e7fc77270995b18ba.tar.lz yt-local-8f9c5eeb4824fed924c5550e7fc77270995b18ba.tar.xz yt-local-8f9c5eeb4824fed924c5550e7fc77270995b18ba.zip |
Fix 403s 1 minute into videos
https://github.com/iv-org/invidious/issues/4027
https://github.com/TeamNewPipe/NewPipeExtractor/pull/1084/files
-rw-r--r-- | youtube/watch.py | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |