Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why youtube-dl can't parse the url properly ? #25214

Closed
slucks opened this issue May 9, 2020 · 1 comment
Closed

Why youtube-dl can't parse the url properly ? #25214

slucks opened this issue May 9, 2020 · 1 comment

Comments

@slucks
Copy link

@slucks slucks commented May 9, 2020

I find a strange fact that a video in youtube can't be downloaded with youtube-dl.

url="https://www.youtube.com/watch?v=VdjCcztoRmw"
youtube-dl $url

No error info during downloading with youtube-dl,when playing the downloaded video,and compare to play the video on the url with firefox,the content in your downloaded and on the webpage are totally different,in fact youtube-dl never download it at all,i think youtube-dl can't parse the url https://www.youtube.com/watch?v=VdjCcztoRmw properly, Why?

@slucks slucks added the question label May 9, 2020
@rautamiekka
Copy link

@rautamiekka rautamiekka commented May 9, 2020

Looks like you're on Linux. Whenever you're referencing a variable in Bash you should double-quote the ref cuz Bash might cut the URL and place the process in the background. Just quoting the string during var assignment doesn't do.

@dstftw dstftw closed this May 9, 2020
@dstftw dstftw added the incomplete label May 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.