invidious-experimenting/src/invidious/routes
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 8fad19d8057d7d22e3de27ebbc88a9978c1df27b)

* Manually extract brand_redirect from 1b569bbc99207cae7c20aa285f42477ae361dd30

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 53335fe7cfdfac392365b7cac447bc7cc6478134)

* Add additional channel endpoints to brand_redirect

(cherry picked from commit 8fc6f3add637dabb09b2034f4d82fc3d039ba15c)

* Add separate handler for /profile endpoint

* Add /channel/:ucid/home route

* Document all channel brand_urls
2021-08-03 23:46:15 +02:00
..
base_route.cr Make config a constant 2021-01-23 19:39:04 +01:00
channels.cr Extract channel routes (#2227) 2021-08-03 23:46:15 +02:00
embed.cr Fix caption parsing on age restricted videos 2021-06-27 08:35:28 -07:00
login.cr Upgrade to crystal 1.0.0 2021-06-08 13:10:58 -07:00
misc.cr Allow automatic instance redirect to be turned off 2021-06-19 04:16:18 -07:00
playlists.cr Fix missing last page in playlists 2021-04-01 18:46:49 +00:00
preferences.cr Display username in header 2021-06-19 04:58:42 -07:00
search.cr Use if/else instead of return in search route 2021-06-14 17:27:47 +02:00
watch.cr Fix raw parameter for videos in listen mode (#2270) 2021-07-28 16:28:09 -07:00