aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/channel.py
diff options
context:
space:
mode:
authorAstound <kirito@disroot.org>2024-03-30 10:10:35 +0800
committerAstound <kirito@disroot.org>2024-03-30 10:10:35 +0800
commit80b7f3cd0005b8353eec00d4e59a23e43f1e2fa4 (patch)
tree603c812bbe476c0833d69f6b8f34fb4fc1a29087 /youtube/channel.py
parent8b79e067bc8ead97794d41aaec74b1fa8c69f887 (diff)
downloadyt-local-80b7f3cd0005b8353eec00d4e59a23e43f1e2fa4.tar.lz
yt-local-80b7f3cd0005b8353eec00d4e59a23e43f1e2fa4.tar.xz
yt-local-80b7f3cd0005b8353eec00d4e59a23e43f1e2fa4.zip
Update user-agents and update android client parameters to fix blockage
Diffstat (limited to 'youtube/channel.py')
-rw-r--r--youtube/channel.py4
1 files changed, 2 insertions, 2 deletions
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,