commit: c6a14755bb9629967fb12536ee8660ca67ff4345
parent 7f064d50db957d551dccde73ab73318f53ab3b17
Author: Remita Amine <remitamine@gmail.com>
Date: Mon, 8 Mar 2021 16:53:50 +0100
[bilibili] fix video info extraction(closes #28341)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/youtube_dl/extractor/bilibili.py b/youtube_dl/extractor/bilibili.py
@@ -156,6 +156,7 @@ class BiliBiliIE(InfoExtractor):
cid = js['result']['cid']
headers = {
+ 'Accept': 'application/json',
'Referer': url
}
headers.update(self.geo_verification_headers())