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...
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.
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.