aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-06-10 23:01:12 +0600
committerSergey M․ <dstftw@gmail.com>2015-06-10 23:01:12 +0600
commitf98470df690d053e45691ede2751ab6a4063082b (patch)
tree55e9443f717dc02b9f06f0a3916c3f5918981d31 /youtube_dl
parenteb8be1fe76a9fbc285e6c957b3fdd5c05135ae3f (diff)
[bilibili] Fix FutureWarning
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/bilibili.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/bilibili.py b/youtube_dl/extractor/bilibili.py
index 2103ed73a..bf60450c2 100644
--- a/youtube_dl/extractor/bilibili.py
+++ b/youtube_dl/extractor/bilibili.py
@@ -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,