projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f064d5
)
[bilibili] fix video info extraction(closes #28341)
author
Remita Amine
<remitamine@gmail.com>
Mon, 8 Mar 2021 15:53:50 +0000
(16:53 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 8 Mar 2021 15:53:50 +0000
(16:53 +0100)
youtube_dl/extractor/bilibili.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bilibili.py
b/youtube_dl/extractor/bilibili.py
index 4dc597e160bcea4f0821719dc82e2908f20d1972..589fdc1ce5a8de04ecb54ad44f76518e5e44d510 100644
(file)
--- 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())