Live data from Hacker News

Show HN: I made a YouTube search form with advanced filters

playlists.at

31–40 of 213 posts

Re: Show HN: I made a YouTube search form with advanced filters

#31
post #22

I still can’t believe they don’t let you search videos within a channel for example. Or filter out music playlist from video ones. Or search within transcripts. It’s peak irony a company owned by the search overlord.

I made a little TUI last month for searching within a channel! It supports before: / after:, fuzzy/exact/regex matching, lets you order by upload date/views/duration, lets you search over just a video's titles or descriptions, etc: https://github.com/nolenroyalty/yt-browse

The vast majority of my youtube watching is "go to a specific channel and try to find a certain kind of video" so it drives me nuts that youtube channel search is so bad (and afaik you can't search a channel on mobile?). I end up using my tool to find a bunch of videos and get them into my history to watch on my ipad.

n.b. my tool downloads all video metadata for a channel and then searches over it locally, so it's pretty slow the first time you search a channel (results are cached for 24 hours though).

Re: Show HN: I made a YouTube search form with advanced filters

#32
post #22

I still can’t believe they don’t let you search videos within a channel for example. Or filter out music playlist from video ones. Or search within transcripts. It’s peak irony a company owned by the search overlord.

It’s peak irony a company owned by the search overlord.

...whose search engine has itself become noticeably less of a search engine and more of a recommendation/sheeple-herding engine over time.

Re: Show HN: I made a YouTube search form with advanced filters

#33
post #24

Just asking: Is there an open source project that I can self-host that can organize my current subscriptions into separate groups/categories and make things easy to view/hide/digest? Many moons ago, I could hover and hide a video I didn't want to see in my feed with a single click. Best UX user feature evar... it was gone in a week or two I feel. I'm kinda ashamed to say I have multiple youtube accounts to keep my sa…

Yes any RSS reader works for this task.

There are two types of channel RSS feeds

https://www.youtube.com/feeds/videos.xml?channel_id=

And the older

https://www.youtube.com/feeds/videos.xml?user=

Youtube used to have an opml export button but there are a few github projects that convert the youtube subscription csv that dumps out of the account data export.

Edit: If you want to filter out shorts using the selfhosted application rssbridge allows you to do this.

Re: Show HN: I made a YouTube search form with advanced filters

#35
post #2

This is just adding the hidden filters such as before:[date]: Finds videos uploaded before a specific date. Example: space exploration before:2020-01-01 after:[date]: Finds videos uploaded after a specific date. Example: tech news after:2024-01-01 To an UI, right?

One of the problems with YouTube seach is that they also stop showing you what you searched for after a couple of videos, instead you get the same crap you find on the homepage, which is bewildering.

Can't remember where I got them, but there's some uBO rules that really help on that front:

  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Related to your search/i))
  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Related to your searches/i))
  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/From related searches/i))
  youtube.com##ytd-shelf-renderer:has-text(/People also watched/)
  youtube.com###contents > ytd-shelf-renderer:has-text(/For you/)
  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Watch again/i))
  youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope:has(span:has-text(/Searches related to/i))
  youtube.com##ytd-shelf-renderer.style-scope:has(span:has-text(/Learn while you\'re at home/i))
  youtube.com##ytd-horizontal-card-list-renderer.ytd-item-section-renderer.style-scope
  youtube.com###secondary > .ytd-two-column-search-results-renderer
  youtube.com###contents > .ytd-secondary-search-container-renderer.style-scope
  youtube.com##ytd-shelf-renderer:has-text(/Previously watched/)
Also got some other rules from https://news.ycombinator.com/item?id=44332976

This all shouldn't be necessary, but alas...

Re: Show HN: I made a YouTube search form with advanced filters

#36

If anyone has a good solution to YouTube destroying all value of the Subscriptions page I am open ears. Until recently my consumption of YT was basically to go to my subscriptions page and see what new content had been released since I last watched YT.

you can use lurkkit.com to build your own chronological youtube feed with only your subscriptions

Re: Show HN: I made a YouTube search form with advanced filters

#37
Yeah searching your history is so terrible too I ended up making a custom database that takes the also horrible Takeout output and parses it into a SQLite db. I end up relying on it when I remember some video I started watching weeks ago but can’t remember where it was anymore.

Re: Show HN: I made a YouTube search form with advanced filters

#39

Search is the reason I stopped watching youtube, I used to view and discover so many nice stuff in there, tutorials, new hobbies, new music, new creators with different interests, etc but now it's pretty much impossible to find, you are forced to watch the 3 top videos, some 3 ads and then it forces you to watch some other random unrelated crap, it's so annoying and frustrating It got so bad that even searching the f…

[deleted]
Post reply on HN