Closed niyazpk closed 11 years ago
This is because of the ampersand in the URL of the video, as well as some other special characters depending on the shell you're using. Your second URL was simpler, that's why it worked with it. To solve that, simply quote your URL:
% youtube-dl -cit "http://www.youtube.com/watch?feature=player_embedded&v=wB3R5Xk2gTY"
[youtube] Setting language
[youtube] wB3R5Xk2gTY: Downloading video webpage
[youtube] wB3R5Xk2gTY: Downloading video info webpage
[youtube] wB3R5Xk2gTY: Extracting video information
[download] Destination: Elon Musk lecture at the Royal Aeronautical Society-wB3R5Xk2gTY.flv
[download] 1.1% of 227.59M at 21.59k/s ETA --:--
On Linux, I'd say it's better to use single quotes but given the error message, I assume you're using Windows, which seems to not take into account single quotes. Double quotes should still do the trick, though.
Command:
Result:
This command is working though:
So I assume it has something to do with the URL params.