fix: Fixed ResponseCodeException -352 in dynamic push
This commit is contained in:
@@ -73,7 +73,7 @@ async def request(method: str,
|
|||||||
# 使用 Referer 和 UA 请求头以绕过反爬虫机制
|
# 使用 Referer 和 UA 请求头以绕过反爬虫机制
|
||||||
default_headers = {
|
default_headers = {
|
||||||
"Referer": "https://www.bilibili.com",
|
"Referer": "https://www.bilibili.com",
|
||||||
"User-Agent": "Mozilla/5.0"
|
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36 Core/1.94.218.400 QQBrowser/12.1.5496.400"
|
||||||
}
|
}
|
||||||
headers = default_headers
|
headers = default_headers
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user