Invidious: No "Previous Page" on the playlists list

Created on 31 Jul 2019  路  5Comments  路  Source: iv-org/invidious

There is no way to go back to the previous page of the playlists list.
bug
(this is the third and last page of the playlists of Linux Tech Tips)

bug

Most helpful comment

Why not simply add a new URL parameter then, e.g. previous=OLD_TOKEN?

Unfortunately this won't solve the problem, since the previous page won't be able to get the previous for itself, if that makes sense. It'd be necessary to have a previous=OLD_TOKEN1,OLD_TOKEN2,....

I think having a "first page" link is probably the best option here. It may make sense to refactor this to use the same code as /community since the implementation is extremely similar, although it wouldn't work without Javascript.

All 5 comments

This is a limitation of how playlists are provided by YouTube. It's easier to see when looking at the respective API endpoint.

Essentially, YouTube provides a random token on each request that can be used to get the next page of playlists. AFAIK, YouTube doesn't provide the previously used token, so it's not possible to go back without using controls provided by the browser.

That's because YouTube only supports infinite-scrolling without a offering "Next page" / "Previous page" link.
Why not simply add a new URL parameter then, e.g. previous=OLD_TOKEN?

That's because YouTube only supports infinite-scrolling without a offering "Next page" / "Previous page" link.
Why not simply add a new URL parameter then, e.g. previous=OLD_TOKEN?

If it's not possible just having a "first page" might also be better than having to go back in the channel and clicking playlists again

Why not simply add a new URL parameter then, e.g. previous=OLD_TOKEN?

Unfortunately this won't solve the problem, since the previous page won't be able to get the previous for itself, if that makes sense. It'd be necessary to have a previous=OLD_TOKEN1,OLD_TOKEN2,....

I think having a "first page" link is probably the best option here. It may make sense to refactor this to use the same code as /community since the implementation is extremely similar, although it wouldn't work without Javascript.

you could cache those tokens as cookies

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Zero3K picture Zero3K  路  4Comments

haizrul picture haizrul  路  4Comments

linuxgirl22 picture linuxgirl22  路  4Comments

elypter picture elypter  路  4Comments

dimqua picture dimqua  路  4Comments