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

-g, I do not know which format the url is for #5052

Closed
Mitchell-Findley opened this issue Feb 24, 2015 · 1 comment
Closed

-g, I do not know which format the url is for #5052

Mitchell-Findley opened this issue Feb 24, 2015 · 1 comment

Comments

@Mitchell-Findley
Copy link

@Mitchell-Findley Mitchell-Findley commented Feb 24, 2015

When I use the -g to get the temp link to a source file. I need the format as well. If you could add an option that outputs the format that that the link is, especially after specifying a preference format list. So I know which format it grabs else it is very hard for me to use the URL.

@Mitchell-Findley Mitchell-Findley changed the title not technically an issue -g, I do not know which format the url is for Feb 24, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Feb 24, 2015

It sounds like you are calling youtube-dl from another program. If that's the case, use the -j option to get information about the video as JSON, which you can easily parse in any programming language.

@phihag phihag closed this Feb 24, 2015
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.