mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
Merge branch 'patch-2' of https://github.com/ljhcage/you-get into ljhcage-patch-2
This commit is contained in:
commit
a9b211b0a5
@ -141,6 +141,8 @@ class Bilibili(VideoExtractor):
|
||||
|
||||
def prepare(self, **kwargs):
|
||||
self.stream_qualities = {s['quality']: s for s in self.stream_types}
|
||||
self.streams.clear()
|
||||
self.dash_streams.clear()
|
||||
|
||||
try:
|
||||
html_content = get_content(self.url, headers=self.bilibili_headers(referer=self.url))
|
||||
|
Loading…
Reference in New Issue
Block a user