mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-20 18:36:06 +08:00
[bilibili] Fix extraction for videos without backup_url (#10647)
This commit is contained in:
parent
4875ff6847
commit
86d68f906e
@ -1,6 +1,7 @@
|
|||||||
version <unreleased>
|
version <unreleased>
|
||||||
|
|
||||||
Extractors
|
Extractors
|
||||||
|
* [bilibili] Fix extraction for specific videos (#10647)
|
||||||
+ [nbc] Add support for NBC Olympics (#10361)
|
+ [nbc] Add support for NBC Olympics (#10361)
|
||||||
|
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ class BiliBiliIE(InfoExtractor):
|
|||||||
'url': durl['url'],
|
'url': durl['url'],
|
||||||
'filesize': int_or_none(durl['size']),
|
'filesize': int_or_none(durl['size']),
|
||||||
}]
|
}]
|
||||||
for backup_url in durl['backup_url']:
|
for backup_url in durl.get('backup_url', []):
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': backup_url,
|
'url': backup_url,
|
||||||
# backup URLs have lower priorities
|
# backup URLs have lower priorities
|
||||||
|
Loading…
Reference in New Issue
Block a user