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

What does these ERROR and WARNING messages mean? #4127

Closed
zoutiyx opened this issue Nov 7, 2014 · 2 comments
Closed

What does these ERROR and WARNING messages mean? #4127

zoutiyx opened this issue Nov 7, 2014 · 2 comments

Comments

@zoutiyx
Copy link

@zoutiyx zoutiyx commented Nov 7, 2014

I've been using this format which has worked quite nicely for a long time:

youtube-dl -ix --playlist-start 1 --playlist-end 2 --write-thumbnail --audio-format mp3 https://www.youtube.com/user/DiscoverTheVibes/video \ -o '/home/ubuntu-gnome/Music/%(ext)s'

Unfortunately, I can't download to directories again. This is the error I receive:

ERROR: u'-o' is not a valid URL. Set --default-search "ytsearch" (or run youtube-dl "ytsearch:-o" ) to search YouTube
WARNING: The url doesn't specify the protocol, trying with http
[generic] %(ext)s: Requesting header
WARNING: Could not send HEAD request to http:///home/ubuntu-gnome/Music/%(ext)s:
WARNING: Falling back on generic information extractor.
[generic] %(ext)s: Downloading webpage
ERROR: Unable to download webpage:
ubuntu-gnome@ubuntu-gnome:~$

@phihag
Copy link
Contributor

@phihag phihag commented Nov 7, 2014

The backslash (\) before the space makes the 11th part of your command line the string consisting of the characters -o (note the preceeding space). youtube-dl tries to interpret this strange string argument and can't do anything with it. Simply remove the backslash to get what you presumably want, i.e. -o.

You can pass in the -v option to detect this kind of errors.

@phihag phihag closed this Nov 7, 2014
@zoutiyx
Copy link
Author

@zoutiyx zoutiyx commented Nov 7, 2014

Thanks. Worked.

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
2 participants
You can’t perform that action at this time.