add:comments

This commit is contained in:
Sheyiyuan 2025-03-24 10:16:13 +08:00
parent 29f9ec1d5d
commit 0727eb90ad

View File

@ -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',
'Referer': f'https://www.bilibili.com/video/{self.bvid}',
'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8',
'Accept-Encoding': 'gzip, deflate, br'
''
}
if cookie:
self.headers['Cookie'] = cookie