bing icon indicating copy to clipboard operation
bing copied to clipboard

[通知]暂停对壁纸接口提供JSON数据支持

Open xCss opened this issue 8 years ago • 12 comments

很抱歉,目前bing壁纸正在筹划新版,新版上线前,仅提供图片数据返回,不提供详细JSON数据(包括分页数据)。

感谢关注。

// https://bing.ioliu.cn/v1/?type=json
{
    "data": {
        "enddate": "20170707",
        "url": "http://www.bing.com/az/hprichbg/rb/Umbrella_ZH-CN8238029705_1920x1080.jpg",
        "bmiddle_pic": "http://wx4.sinaimg.cn/bmiddle/006qRazely1fhazs9hhgqj30sg0g0h42.jpg",
        "original_pic": "http://wx4.sinaimg.cn/large/006qRazely1fhazs9hhgqj30sg0g0h42.jpg",
        "thumbnail_pic": "http://wx4.sinaimg.cn/thumbnail/006qRazely1fhazs9hhgqj30sg0g0h42.jpg"
    },
    "status": {
        "code": 200,
        "message": ""
    }
}

xCss avatar Jul 04 '17 10:07 xCss

好纠结,我刚刚想进来下几张图片。

Meekdai avatar Jul 04 '17 10:07 Meekdai

@Meekdai https://bing.ioliu.cn 数据不受影响。

xCss avatar Jul 04 '17 10:07 xCss

你确定?下载的图片都打不开的。

Meekdai avatar Jul 04 '17 11:07 Meekdai

@Meekdai 稍等,我这边看到问题了。正在查看

xCss avatar Jul 04 '17 11:07 xCss

是不是七牛里面设置了域名保护?

Meekdai avatar Jul 04 '17 11:07 Meekdai

@Meekdai 好了。 对了,你那个博客里的图片链接可以不需要?imageView2/2/w/1366/q/75/format/webp这截参数的。照常访问。 format参数我已经过滤了,所以加了也没什么效果

xCss avatar Jul 04 '17 11:07 xCss

OK,现在正常了~

Meekdai avatar Jul 04 '17 11:07 Meekdai

之前写了个脚本,自动重API取图片和说明作为壁纸。今天脚本报错了。我还以为是脚本坏了。。。

JackJCSN avatar Jul 07 '17 03:07 JackJCSN

感谢开发者,现在我正用的正爽呢,吓我一跳,我还以为要关闭了

lanjd avatar Aug 03 '17 08:08 lanjd

难怪脚本最近不生效了,替换接口完美运行,如果能返回图片简介就好了

xujk2008 avatar Jan 24 '19 09:01 xujk2008

(index):1 Access to fetch at 'https://bing.ioliu.cn/v1/?type=json' from origin 'http://localhost:4000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

怎麽解決

jerryc127 avatar Oct 02 '19 15:10 jerryc127

各位能不能把脚本拿过来参考下,我想搞个脚本来把每天的壁纸作为网页背景搞了好久都不行

wumusenlin avatar Oct 09 '19 03:10 wumusenlin