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

Video ID in output file name #13267

Closed
luboss opened this issue Jun 2, 2017 · 3 comments
Closed

Video ID in output file name #13267

luboss opened this issue Jun 2, 2017 · 3 comments

Comments

@luboss
Copy link
Contributor

@luboss luboss commented Jun 2, 2017

Hi there!

I'm working on 2 new extractors. My concern is name of the output file. It contains video ID which is 36 characters long. The file name looks pretty ugly in such case. I could provide an empty id but what's the point of mandatory ID then? :-) Dash/minus character couldn't be removed that way anyway.

Is there way to remove dash and video ID suffix from the name? Title I provide contains video release date (with leading zeros) so the uniqueness of the name shouldn't be an issue.

Thanks in advance!

@dstftw dstftw closed this Jun 2, 2017
@luboss
Copy link
Contributor Author

@luboss luboss commented Jun 2, 2017

Ok, but this is just for the end user, not for extractor developer to construct a default name. User has to explicitly think about the file name in advance.
If there is no other way out, OK. I just wanted to be 100% sure I cannot do anything about it.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 2, 2017

End user decided what will be the output name. As developer you should not touch it.

@ytdl-org ytdl-org locked and limited conversation to collaborators Jun 2, 2017
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
2 participants
You can’t perform that action at this time.