{ "itemList": [{ "type": "textHeader", "data": { "dataType": "TextHeader", "text": "- Jun. 15, Brunch -", "font": "lobster", "adTrack": null }, "trackingData": null, "tag": "1", "id": 0, "adIndex": -1 }, { "type": "video", "data": { "dataType": "VideoBeanForClient", "id": 256929, "title": "西班牙延时摄影:云海涌动,星河浪漫", "description": "作者 Timestorm Films 使用延时摄影再次展现西班牙拉帕尔马的云海涌动、星河浪漫,同系列的作品这个工作室曾在去年和前年分别拍摄过一次,都获得数十万播放量。今年的作品和之前的相比不仅有技术上的提高,在疫情压抑焦灼的大环境下,这样浩瀚而又宁静的美景更能激发观众的向往。", "library": "DAILY", "tags": [{ "id": 10, "name": "跟着开眼看世界", "actionUrl": "eyepetizer://tag/10/?title=%E8%B7%9F%E7%9D%80%E5%BC%80%E7%9C%BC%E7%9C%8B%E4%B8%96%E7%95%8C", "adTrack": null, "desc": "去你想去的地方,发现世界的美", "bgPicture": "http://img.kaiyanapp.com/7ea328a893aa1f092b9328a53494a267.png?imageMogr2/quality/60/format/jpg", "headerImage": "http://img.kaiyanapp.com/50dab5468ecd2dbe5eb99dab5d608a0a.jpeg?imageMogr2/quality/60/format/jpg", "tagRecType": "IMPORTANT", "childTagList": null, "childTagIdList": null, "haveReward": false, "ifNewest": false, "newestEndTime": null, "communityIndex": 14 }, { "id": 52, "name": "风光大片", "actionUrl": "eyepetizer://tag/52/?title=%E9%A3%8E%E5%85%89%E5%A4%A7%E7%89%87", "adTrack": null, "desc": "", "bgPicture": "http://img.kaiyanapp.com/e484dd6aa22ea3c2e604812b44f8c60c.jpeg?imageMogr2/quality/60/format/jpg", "headerImage": "http://img.kaiyanapp.com/f333f225c9ccc78819120f3a888b2e7e.jpeg?imageMogr2/quality/60/format/jpg", "tagRecType": "NORMAL", "childTagList": null, "childTagIdList": null, "haveReward": false, "ifNewest": false, "newestEndTime": null, "communityIndex": 0 }, { "id": 528, "name": "震撼", "actionUrl": "eyepetizer://tag/528/?title=%E9%9C%87%E6%92%BC", "adTrack": null, "desc": null, "bgPicture": "http://img.kaiyanapp.com/c043f72eeaf7cf30d5b3bb410fc127e3.png?imageMogr2/quality/60/format/jpg", "headerImage": "http://img.kaiyanapp.com/c043f72eeaf7cf30d5b3bb410fc127e3.png?imageMogr2/quality/60/format/jpg", "tagRecType": "NORMAL", "childTagList": null, "childTagIdList": null, "haveReward": false, "ifNewest": false, "newestEndTime": null, "communityIndex": 0 }, { "id": 675, "name": "摄影艺术", "actionUrl": "eyepetizer://tag/675/?title=%E6%91%84%E5%BD%B1%E8%89%BA%E6%9C%AF", "adTrack": null, "desc": null, "bgPicture": "http://img.kaiyanapp.com/c2f92f2aa503674c0e344d565e7f406b.jpeg?imageMogr2/quality/60/format/jpg", "headerImage": "http://img.kaiyanapp.com/c2f92f2aa503674c0e344d565e7f406b.jpeg?imageMogr2/quality/60/format/jpg", "tagRecType": "NORMAL", "childTagList": null, "childTagIdList": null, "haveReward": false, "ifNewest": false, "newestEndTime": null, "communityIndex": 0 }, { "id": 548, "name": "星空", "actionUrl": "eyepetizer://tag/548/?title=%E6%98%9F%E7%A9%BA", "adTrack": null, "desc": null, "bgPicture": "http://img.kaiyanapp.com/1c9468c6ade1524f09453d7aa547a30b.jpeg?imageMogr2/quality/60/format/jpg", "headerImage": "http://img.kaiyanapp.com/1c9468c6ade1524f09453d7aa547a30b.jpeg?imageMogr2/quality/60/format/jpg", "tagRecType": "NORMAL", "childTagList": null, "childTagIdList": null, "haveReward": false, "ifNewest": false, "newestEndTime": null, "communityIndex": 0 }, { "id": 78, "name": "延时", "actionUrl": "eyepetizer://tag/78/?title=%E5%BB%B6%E6%97%B6", "adTrack": null, "desc": null, "bgPicture": "http://img.kaiyanapp.com/9722d85d4703c35aa6383e04e5908751.jpeg?imageMogr2/quality/100", "headerImage": "http://img.kaiyanapp.com/8469265bc4b026850d31037e2778b9a5.jpeg?imageMogr2/quality/100", "tagRecType": "NORMAL", "childTagList": null, "childTagIdList": null, "haveReward": false, "ifNewest": false, "newestEndTime": null, "communityIndex": 0 }, { "id": 1019, "name": "旅行", "actionUrl": "eyepetizer://tag/1019/?title=%E6%97%85%E8%A1%8C", "adTrack": null, "desc": "世界这么大,总有你的目的地", "bgPicture": "http://img.kaiyanapp.com/67b5aa7b489b33e7894e04d293e9b01f.jpeg?imageMogr2/quality/60/format/jpg", "headerImage": "http://img.kaiyanapp.com/67b5aa7b489b33e7894e04d293e9b01f.jpeg?imageMogr2/quality/60/format/jpg", "tagRecType": "NORMAL", "childTagList": null, "childTagIdList": null, "haveReward": false, "ifNewest": false, "newestEndTime": null, "communityIndex": 0 } ], "consumption": { "collectionCount": 714, "shareCount": 509, "replyCount": 12, "realCollectionCount": 552 }, "resourceType": "video", "slogan": null, "provider": { "name": "YouTube", "alias": "youtube", "icon": "http://img.kaiyanapp.com/fa20228bc5b921e837156923a58713f6.png" }, "category": "旅行", "author": { "id": 657, "icon": "http://img.kaiyanapp.com/63bbb4acf96a6daa579a150ab39d218c.jpeg?imageMogr2/quality/60/format/jpg", "name": "Timestorm Films", "description": "延时摄影工作室", "link": "", "latestReleaseTime": 1623718801000, "videoNum": 52, "adTrack": null, "follow": { "itemType": "author", "itemId": 657, "followed": false }, "shield": { "itemType": "author", "itemId": 657, "shielded": false }, "approvedNotReadyVideoCount": 0, "ifPgc": true, "recSort": 0, "expert": false }, "cover": { "feed": "http://img.kaiyanapp.com/63fb655ec7b93c93859906e77d78b781.jpeg?imageMogr2/quality/60/format/jpg", "detail": "http://img.kaiyanapp.com/63fb655ec7b93c93859906e77d78b781.jpeg?imageMogr2/quality/60/format/jpg", "blurred": "http://img.kaiyanapp.com/82c0979ac769497f5e34f8ff1fe01856.jpeg?imageMogr2/quality/60/format/jpg", "sharing": null, "homepage": "http://img.kaiyanapp.com/63fb655ec7b93c93859906e77d78b781.jpeg?imageView2/1/w/720/h/560/format/jpg/q/75|watermark/1/image/aHR0cDovL2ltZy5rYWl5YW5hcHAuY29tL2JsYWNrXzMwLnBuZw==/dissolve/100/gravity/Center/dx/0/dy/0|imageslim" }, "playUrl": "http://baobab.kaiyanapp.com/api/v1/playUrl?vid=256929&resourceType=video&editionType=default&source=aliyun&playUrlType=url_oss&udid=", "thumbPlayUrl": null, "duration": 297, "webUrl": { "raw": "http://www.eyepetizer.net/detail.html?vid=256929", "forWeibo": "https://m.eyepetizer.net/u1/video-detail?video_id=256929&resource_type=video&utm_campaign=routine&utm_medium=share&utm_source=weibo&uid=0" }, "releaseTime": 1623718801000, "playInfo": [{ "height": 480, "width": 854, "urlList": [{ "name": "aliyun", "url": "http://baobab.kaiyanapp.com/api/v1/playUrl?vid=256929&resourceType=video&editionType=normal&source=aliyun&playUrlType=url_oss&udid=", "size": 23432988 }, { "name": "ucloud", "url": "http://baobab.kaiyanapp.com/api/v1/playUrl?vid=256929&resourceType=video&editionType=normal&source=ucloud&playUrlType=url_oss&udid=", "size": 23432988 } ], "name": "标清", "type": "normal", "url": "http://baobab.kaiyanapp.com/api/v1/playUrl?vid=256929&resourceType=video&editionType=normal&source=aliyun&playUrlType=url_oss&udid=" }, { "height": 720, "width": 1280, "urlList": [{ "name": "aliyun", "url": "http://baobab.kaiyanapp.com/api/v1/playUrl?vid=256929&resourceType=video&editionType=high&source=aliyun&playUrlType=url_oss&udid=", "size": 37144334 }, { "name": "ucloud", "url": "http://baobab.kaiyanapp.com/api/v1/playUrl?vid=256929&resourceType=video&editionType=high&source=ucloud&playUrlType=url_oss&udid=", "size": 37144334 } ], "name": "高清", "type": "high", "url": "http://baobab.kaiyanapp.com/api/v1/playUrl?vid=256929&resourceType=video&editionType=high&source=aliyun&playUrlType=url_oss&udid=" } ], "campaign": null, "waterMarks": null, "ad": false, "adTrack": [], "type": "NORMAL", "titlePgc": null, "descriptionPgc": null, "remark": "", "ifLimitVideo": false, "searchWeight": 0, "brandWebsiteInfo": null, "videoPosterBean": null, "idx": 0, "shareAdTrack": null, "favoriteAdTrack": null, "webAdTrack": null, "date": 1623718800000, "promotion": null, "label": null, "labelList": [], "descriptionEditor": "作者 Timestorm Films 使用延时摄影再次展现西班牙拉帕尔马的云海涌动、星河浪漫,同系列的作品这个工作室曾在去年和前年分别拍摄过一次,都获得数十万播放量。今年的作品和之前的相比不仅有技术上的提高,在疫情压抑焦灼的大环境下,这样浩瀚而又宁静的美景更能激发观众的向往。", "collected": false, "reallyCollected": false, "played": false, "subtitles": [], "lastViewTime": null, "playlists": null, "src": null, "recallSource": null, "recall_source": null }, "trackingData": null, "tag": "1", "id": 0, "adIndex": -1 } ] }
<?php /** * Created by PhpStorm. * User: FZS * Time: 2021/07/03 19:26 */ class freeApi { private $apiUrl; public function __construct() { $this->apiUrl = 'http://baobab.kaiyanapp.com/api/v4/tabs/selected?date=1623718800000&page=2'; } /** * 获取结果 * @return array */ public function getResult() { return file_get_contents($this->apiUrl); } }
package main import ( "fmt" "io/ioutil" "log" "net/http" ) const ( APIURL = "http://baobab.kaiyanapp.com/api/v4/tabs/selected?date=1623718800000&page=2" ) 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)) }