diff options
author | Remita Amine <[email protected]> | 2021-03-08 16:53:50 +0100 |
---|---|---|
committer | Remita Amine <[email protected]> | 2021-03-08 16:53:50 +0100 |
commit | c6a14755bb9629967fb12536ee8660ca67ff4345 (patch) | |
tree | 724a802f1d6532ed1e7ec8789e792253a6d07f51 | |
parent | 7f064d50db957d551dccde73ab73318f53ab3b17 (diff) | |
download | youtube-dl-c6a14755bb9629967fb12536ee8660ca67ff4345.tar.gz youtube-dl-c6a14755bb9629967fb12536ee8660ca67ff4345.zip |
[bilibili] fix video info extraction(closes #28341)
-rw-r--r-- | youtube_dl/extractor/bilibili.py | 1 |
1 files changed, 1 insertions, 0 deletions
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()) |