Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] 自定义必应api地区 #2

Open
rhjdvsgsgks opened this issue Feb 13, 2021 · 1 comment
Open

[feature request] 自定义必应api地区 #2

rhjdvsgsgks opened this issue Feb 13, 2021 · 1 comment

Comments

@rhjdvsgsgks
Copy link

rt,为现有必应api增加 mkt 参数可以指定使用哪个地区的每日壁纸,例如

https://www.bing.com/HPImageArchive.aspx?format=js&n=1&mkt=en-ww

即可在中国ip下请求到国际的每日壁纸,具体表现为 urlbase 的值中不包含 ZH-CN

此时获得到的 urlbase 依然可以通过 cn.bing.com 访问,不过希望这也能加个开关来切换到使用 bing.com

@lt-123
Copy link
Owner

lt-123 commented Mar 10, 2021

rt,为现有必应api增加mkt参数可以指定使用该地区的每日壁纸,例如

https://www.bing.com/HPImageArchive.aspx?format=js&n=1&mkt=en-ww

即可在中国ip下请求到国际的每日壁纸,具体表现为urlbase的值中不包含ZH-CN

此时获得到的urlbase依然可以通过cn.bing.com访问,不过希望这也能加个开关来切换到使用bing.com

好的,建议已收到,最近工作较忙,等有时间了再弄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants