invidious-copy-2022-04-11/src/invidious
syeopite 1321c90920
Extract channel routes (#2227)
* Extract primary channel routes from invidious.cr

Also removes timedtext_video stub since all it does is redirect to the
homepage. However, Invidious's 404 handler already does this.

--
As the template for the channel about page doesn't exist yet, the
behavior for the /channel/:ucid/about endpoint has been changed to be
the same as what's currently present on Invidious

(cherry picked from commit 8fad19d805)

* Manually extract brand_redirect from 1b569bbc99

This commit manually extracts the brand_redirect function from the
commit mentioned.

However, the redirect to the  `.../about` endpoint is removed due to the
fact that it doesn't exist yet.

This commit is also mainly just a bridge for the next few cherry picks from
\#2215

* Update brand_redirect to use youtubei resolve_url

(cherry picked from commit 53335fe7cf)

* Add additional channel endpoints to brand_redirect

(cherry picked from commit 8fc6f3add6)

* Add separate handler for /profile endpoint

* Add /channel/:ucid/home route

* Document all channel brand_urls
2021-08-03 23:46:15 +02:00
..
channels Youtube api improvements (#2277) 2021-08-03 02:58:27 +02:00
helpers Fix crystal overrides (#2295) 2021-08-03 23:44:47 +02:00
jobs Pick a random video for bypass captcha 2021-06-25 15:37:37 +00:00
routes Extract channel routes (#2227) 2021-08-03 23:46:15 +02:00
views Multiple front-end fixes (#2247) 2021-07-15 23:01:36 +02:00
comments.cr Merge pull request #2201 from pinchese/patch-1 2021-07-16 21:43:37 -07: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 Make config a constant 2021-01-23 19:39:04 +01:00
search.cr Youtube api improvements (#2277) 2021-08-03 02:58:27 +02: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 Use struct for caption object 2021-07-11 16:17:22 -07:00