{ "reason": "查询成功", "result": { "title": "妖猫传", "tag": "剧情 \/ 悬疑 \/ 奇幻", "act": "黄轩 染谷将太 张雨绮 秦昊 张榕容 刘昊然 欧豪 张鲁一 阿部宽 田雨 刘佩琦 辛柏青 成泰燊 李淳 秦怡 松坂庆子 张天爱 火野正平 姚晨 张也", "year": "2017", "rating": null, "area": "大陆 \/ 日本", "dir": "陈凯歌", "desc": "故事发生在盛唐时期的长安城,白乐天(黄轩 饰)本是朝廷要官,却为了收集写诗的素材而甘愿被贬为起居郎。长安城内连连发生离奇的死亡事件,就连当今圣上也难逃厄运离奇身亡,这一切都和一只神出鬼没的妖猫有关。日本僧人空海(染谷将太 饰)本为了替皇帝解咒远渡重洋而来,却和白乐天意气相投,两人决心携手调查案件真相。\n一首如怨如诉的《清平调》表明,妖猫作祟和三十年前倾国倾城的杨贵妃(张榕容 饰)之死有着千丝万缕的关联,追寻着曾经迷恋杨贵妃的阿部仲麻吕(阿部宽 饰)所留下的日记,白乐天和空海一同见证了大唐曾经的荣光,亦揭开了当年隐瞒至今的阴谋。", "cover": "http:\/\/p0.qhimg.com\/t012eaa84f05e76a60a.jpg", "vdo_status": "play", "playlinks": { "imgo": "https:\/\/www.so.com\/link?m=bxdO%2Be40TdvHrGdZ04LI8zQCSgfA%2Br3XElvsDhkoPFZ9bqreLVdu4Hj%2F8Gpyv%2Ff7nJQAhhJ1N0xTnz7Nv7OvuVbVxP7RTt2aSTX2mPnzLWo6izXi%2Fh2TgkhUheVGRI1vNqY6VLGw9w4GuNE92Be%2FP6A%3D%3D", "qiyi": "https:\/\/www.so.com\/link?m=bM%2BZWbU2v0jhODQZRU7BPwW933ejAgO83dtx2XSdyGHf%2BO%2BHygwu0bEmILYY6I4goVjrIOAHke18ErpbfHQfD1Qo1ansQU4CeKDoLDbRTJQrIwvLcTtzsSIVxR5LxzgseqWopJ3F2AOon29LWMdEXfkluDlv4jvoC", "m1905": null, "leshi": null }, "video_rec": "", "act_s": [{ "name": "黄轩", "url": null, "image": null }, { "name": "染谷将太", "url": null, "image": null }, { "name": "张雨绮", "url": null, "image": null }, { "name": "秦昊", "url": null, "image": null }, { "name": "张榕容", "url": null, "image": null }, { "name": "刘昊然", "url": null, "image": "http:\/\/p4.qhmsg.com\/dmsmty\/120_110_100\/t01fcc4668160579980.png" }, { "name": "欧豪", "url": null, "image": "http:\/\/p9.qhmsg.com\/dmsmty\/120_110_100\/t01541a652df60d07f9.jpg" }] }, "error_code": 0 }
<?php /** * Created by PhpStorm. * User: FZS * Time: 2020/09/05 16:46 */ class freeApi { private $apiUrl; public function __construct() { $this->apiUrl = 'http://zhouxunwang.cn/data/?id=62&key=R5RTF4G5F5H&q=妖猫传'; } /** * 获取结果 * @return array */ public function getResult() { return file_get_contents($this->apiUrl); } }
package main import ( "fmt" "io/ioutil" "log" "net/http" ) const ( APIURL = "http://zhouxunwang.cn/data/?id=62&key=R5RTF4G5F5H&q=妖猫传" ) func main() { queryUrl := fmt.Sprintf("%s",APIURL) resp, err := http.Get(queryUrl) if err != nil { log.Println(err) return } defer resp.Body.Close() body, err := ioutil.ReadAll(resp.Body) if err != nil { fmt.Println(err) return } fmt.Println(string(body)) }