From: Remita Amine Date: Mon, 8 Mar 2021 15:53:50 +0000 (+0100) Subject: [bilibili] fix video info extraction(closes #28341) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c6a14755bb9629967fb12536ee8660ca67ff4345;p=youtube-dl [bilibili] fix video info extraction(closes #28341) --- diff --git a/youtube_dl/extractor/bilibili.py b/youtube_dl/extractor/bilibili.py index 4dc597e16..589fdc1ce 100644 --- 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())