invidious/src/invidious
syeopite a50f64f6e9
Add parser for categories (shelfRenderer)
This commit adds a new parser for YT's shelfRenderers which are
typically used to denote different categories.The code for featured
channels parsing has also been moved to use the new parser but some
additional refactoring are needed there.

The ContinuationExtractor has also been improved and is now capable of
extraction continuation data that is packaged under
"appendContinuationItemsAction"

In additional this commit adds some useful helper functions to extract
the current selected tab the continuation token. This is to mainly
reduce code size and repetition.
--
This cherry-picked commit also removes the code for parsing featured
channels present on the original.

(cherry picked from commit 8000d538dbbf1eb9c78e000b1449926ba3b24da9)
2021-09-24 21:07:06 -07:00
..
channels Extract API routes from invidious.cr (2/?) 2021-08-14 00:18:24 -07:00
helpers Add parser for categories (shelfRenderer) 2021-09-24 21:07:06 -07:00
jobs Pick a random video for bypass captcha 2021-06-25 15:37:37 +00:00
routes Fix livestream regex regression caused by #2271 2021-09-25 02:47:52 +00:00
views Add parser for categories (shelfRenderer) 2021-09-24 21:07:06 -07:00
comments.cr Merge pull request #2380 from syeopite/fix-invidious-showing-yt-redirect-links 2021-09-06 11:15:08 +02:00
jobs.cr Provide rough draft of better project organization 2020-10-05 23:57:19 -05:00
mixes.cr Add backtraces to errors (#1498) 2020-11-30 10:59:21 +01:00
playlists.cr Youtube api improvements (#2277) 2021-08-03 02:58:27 +02:00
routing.cr Fix mixes route (#2421) 2021-09-20 22:39:32 -07:00
search.cr Add parser for categories (shelfRenderer) 2021-09-24 21:07:06 -07:00
trending.cr Youtube api improvements (#2277) 2021-08-03 02:58:27 +02:00
users.cr Display username in header 2021-06-19 04:58:42 -07:00
videos.cr Handle equirectangular projections for VR (#2379) 2021-09-10 07:42:39 +00:00