Skip to content

WZ-Fate/Bing-Auto-Search

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bing Auto Search

部署

本机 部署

# 获取脚本
git clone https://github.com/emtry/Bing-Auto-Search.git

cd Bing-Auto-Search

# 安装依赖
npm install axios https-proxy-agent --save

# 运行
BingAutoSearch_MicroSoft_COOKIE="填入获取的Cookie" \
  node Bing-Auto-Search.js

青龙 部署

  1. 依赖管理——新建依赖——nodejs
axios
https-proxy-agent
  1. 定时任务——新建任务
# 命令
ql raw https://raw.githubusercontent.com/emtry/Bing-Auto-Search/main/Bing-Auto-Search.js

# 定时规则
0 0 15 * * *
  1. 环境变量新建变量
# 名称
BingAutoSearch_MicroSoft_COOKIE

#
填入获取的Cookie
  1. 运行新建的任务获取脚本raw_main_Bing-Auto-Search.js,并设置每天下午5点自动执行脚本
# 定时规则
0 0 17 * * *

docker 部署

# 获取脚本
git clone https://github.com/emtry/Bing-Auto-Search.git

cd Bing-Auto-Search

# 构建镜像
docker build -t bing-auto-search:v2 .

# 创建容器
docker create --name=Bing-Auto-Search \
  -e BingAutoSearch_MicroSoft_COOKIE="填入获取的Cookie" \
  bing-auto-search:v2

# 运行
docker start -a Bing-Auto-Search

Tampermonkey 部署(暂停维护)

安装

work in https://rewards.bing.com/pointsbreakdown

配置说明

获取Cookie

推荐:浏览器隐身模式

先登录 http://www.bing.com

再在同一标签页打开 http://rewards.bing.com/

控制台里复制rewards.bing.comcookie

环境变量

环境变量 说明 默认值
BingAutoSearch_MicroSoft_COOKIE 获取的Cookie
BingAutoSearch_sleep_sec 每次搜索间隔秒数 5
BingAutoSearch_proxy http://127.0.0.1:9870
BingAutoSearch_edgeUserAgent Edge User-Agent
BingAutoSearch_mobileUserAgent 手机 User-Agent
BingAutoSearch_wordlists 搜索内容

About

Microsoft Rewards Bing Auto Search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.3%
  • Dockerfile 2.7%