Commit Graph

1967 Commits

Author SHA1 Message Date
syeopite
53335fe7cf
Update brand_redirect to use youtubei resolve_url 2021-06-26 21:08:03 -07:00
syeopite
59169c2aa0
Add new helper method to resolve Youtube URLs 2021-06-26 21:08:03 -07:00
syeopite
7729d6496e
Set query as an alias for search query in search 2021-06-26 21:07:59 -07:00
syeopite
58c4700bde
Add new /channel/:ucid/search endpoint 2021-06-26 19:42:42 -07:00
syeopite
14cd6c829c
Escape (some) channel names in frontend 2021-06-26 19:20:50 -07:00
syeopite
78da8f8899
Add msg to warn users about empty vid and pl tab 2021-06-26 19:15:45 -07:00
syeopite
39187cc8c2
Split content sorting bar from channel-information 2021-06-26 19:03:22 -07:00
syeopite
efd53285cf
Handle channels with empty home pages 2021-06-26 19:03:17 -07:00
syeopite
7662d925e4
Add search filters box to empty search results 2021-06-26 17:47:47 -07:00
syeopite
f2e78f19da
Fix bug in which "..._commons" is not rmd in fltr 2021-06-26 17:16:44 -07:00
syeopite
3166f89ec4
Remove page param when applying filters 2021-06-26 16:03:01 -07:00
syeopite
6ce99cc791
Split search filter columns into a component 2021-06-26 16:02:32 -07:00
syeopite
b2a24bf0ae
Add config opt. to view chan vid page by default 2021-06-25 21:44:30 -07:00
syeopite
faf4b7207b
Fix typo in footer 2021-06-25 21:44:30 -07:00
syeopite
5c0eef56c5
Add functionality to contact inst maintainer link 2021-06-25 21:44:30 -07:00
syeopite
5979e8f114
Enhance chan about page to show channel description 2021-06-25 21:44:27 -07:00
syeopite
4c18ecfcf2
Readd accidently deleted channel link parsing 2021-06-25 20:59:44 -07:00
syeopite
b4339ec9d1
Hide channel description on small screens 2021-06-25 20:59:43 -07:00
syeopite
e8d5fa5142
Typo and formatting fix 2021-06-25 20:59:41 -07:00
syeopite
515e617f0d
Center sorting options on small displays (<640px) 2021-06-25 19:47:42 -07:00
syeopite
c0673f8314
Responsify content-navigation bar 2021-06-25 19:40:36 -07:00
syeopite
491e33450e
Fix miscount of search results 2021-06-25 19:30:14 -07:00
syeopite
abda6840d5
Fix missing search results in extraction 2021-06-25 19:21:29 -07:00
syeopite
37db83a94e
Add brand redirect for /user/ links 2021-06-25 18:45:32 -07:00
syeopite
8b13ab27ea
Fix next/prev page link in videos.ecr 2021-06-25 18:39:21 -07:00
syeopite
8225fbeb80
Rename channel.ecr to videos.ecr 2021-06-25 18:38:06 -07:00
syeopite
47bd7812a5
Add channel heading design to channel search 2021-06-25 18:36:36 -07:00
syeopite
f381f909f4
Add buttons for switching inst and using yt on chan 2021-06-25 15:51:36 -07:00
syeopite
a6f3c80b6b
Document and reorganize code 4 chan's feat. chans 2021-06-25 14:55:47 -07:00
syeopite
cc10675610
Change behavior of categories in search results 2021-06-25 10:20:59 -07:00
syeopite
4ec6b01809
Documentation 2021-06-25 09:57:34 -07:00
syeopite
89585c3fc0
Fix imports 2021-06-25 09:43:27 -07:00
syeopite
44d18b8e14
Debloat channels.cr into mult files + rm depre. 2021-06-25 09:08:29 -07:00
syeopite
746ce6b71c
Replace channel tab param fetch with hardcoded ones 2021-06-24 18:16:12 -07:00
syeopite
462ef800ff
Fix lint and add footer desc to locale 2021-06-24 17:29:21 -07:00
syeopite
9b6d09c7b6
Add objects to represent youtube item containers 2021-06-24 17:26:20 -07:00
syeopite
46fe3c5195
Fix sorting for videos and playlist tabs 2021-06-24 16:03:59 -07:00
syeopite
f2039d6dcf
Move sorting options to separate bar 2021-06-24 11:20:09 -07:00
syeopite
ca4afd59f4
Make search not include category items for now 2021-06-24 10:27:19 -07:00
syeopite
2605b9c609
Fix category items not being extracted in search 2021-06-24 10:23:25 -07:00
syeopite
842c23a119
Fix merge conflicts 2021-06-24 09:33:04 -07:00
syeopite
04e04efd19
Rename invidiousitems.cr 2021-06-24 08:52:48 -07:00
syeopite
d3a9e8554c
Extract items from category for search in frontend 2021-06-24 08:52:48 -07:00
syeopite
420c2be348
Minor CSS cleanup 2021-06-24 08:52:48 -07:00
syeopite
f2c35b975f
Fix styling for featured badges on category 2021-06-24 08:52:48 -07:00
syeopite
1b569bbc99
Add support channel home pages + gen. improvements
This commit adds support for channel home pages and all of the
categories within it. However, the frontend code is a mess and thus
needs to be refactor soon. Though that would likely require a rework of
items.ecr

This commit also comes with some general cleanups and improvements.

Before this commit channel brand URls would only be supported on the
videos page (now home page). It has been improved to be able to handle
all channel URLs.

The category_type and auxiliary_data property has also been removed from
the Category struct. The former was never used and the latter allows for
random data to be added to the Struct presenting documentation issues.

Since the auxiliary_data variable was mainly used to store values from
the browse_endpoint in order to create URLs, its much simpler to instead
just get the URL from the webCommandMetadata.

As a result of this change the browse_endpoint_data attribute of
Category has also been removed.
2021-06-24 08:52:48 -07:00
syeopite
aa8f15f795
Add description_html field to Category 2021-06-24 08:52:48 -07:00
syeopite
b906f7a3f8
Add total views and description to playlist 2021-06-24 08:52:48 -07:00
syeopite
d91eff14d7
Fix index err on chans w/o extern links 2021-06-24 08:52:48 -07:00
syeopite
fbe9a0c0f2
Add content sections to trending feed 2021-06-24 08:52:48 -07:00