parent
fb13fd21ef
commit
3025158d14
@ -159,7 +159,10 @@ def get_channel_tab(channel_id, page="1", sort=3, tab='videos', view=1,
|
|||||||
message = 'Got channel tab' if print_status else None
|
message = 'Got channel tab' if print_status else None
|
||||||
|
|
||||||
if not ctoken:
|
if not ctoken:
|
||||||
ctoken = channel_ctoken_v4(channel_id, page, sort, tab, view)
|
if tab == 'videos':
|
||||||
|
ctoken = channel_ctoken_v4(channel_id, page, sort, tab, view)
|
||||||
|
else:
|
||||||
|
ctoken = channel_ctoken_v3(channel_id, page, sort, tab, view)
|
||||||
ctoken = ctoken.replace('=', '%3D')
|
ctoken = ctoken.replace('=', '%3D')
|
||||||
|
|
||||||
# Not sure what the purpose of the key is or whether it will change
|
# Not sure what the purpose of the key is or whether it will change
|
||||||
|
Loading…
x
Reference in New Issue
Block a user