add:comments
This commit is contained in:
parent
29f9ec1d5d
commit
0727eb90ad
2
main.py
2
main.py
@ -53,8 +53,6 @@ class BiliWebCrawler:
|
|||||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
|
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
|
||||||
'Referer': f'https://www.bilibili.com/video/{self.bvid}',
|
'Referer': f'https://www.bilibili.com/video/{self.bvid}',
|
||||||
'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8',
|
'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8',
|
||||||
'Accept-Encoding': 'gzip, deflate, br'
|
|
||||||
''
|
|
||||||
}
|
}
|
||||||
if cookie:
|
if cookie:
|
||||||
self.headers['Cookie'] = cookie
|
self.headers['Cookie'] = cookie
|
||||||
|
Loading…
x
Reference in New Issue
Block a user