projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8be1f
)
[bilibili] Fix FutureWarning
author
Sergey M․
<dstftw@gmail.com>
Wed, 10 Jun 2015 17:01:12 +0000
(23:01 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 10 Jun 2015 17:01:12 +0000
(23:01 +0600)
youtube_dl/extractor/bilibili.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bilibili.py
b/youtube_dl/extractor/bilibili.py
index 2103ed73aad860738bba5108ee27a86fd921d29c..bf60450c2f3753aa64d5ae11069bec98b67f23dc 100644
(file)
--- 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,