Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

you can add it back in since it just takes a url param. (until they break this too of course)

https://github.com/sw-yx/youtube-browser-extension




Fyi... the url params in that source code[1] 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`,
  }
Which means the following url modification with "&sort=da" will not work in an attempt to list the oldest videos first: https://www.youtube.com/c/veritasium/videos?view=0&sort=da&f...

[1] from https://github.com/sw-yx/youtube-browser-extension/blob/e76f...


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.


suggest sticking that into a replit so that people can easily run/fork on the web :)


just fyi i got very upset and retried again and... it works on https://www.youtube.com/c/JessicaSanchezOfficial/videos. they made youtube slower to load (which broke my extension.. i fixed it) 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.

update: looks like a very opaque api request so i cant figure it out in the time i have for this. extremely sad.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: