豆瓣电影缓存API接口
豆瓣官方接口已经很久不再提供给个人使用,使用原来的Key调用API也返回104错误,于是重写了缓存接口,主要根据电影ID返回影的相关内容。
接口文档
https://api.cn.berryapi.net/docs.html?s=Douban/Subject&detail=1
返回示例
{
"ret": 200,
"data": {
"data": {
"cover": "https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2553320254.jpg",
"pid": "007Tv3Vmly1g78imabqhjj307i0a0t8t",
"director": [
{
"id": "1031876",
"name": "吕克·贝松"
}
],
"scenarist": [
{
"id": "1031876",
"name": "吕克·贝松"
}
],
"actor": [
{
"id": "1382297",
"name": "萨莎·露丝"
},
{
"id": "1054390",
"name": "海伦·米伦"
},
{
"id": "1276136",
"name": "卢克·伊万斯"
},
{
"id": "1047992",
"name": "基里安·墨菲"
},
{
"id": "1418363",
"name": "莱拉·阿波瓦"
},
{
"id": "1370381",
"name": "亚历山大·佩特罗夫"
},
{
"id": "1422954",
"name": "尼基塔·帕夫连科"
},
{
"id": "1422955",
"name": "安娜·克里帕"
},
{
"id": "1422956",
"name": "阿列克谢·马斯洛杜多夫"
},
{
"id": "1009215",
"name": "艾力克·高敦"
},
{
"id": "1387919",
"name": "伊凡·弗拉内克"
},
{
"id": "1422953",
"name": "让·巴蒂斯特·普奇"
},
{
"id": "1378475",
"name": "阿德里安·坎恩"
},
{
"id": "1422957",
"name": "艾莉森·惠勒"
},
{
"id": "1286986",
"name": "安德鲁·霍华德"
},
{
"id": "1339838",
"name": "詹·奥利弗·施罗德"
},
{
"id": "1361491",
"name": "谢尔盖·巴切乌尔斯基"
},
{
"id": "1323451",
"name": "耶斯·利奥丹"
},
{
"id": "1257486",
"name": "詹姆斯·乔因特"
},
{
"id": "1412921",
"name": "雷吉尔·库迪乌"
},
{
"id": "1381552",
"name": "扎克·安德里亚纳索洛"
},
{
"id": "1384004",
"name": "保利妮·霍劳"
},
{
"id": "1051336",
"name": "尼可洛·森尼"
},
{
"id": "1361497",
"name": "伊戈尔·萨沃金"
},
{
"id": "1042811",
"name": "特拉维斯·克舍琴"
},
{
"id": "1393293",
"name": "埃文特·斯特朗"
},
{
"id": "1339842",
"name": "克里斯多夫·泰克"
},
{
"id": "1406479",
"name": "鲁伯特·韦恩-詹姆斯"
},
{
"id": "1068041",
"name": "大卫·科伯恩"
}
],
"types": [
"动作",
"惊悚"
],
"area": " 法国 / 美国",
"language": " 英语 / 俄语 / 法语",
"releaseDate": "2019-06-21(美国)",
"duration": "119",
"espoid": null,
"alias": " ANИA",
"title": "安娜 Anna (2019)",
"description": "故事聚焦神秘女杀手安娜的成长及执行各种暗杀任务的经历,在美丽的外表下,安娜拥有聪明绝顶的头脑和强大的战斗技巧,是世界上最恐怖的刺客之一,她游走于黑白两道,只要被锁定的目标,从不失手。",
"rating": "7.6",
"rating_count": "24376",
"rating_consist": [
"18.9%",
"46.9%",
"30.4%",
"3.3%",
"0.5%"
],
"watched_count": "26829",
"wish_count": "24372",
"rating_consist_val": [
{
"url": "/typerank?type_name=动作&type=5&interval_id=85:75&action=",
"name": "81% 动作片"
},
{
"url": "/typerank?type_name=惊悚&type=19&interval_id=85:75&action=",
"name": "82% 惊悚片"
}
],
"did": 27166976,
"time": 1569151419
}
},
"msg": ""
}
转载原创文章请注明,转载自: LYLARES BLOG » 豆瓣电影缓存API