Kethsar / ytarchive

Garbage Youtube livestream downloader
MIT License
1.13k stars 91 forks source link

Add support for "new" /live/ URLs #141

Closed Nnoitorra closed 1 year ago

Nnoitorra commented 1 year ago

YouTube recently changed the URLs when sharing livestreams to be named https://www.youtube.com/live/(ID here). Would it be possible to add these URLs to the list of known URLs to grab from? It currently spits out an error that its not a valid youtube URL.

ytarchive 0.3.2
2023/05/13 16:23:03 ERROR: https://www.youtube.com/live/EO-N5lL8cMQ is not a known valid youtube URL
MB901 commented 1 year ago

Hi, it works with "https://www.youtube.com/watch?v=(ID here)" instead of "https://www.youtube.com/live/(ID here)" You can try this link : https://www.youtube.com/watch?v=EO-N5lL8cMQ

Nnoitorra commented 1 year ago

Thanks. I am fully aware that this works. But it would be very convenient to just feed the /live/ url like it is possible with yt-dlp instead of having to actually open the video to copy the /watch? url

Kethsar commented 1 year ago

The latest pre-release on the releases page already has this added.

Nnoitorra commented 1 year ago

Thanks a lot. Sorry I missed that