mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-19 11:34:04 +00:00
[bilibili] Fix video downloading (closes #13001)
This commit is contained in:
parent
566fbbaefd
commit
228cd9bb90
@ -1,6 +1,7 @@
|
|||||||
version <unreleased>
|
version <unreleased>
|
||||||
|
|
||||||
Extractors
|
Extractors
|
||||||
|
* [bilibili] Fix video downloading (#13001)
|
||||||
+ [vice] Support vice articles (#12968)
|
+ [vice] Support vice articles (#12968)
|
||||||
* [vice] Fix extraction for non en_us videos (#12967)
|
* [vice] Fix extraction for non en_us videos (#12967)
|
||||||
* [gdcvault] Fix extraction for some videos (#12733)
|
* [gdcvault] Fix extraction for some videos (#12733)
|
||||||
|
@ -122,6 +122,11 @@ class BiliBiliIE(InfoExtractor):
|
|||||||
'preference': -2 if 'hd.mp4' in backup_url else -3,
|
'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)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
entries.append({
|
entries.append({
|
||||||
|
Loading…
Reference in New Issue
Block a user