Open benmcgarry opened 8 years ago
It seems that the id in this URL is different from the actual video id, so we would need to get the video id somehow.
Looks like the API documentation around the new structure for shared videos is pretty sparse. What youtube-dl does right now, is to download the entire webpage then parse the html metadata for the videoId. Not sure if that's the method RES wants to go with, or wait until maybe a better way is revealed by the API.
Yeah that's a little more hacky than I'd like to go with (and we'd probably need to request permissions, since I doubt the main page sends CORS headers), so I think we should wait until there's a better way.
https://www.youtube.com/shared?ci=bRVS5LR1Gi4
Appears there's a new URL structure for sharing videos under some circumstances...