aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJesus E <heckyel@riseup.net>2023-06-17 16:17:18 -0400
committerJesus E <heckyel@riseup.net>2023-06-17 16:17:18 -0400
commit93b58efa0ea49478444adb6f2e9f6cddf6746f81 (patch)
treee536b0bd9d1ccc242e4f0ed8992faf26143f0f4a /youtube
parentdb08283368fe3f3bd65561b297535633c1f3202e (diff)
downloadyt-local-93b58efa0ea49478444adb6f2e9f6cddf6746f81.tar.lz
yt-local-93b58efa0ea49478444adb6f2e9f6cddf6746f81.tar.xz
yt-local-93b58efa0ea49478444adb6f2e9f6cddf6746f81.zip
Fix offset format
Diffstat (limited to 'youtube')
-rw-r--r--youtube/channel.py2
1 files changed, 1 insertions, 1 deletions
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,