Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
228cd9bb
Unverified
Commit
228cd9bb
authored
May 06, 2017
by
Yen Chi Hsuan
Browse files
[bilibili] Fix video downloading (closes #13001)
parent
566fbbae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
ChangeLog
ChangeLog
+1
-0
youtube_dl/extractor/bilibili.py
youtube_dl/extractor/bilibili.py
+5
-0
No files found.
ChangeLog
View file @
228cd9bb
version <unreleased>
Extractors
* [bilibili] Fix video downloading (#13001)
+ [vice] Support vice articles (#12968)
* [vice] Fix extraction for non en_us videos (#12967)
* [gdcvault] Fix extraction for some videos (#12733)
...
...
youtube_dl/extractor/bilibili.py
View file @
228cd9bb
...
...
@@ -122,6 +122,11 @@ class BiliBiliIE(InfoExtractor):
'preference'
:
-
2
if
'hd.mp4'
in
backup_url
else
-
3
,
})
for
a_format
in
formats
:
a_format
.
setdefault
(
'http_headers'
,
{}).
update
({
'Referer'
:
url
,
})
self
.
_sort_formats
(
formats
)
entries
.
append
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment