From 80b7f3cd0005b8353eec00d4e59a23e43f1e2fa4 Mon Sep 17 00:00:00 2001 From: Astound Date: Sat, 30 Mar 2024 10:10:35 +0800 Subject: Update user-agents and update android client parameters to fix blockage --- youtube/channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'youtube/channel.py') diff --git a/youtube/channel.py b/youtube/channel.py index cd0d539..b520121 100644 --- a/youtube/channel.py +++ b/youtube/channel.py @@ -264,7 +264,7 @@ def get_channel_tab(channel_id, page="1", sort=3, tab='videos', view=1, 'hl': 'en', 'gl': 'US', 'clientName': 'WEB', - 'clientVersion': '2.20180830', + 'clientVersion': '2.20240327.00.00', }, }, 'continuation': ctoken, @@ -371,7 +371,7 @@ def get_channel_search_json(channel_id, query, page): 'hl': 'en', 'gl': 'US', 'clientName': 'WEB', - 'clientVersion': '2.20180830', + 'clientVersion': '2.20240327.00.00', }, }, 'continuation': ctoken, -- cgit v1.2.3