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

Filter videos based on duration #5205

Closed
revolter opened this issue Mar 14, 2015 · 2 comments
Closed

Filter videos based on duration #5205

revolter opened this issue Mar 14, 2015 · 2 comments

Comments

@revolter
Copy link
Contributor

@revolter revolter commented Mar 14, 2015

Is there any way to only download videos less than 10 seconds from a youtube playlist? I can only find --get-duration that's just a simulation, but can't apply it as a filter.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 14, 2015

Use --match-filter 'duration < 10'.

@jaimeMF jaimeMF closed this Mar 14, 2015
@revolter
Copy link
Contributor Author

@revolter revolter commented Mar 14, 2015

Shouldn't duration appear in the help for -o in the documentation? That would prevent unnecessary issues like this one.

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.