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

Hi and thank you for this project #16342

Closed
CATASTR0PHE420 opened this issue May 1, 2018 · 5 comments
Closed

Hi and thank you for this project #16342

CATASTR0PHE420 opened this issue May 1, 2018 · 5 comments
Labels

Comments

@CATASTR0PHE420
Copy link

@CATASTR0PHE420 CATASTR0PHE420 commented May 1, 2018

Hi, i'm new to youtube-dl and I only have 1 question, whenever I download a youtube file it has some sort of code of the video link, I.E. Alesana - apology, the file has "DaXHrA1TVlg" in it's name, is it possible to remove it via commands in youtube-dl? Thanks

@parth-verma
Copy link

@parth-verma parth-verma commented May 1, 2018

Hey, the code that you see is the id for that particular video according to youtube. To format the output filename you can use the -o --output option with the associated format given (see here for more details and examples).

For your particular video and requirement the command will be:
youtube-dl --output '%(title)s.%(ext)s' https://www.youtube.com/watch?v=DaXHrA1TVlg

@dstftw dstftw added the question label May 1, 2018
@dstftw dstftw closed this May 1, 2018
@CATASTR0PHE420
Copy link
Author

@CATASTR0PHE420 CATASTR0PHE420 commented May 2, 2018

Hey party98, I meant removing the DaXHrA1TVlg so if I download Alesana-Apology, it wouldn't include "DaXHrA1TVlg" (Alesana-Apology-DaXHrA1TVlg)

@CATASTR0PHE420
Copy link
Author

@CATASTR0PHE420 CATASTR0PHE420 commented May 2, 2018

Thanks for answering btw

@parth-verma
Copy link

@parth-verma parth-verma commented May 2, 2018

The above mentioned command will do exactly this.
image

@CATASTR0PHE420
Copy link
Author

@CATASTR0PHE420 CATASTR0PHE420 commented Jun 8, 2018

@party98 thank you btw, I've forgot to say that.

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
3 participants
You can’t perform that action at this time.