Closed qkum closed 2 years ago
or you could request the downloader to parse the id from a link. https://stackoverflow.com/questions/4356538/how-can-i-extract-video-id-from-youtubes-link-in-python/54383711#54383711
The newest version as a --url
option. You may has to put the URL between quotes for certain URLs.
Beginner tip
Target URL if you copy video address:
https://www.youtube.com/watch?v=ienmgdpgqSc
Same Video but from the browser:
https://www.youtube.com/watch?v=ienmgdpgqSc&ab_channel=ChinainFocus-NTD
The Youtube ID is this part:
ienmgdpgqSc
Aka. remove these parts: (the 2d one is another "trick" they sometimes throw into the URL)
&ab_
andgb_