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

[req] when downloading a playlist, put videos in ./{playlist-name} directory #6641

Closed
chovy opened this issue Aug 23, 2015 · 6 comments
Closed

[req] when downloading a playlist, put videos in ./{playlist-name} directory #6641

chovy opened this issue Aug 23, 2015 · 6 comments

Comments

@chovy
Copy link

@chovy chovy commented Aug 23, 2015

[req] when downloading a playlist, put videos in ./{playlist-name} directory

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 23, 2015

@dstftw dstftw closed this Aug 23, 2015
@chovy
Copy link
Author

@chovy chovy commented Aug 23, 2015

Does this work with directories?

youtube-dl $1 -o "%(playlist)/%(autonumber)s-%(title)s.%(ext)s"

I get ERROR: Error in output template: unsupported format character '/' (0x2f) at index 11 (encoding: 'UTF-8')

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 23, 2015

Yes. You forgot s after %(playlist).

@chovy
Copy link
Author

@chovy chovy commented Aug 23, 2015

awesome. thanks! Is there anyway to download a README.md file or metadata about a video and/or playlist?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 23, 2015

README.md of what? Playlist metadata is optional and may contain id, title and description. For playlist it can be saved as JSON with --dump-single-json --flat-playlist. For single video --dump-json or --write-json. Or with --dump-single-json for both playlist and all contained videos.

@chovy
Copy link
Author

@chovy chovy commented Aug 23, 2015

that 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.