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 Size, Video Thumb, Video Title #7869

Closed
barisyesilcimen opened this issue Dec 14, 2015 · 2 comments
Closed

Video Size, Video Thumb, Video Title #7869

barisyesilcimen opened this issue Dec 14, 2015 · 2 comments

Comments

@barisyesilcimen
Copy link

@barisyesilcimen barisyesilcimen commented Dec 14, 2015

How can i get via php, the video size, video title, video thumb?

example: echo exec('youtube-dl videourl .......'); must echo video information (title or thumb or size) in PHP.
youtube-dl can do this? or i must use curl or api?

@barisyesilcimen
Copy link
Author

@barisyesilcimen barisyesilcimen commented Dec 14, 2015

i found a solution for title and thumbnail. But i can not found the video size.

youtube-dl -4 http://www.dailymotion.com/video/x3i3e96_star-trek-beyond-trailer-2016-paramount-pictures_shortfilms --get-thumbnail --get-title

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 14, 2015

You can get the json output with --dump-json, see all the info it contains.

@jaimeMF jaimeMF closed this Dec 14, 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.