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

could --no-munge-filenames be added? #656

Closed
Wizel603 opened this issue Jan 27, 2013 · 1 comment
Closed

could --no-munge-filenames be added? #656

Wizel603 opened this issue Jan 27, 2013 · 1 comment

Comments

@Wizel603
Copy link

@Wizel603 Wizel603 commented Jan 27, 2013

Sometimes the exact title is needed, but a recent change made some characters filtered. It would be useful to have a way to get the exact title when one knows what they are doing.

youtube-dl --no-munge-filenames --get-filename -o '%(title)s' xyxyxyxyxyx

@phihag
Copy link
Contributor

@phihag phihag commented Jan 27, 2013

Do you really ever want that? Because that would essentially give the video service and virtually any MITM attacker the right to overwrite any file as your user, including, say, a bashrc which downloads and executes code from the attacker every time you login.

If you want expert information, use --write-info-json to get all the metadata before it is being sanitized for filenames.

What you seem to want is simply

youtube-dl --get-title BaW_jenozKc

For now, I'm closing this issue - due to the mentioned security implications and the swath of alternatives (--get-* as well as the info dict file), I don't see any rationale why it should be implemented. Feel free to comment though. Can you describe a use case that can not be solved with a new (or even existing) --get-* option?

@phihag phihag closed this Jan 27, 2013
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.