mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 08:26:36 +02:00
[bilibili] Fix FutureWarning
This commit is contained in:
parent
eb8be1fe76
commit
f98470df69
@ -105,7 +105,7 @@ def _real_extract(self, url):
|
|||||||
'filesize': int_or_none(
|
'filesize': int_or_none(
|
||||||
lq_durl.find('./size'), get_attr='text'),
|
lq_durl.find('./size'), get_attr='text'),
|
||||||
}]
|
}]
|
||||||
if hq_durl:
|
if hq_durl is not None:
|
||||||
formats.append({
|
formats.append({
|
||||||
'format_id': 'hq',
|
'format_id': 'hq',
|
||||||
'quality': 2,
|
'quality': 2,
|
||||||
|
Loading…
Reference in New Issue
Block a user