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

Issue when using the output option #11453

Closed
JunkyardCat opened this issue Dec 16, 2016 · 2 comments
Closed

Issue when using the output option #11453

JunkyardCat opened this issue Dec 16, 2016 · 2 comments

Comments

@JunkyardCat
Copy link

@JunkyardCat JunkyardCat commented Dec 16, 2016

Im using windows 7 and encounters an issue when using the output option

here is my code:
youtube-dl --download-archive archive.log --add-metadata -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio --merge-output-format mkv --all-subs --embed-subs -i --embed-thumbnail --output "%(uploader)s\%(title)s.%(ext)s" "http://www.youtube.com/watch?v=P9pzm5b6FFY"
pause

here is the error message i get
F:\Videos\Youtube-DL\Tools>youtube-dl --download-archive archive.log --add-metad
ata -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio --merge-output-
format mkv --all-subs --embed-subs -i --embed-thumbnail --output "(title)s.//www
.youtube.com/watch?v=P9pzm5b6FFY"
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

F:\Videos\Youtube-DL\Tools>pause
Press any key to continue . . .

i tried removing all other option but issue still persists

youtube-dl --output "%(uploader)s\%(title)s.%(ext)s" "http://www.youtube.com/watch?v=P9pzm5b6FFY"

pause

here is the error message

F:\Videos\Youtube-DL\Tools>youtube-dl --output "(title)s.//www.youtube.com/watch
?v=P9pzm5b6FFY"
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

F:\Videos\Youtube-DL\Tools>pause
Press any key to continue . . .

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 16, 2016

F:\Videos\Youtube-DL\Tools>youtube-dl --download-archive archive.log --add-metad
ata -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio --merge-output-
format mkv --all-subs --embed-subs -i --embed-thumbnail --output "(title)s.//www
.youtube.com/watch?v=P9pzm5b6FFY"
Usage: youtube-dl [OPTIONS] URL [URL...]

You didn't provide any URL due to invalid output template.

If you'are using it in batch script read this.

@dstftw dstftw closed this Dec 16, 2016
@JunkyardCat
Copy link
Author

@JunkyardCat JunkyardCat commented Dec 16, 2016

Thanks that worked man

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.