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

Can I get file extension of the specific format code? #17348

Closed
GourangaDas opened this issue Aug 26, 2018 · 2 comments
Closed

Can I get file extension of the specific format code? #17348

GourangaDas opened this issue Aug 26, 2018 · 2 comments
Labels

Comments

@GourangaDas
Copy link

@GourangaDas GourangaDas commented Aug 26, 2018

I have code like below:

youtube-dl.exe "https://xxxxxxx.xxxxx/xxxxx" -f 140 -g --get-title

With this code I can get the title along with the download address. But I need to know the video file extension of the format code (i.e. 140) like mp4 or 3gp or mkv.

How can I achieve this?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 26, 2018

--get-filename or parse --dump-json.

@dstftw dstftw closed this Aug 26, 2018
@dstftw dstftw added the duplicate label Aug 26, 2018
@GourangaDas
Copy link
Author

@GourangaDas GourangaDas commented Aug 26, 2018

Thank you

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.