News for hackers. Stuff that matters.
Re:Tell HN: YouTube's web UI just got even worse by jasode on Friday October 28, 2022 @12:24PM (#33373579)
Fyi... the url params in that source code no longer work:

  const urls = {
    popular: `?view=0&sort=p&flow=grid`,
    oldest: `?view=0&sort=da&flow=grid`,
    newest: `?view=0&sort=dd&flow=grid`,
  }
-- from https://github.com/sw-yx/youtube-browser-extension/blob/e76f...
Re:Tell HN: YouTube's web UI just got even worse by ffwd on Friday October 28, 2022 @01:39PM (#33374625)
I slapped together a really quick script to get oldest videos via Youtube API. It goes through all the videos from a playlist ID and then writes them to a html file with oldest first. Looks like this: https://i.imgur.com/ZxCgnBY.png Not perfect but works ok

https://github.com/n0x5/scripts/blob/master/youtube_api_uplo...

Need an API key and also the Uploads playlist ID from the channel which can use this script to get: https://github.com/n0x5/scripts/blob/master/youtube_get_uplo...

It's a little convoluted I might implement get uploads id right into the script but the issue is it doesn't always return the correct channel when searching by name, in which case one has to manually go through the results and find the right channel id which would take longer to code to actually work all the time.

Re:Tell HN: YouTube's web UI just got even worse by swyx on Saturday October 29, 2022 @06:48PM (#33388749)
suggest sticking that into a replit so that people can easily run/fork on the web :)
Re:Tell HN: YouTube's web UI just got even worse by swyx on Saturday October 29, 2022 @06:27PM (#33388585)
just fyi i got very upset and retried again and... it works on https://www.youtube.com/c/JessicaSanchezOfficial/videos. they made youtube slower (fuck google) but those queryparams still work.

the thing on the veritasium looks to be a new layout. trying to see if i can modify for it.