-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
REQ: Flag to get duration of video without downloading #859
Comments
You can get the JSON without downloading the video with |
Yes, a --get-duration flag would be helpful. I currently use the JSON flag without downloading the video like you suggested, but for repeatedly finding videos of a certain length this method can be time consuming. |
ref: #826 |
Any updates to this? This is something which will be very helpful. |
In youtube-dl 2013.12.16 and newer, you can use the
It is meant for interactive use. In an automated process, you should use
|
The ability to quickly get the duration of the requested video without downloading would be a very helpful feature. Currently, the only way (to my knowledge) to get the video duration is to download a JSON file for the video and parse out the 'duration' entry.
The text was updated successfully, but these errors were encountered: