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

Preserve slashes in video title #16482

Closed
jxu opened this issue May 17, 2018 · 3 comments
Closed

Preserve slashes in video title #16482

jxu opened this issue May 17, 2018 · 3 comments

Comments

@jxu
Copy link
Contributor

@jxu jxu commented May 17, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.05.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.05.18

Using 2018.01.14 but I don't think this is version specific.

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

If a video is titled "5/12", then using %(title)s produces "5_12". Is there any way to preserve special characters in the filename? I would be okay with something like "5%2F12".

Alternatively if there's a fast way to download only video names from a playlist (-e or -j seems do to one video at a time) I will accept that as well.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 17, 2018

Not possible. / can't be used in filenames. --get-title.

@dstftw dstftw closed this May 17, 2018
@jxu
Copy link
Contributor Author

@jxu jxu commented May 17, 2018

--get-title does one video at a time for playlists, like -e or -j. Can all the names of playlist videos be downloaded at once? In fact when using --download-archive the names are all printed, albeit with extra text.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 17, 2018

--download-archive has nothing to do with titles. --flat-playlist may extract titles for some extractors.

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.