This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[bilibili] Fix FutureWarning
totalwebcasting
Sergey M․
9 years ago
parent
eb8be1fe76
commit
f98470df69
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/extractor/bilibili.py
+ 1
- 1
youtube_dl/extractor/bilibili.py
View File
@ -105,7 +105,7 @@ class BiliBiliIE(InfoExtractor):
'
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
,
Write
Preview
Loading…
Cancel
Save