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

解决 up 主个人主页 URL 变化及其他问题 Solve URL Changes and Other Error Issues on Up - master's Personal Homepage #3039

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
2 changes: 2 additions & 0 deletions src/you_get/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ def download(self, **kwargs):
key=lambda i: -self.dash_streams[i]['size'])
stream_id = itags[0]
else:
if not self.streams_sorted:
return
stream_id = self.streams_sorted[0]['id'] if 'id' in self.streams_sorted[0] else self.streams_sorted[0]['itag']

if 'index' not in kwargs:
Expand Down
Loading