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

Remove youtube id from the file name #4331

Closed
cojack opened this issue Nov 28, 2014 · 5 comments
Closed

Remove youtube id from the file name #4331

cojack opened this issue Nov 28, 2014 · 5 comments

Comments

@cojack
Copy link

@cojack cojack commented Nov 28, 2014

Hello,
there is a simple script how to remove the youtube-id in the downloaded files (converted to *.mp3) from the file name:

<removed, usage discouraged, use #4331 (comment) instead>

@phihag
Copy link
Contributor

@phihag phihag commented Nov 28, 2014

Why add the video ID in the first place? If you don't want it, simply pass in -o '%(title)s.%(ext)s'. If you always want that, simply add it to your configuration file, for example ~/.config/youtube-dl/config.

@phihag phihag closed this Nov 28, 2014
@LissieTilbrook
Copy link

@LissieTilbrook LissieTilbrook commented Mar 26, 2018

Just PLEASE remove the video ID when downloading. It's not necessary. People here have been complaining on this issue tracker about it... people want things to work and people want clean file names. Not mess around with configurations that they'll be afraid to break. I mean, come on, it's not that difficult...

@Hrxn
Copy link

@Hrxn Hrxn commented Mar 26, 2018

You already can download without any video ID..

Just use this:
--output '%(title)s.%(ext)s'

Edit: As has been pointed out by the comment before, literally.

@rautamiekka
Copy link

@rautamiekka rautamiekka commented Mar 26, 2018

On the contrary it's mandatory since there are vids with identical name.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 26, 2018

Video id is added on purpose: it provides filename uniqueness. Removing it will break downloading videos with the same titles. If you want to break it - go and setup config file.

@ytdl-org ytdl-org locked and limited conversation to collaborators Mar 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.