-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
Select custom quality without user intervention #11
Comments
Hey @IcyMint , From what you said, I understood the following:
Is that all you want, or I missed a thing? |
The second feature would be optimal but if it proves to be too involved the first one would be great. Either one would go a long way to solving the problem. |
Ok. |
Hey @IcyMint , sorry for adding this feature too late.
To do this:
from redvid import Downloader
reddit = Downloader()
reddit.url = 'https://www.reddit.com/r/Unexpected/comments/9n8mmz/_/'
# redvid will find the quality with the size
# that does not exceed max_s (3 MB)
reddit.max_s = 3 * (1 << 20)
# Enable the "auto match" feature
reddit.auto_max = True
reddit.download() If this solves your problem, kindly close this issue :) |
Just tried it out and it works exactly as expected. Thanks a ton! 🥇 |
I'm in a situation where I would like to select the highest quality while being under the defined size limit. I can set quality to be highest or lowest but I can't find a way to retrieve the list of qualities from UserSelect or select a custom quality.
TL;DR: I was wondering if there was a way to select the highest quality under a given size limit, or at least be able to select a quality without needing user intervention.
The text was updated successfully, but these errors were encountered: