Unverified Commit 228cd9bb authored by Yen Chi Hsuan's avatar Yen Chi Hsuan
Browse files

[bilibili] Fix video downloading (closes #13001)

parent 566fbbae
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)
......
......@@ -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({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment