mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-24 16:51:36 +00:00
[bilibili] Fix FutureWarning
This commit is contained in:
parent
eb8be1fe76
commit
f98470df69
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class BiliBiliIE(InfoExtractor):
|
|||
'filesize': int_or_none(
|
||||
lq_durl.find('./size'), get_attr='text'),
|
||||
}]
|
||||
if hq_durl:
|
||||
if hq_durl is not None:
|
||||
formats.append({
|
||||
'format_id': 'hq',
|
||||
'quality': 2,
|
||||
|
|
Loading…
Reference in a new issue