From 93b58efa0ea49478444adb6f2e9f6cddf6746f81 Mon Sep 17 00:00:00 2001 From: Jesus E Date: Sat, 17 Jun 2023 16:17:18 -0400 Subject: Fix offset format --- youtube/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube') diff --git a/youtube/channel.py b/youtube/channel.py index 974fb8a..f79db88 100644 --- a/youtube/channel.py +++ b/youtube/channel.py @@ -85,7 +85,7 @@ def channel_ctoken_v5(channel_id, page, sort, tab, view=1): # https://github.com/user234683/youtube-local/issues/151 def channel_ctoken_v4(channel_id, page, sort, tab, view=1): new_sort = (2 if int(sort) == 1 else 1) - offset = str(30*(int(page) - 1)) + offset = 30*(int(page) - 1) pointless_nest = proto.string(80226972, proto.string(2, channel_id) + proto.string(3, -- cgit v1.2.3