From 0f5a738cb89b28d6bd8d878e24aeac05b1853c5a Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Sat, 20 Mar 2021 20:25:07 +0100 Subject: [PATCH] [bilibili] fix video info extraction(closes #28341) --- haruhi_dl/extractor/bilibili.py | 1 + 1 file changed, 1 insertion(+) diff --git a/haruhi_dl/extractor/bilibili.py b/haruhi_dl/extractor/bilibili.py index 341f9c9ce..ea78ed8f7 100644 --- a/haruhi_dl/extractor/bilibili.py +++ b/haruhi_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())