-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
[extractor/twitch] Storyboards for Twitch VODs #4342
Conversation
yt_dlp/extractor/twitch.py
Outdated
# sort from highest quality to lowest | ||
spec.sort(key=lambda x: int_or_none(x.get('width')) or 0, reverse=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to sort. Core code should handle it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then sb1 will(might) be lower quality than sb0. I'd rather it be consistent with youtube (sb0 - highest quality, sb1 - lower, etc)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense. Could u explain that in the comment coz the intention is not obvious
Co-authored-by: pukkandan <[email protected]>
Co-authored-by: pukkandan <[email protected]>
Template
Before submitting a pull request make sure you have:
In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:
What is the purpose of your pull request?
Description of your pull request and other information
Added storyboard formats to twitch VoDs, similar to youtube storyboards.
Extractor does 1 more JSON request.
Also fixed a few tests.