Fix offset format

This commit is contained in:
Jesus E 2023-06-17 16:17:18 -04:00
parent db08283368
commit 93b58efa0e
No known key found for this signature in database
GPG Key ID: 159C8F8BC9AED8B6

View File

@ -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,