1 Star 0 Fork 135

POIUYT/NewBingGoGo

forked from 简简aw/NewBingGoGo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rules.json 6.13 KB
一键复制 编辑 原始数据 按行查看 历史
简简aw 提交于 2023-05-29 16:58 . 解决报错的问题
[
{
"id": 1,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "Host",
"operation": "set",
"value": "sydney.bing.com"
},
{
"header": "Origin",
"operation": "set",
"value": "https://www.bing.com"
},
{
"header": "User-Agent",
"operation": "set",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
}
]
},
"condition": {
"regexFilter": "^wss?://sydney.bing.com/sydney/ChatHub",
"resourceTypes": [
"websocket"
]
}
},
{
"id": 3,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://www.bing.com/search?q=Bing+AI"
},
{
"header": "User-Agent",
"operation": "set",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
}
]
},
"condition": {
"regexFilter": "^https?://www.bing.com/turing/conversation/create(.*)",
"resourceTypes": [
"xmlhttprequest"
]
}
},
{
"id": 4,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://edgeservices.bing.com/edgesvc/chat?udsframed=1&form=SHORUN&clientscopes=chat,noheader,channelstable,&shellsig=709707142d65bbf48ac1671757ee0fd1996e2943&setlang=zh-CN&lightschemeovr=1"
},
{
"header": "User-Agent",
"operation": "set",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
}
]
},
"condition": {
"regexFilter": "^https?://edgeservices.bing.com/edgesvc/turing/captcha/create(.*)",
"resourceTypes": [
"xmlhttprequest"
]
}
},
{
"id": 5,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://edgeservices.bing.com/edgesvc/chat?udsframed=1&form=SHORUN&clientscopes=chat,noheader,channelstable,&shellsig=709707142d65bbf48ac1671757ee0fd1996e2943&setlang=zh-CN&lightschemeovr=1"
},
{
"header": "User-Agent",
"operation": "set",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
}
]
},
"condition": {
"regexFilter": "^https?://edgeservices.bing.com/edgesvc/turing/captcha/verify(.*)",
"resourceTypes": [
"xmlhttprequest"
]
}
},
{
"id": 6,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://www.bing.com/search?q=bingAI"
},
{
"header": "User-Agent",
"operation": "set",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
}
]
},
"condition": {
"regexFilter": "^https?://www.bing.com/images/create?(.*)",
"resourceTypes": [
"xmlhttprequest"
]
}
},
{
"id": 7,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://www.bing.com/images/create?partner=sydney&showselective=1&sude=1&kseed=7000"
},
{
"header": "User-Agent",
"operation": "set",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
}
]
},
"condition": {
"regexFilter": "^https?://www.bing.com/images/create/async/results(.*)",
"resourceTypes": [
"xmlhttprequest"
]
}
},
{
"id": 8,
"priority": 1,
"action": {
"type": "modifyHeaders",
"requestHeaders": [
{
"header": "referer",
"operation": "set",
"value": "https://www.bing.com/search?q=bingAI"
},
{
"header": "User-Agent",
"operation": "set",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.57"
}
]
},
"condition": {
"regexFilter": "^https?://www.bing.com/rp(.*)",
"resourceTypes": [
"xmlhttprequest"
]
}
}
]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rezeroo/NewBingGoGo.git
git@gitee.com:rezeroo/NewBingGoGo.git
rezeroo
NewBingGoGo
NewBingGoGo
master

搜索帮助