1 Star 0 Fork 9

zhangpengju/film

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
接口说明.txt 8.61 KB
一键复制 编辑 原始数据 按行查看 历史
接口说明
连接: http://140.143.206.157:8080/api/search/
名称:搜索接口
说明:
get请求
返回:{'Error': True, 'message': '请使用post请求'}
post请求
参数:keyword
说明:要搜索的电影名
返回:
{'Error': False,
'keyword': '少帅'
'search_list': [
#search_list中每一个字典代表一个影视作品的信息,这里的例子中只有一个搜索结果
#show_url中有两套播放类型地址
{ 'img_url': ['https://img.sokoyo-rj.com/tuku/upload/vod/2019-05-01/201905011556697364.jpg', '少帅2015'],
'bie_ming': ['张学良 / Young Marshal'],
'dao_yan': ['张黎'],
'zhu_yan': ['文章', '李雪健', '宋佳', '张歆怡', '刘韦伯', '矢野浩二', '汤晶媚'],
'lei_xing': '国产剧 ',
'yu_yan': ['国语'],
'shang_yin': ['2015'],
'update': '2019-05-01 16:00',
'jie_shao': '大雪纷飞的严冬,一辆马车载着张学良及姐弟首芳、学铭从老家来到奉天。他们一身縗絰,而父亲张作霖(李 雪健 饰)则踌躇满志,正准备做一番大事业。少年时代的小六子耿直鲁莽,他敢于顶撞父亲宠爱的姨太太,也不服管教,而那位婀娜的表嫂则在他心中种下一粒情....',
'di_qu': ['大陆'],
'name': ['少帅2015'],
'film_url': '/app/123ku/?m=vod-detail-id-12853.html'
'show_url': [
['https://www.0518yaj.com:65/20190501/4sGlzmbY/index.m3u8', '第01集'],
['https://www.0518yaj.com:65/20190501/8rGrM9hW/index.m3u8', '第02集'],
['https://www.0518yaj.com:65/20190501/qW6w5b1K/index.m3u8', '第03集'],
['https://www.0518yaj.com:65/20190501/VWAxXZLf/index.m3u8', '第04集'],
['https://www.0518yaj.com:65/20190501/rphr5SPs/index.m3u8', '第05集'],
['https://www.0518yaj.com:65/20190501/Zzp0Itrn/index.m3u8', '第06集'],
['https://www.0518yaj.com:65/20190501/FUmpsnTh/index.m3u8', '第07集'],
['https://www.0518yaj.com:65/20190501/aAmdtpKN/index.m3u8', '第08集'],
['https://www.0518yaj.com:65/share/i0XiBwI3o6kdSFVv', '第01集'],
['https://www.0518yaj.com:65/share/y2RSb6zCVTKshnLd', '第02集'],
['https://www.0518yaj.com:65/share/4iIpyDnwTTtB3E9N', '第03集'],
['https://www.0518yaj.com:65/share/rLk8kVMTCPqrJBmT', '第04集'],
['https://www.0518yaj.com:65/share/gb1dPzl6EwAG88l7', '第05集'],
['https://www.0518yaj.com:65/share/Byy6UOjxmxqxC41z', '第06集'],
['https://www.0518yaj.com:65/share/qyORG24mKFIchqY3', '第07集'],
['https://www.0518yaj.com:65/share/Nih16Gg0zQbwitCj', '第08集'],
]}#这里第一个电影信息结束 ,
]
}
连接: 'http://140.143.206.157:8080/api/1/'#注意:后一个1代表对不同的数据库进行索引,现只有一个库存
名称:影视详情
说明:
get请求:
参数:'m'
说明:表示某个视频
参数:'num'
说明:表示要播放表列的索引位置,如果不传值默认为0
示例:
1、'http://140.143.206.157:8080/api/1/'
返回:{'Error': True, 'message': '请传参数'}
2、'http://140.143.206.157:8080/api/1/?m=vod-detail-id-13518.html'
返回:
#show:代表播放的原地址
{'Error': False,
'url_list': [
['/app/123ku/?m=vod-detail-id-13518.html&num=0', '第01集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=1', '第02集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=2', '第03集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=3', '第04集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=4', '第05集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=5', '第06集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=6', '第07集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=7', '第08集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=8', '第09集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=9', '第10集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=10', '第11集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=11', '第12集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=12', '第13集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=13', '第14集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=14', '第15集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=15', '第16集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=16', '第17集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=17', '第18集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=18', '第19集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=19', '第20集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=20', '第21集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=21', '第22集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=22', '第23集']],
'show': ['https://www.sokoyo-rj.com:65/20190508/iMDuwjlY/index.m3u8', '第01集'],
'film_name': ['筑梦情缘[DVD版]'],
'jie_shao': ['二十世纪二十年代初,乱世中少年 沈其南一家忽遭飞来横祸。父母蒙难,兄妹四人历经艰险逃到上海却不幸离散。在绝望中经历层层考验的沈其南 与富家大小姐建筑设计师傅函君青梅竹马长大。长大后,沈其南和傅函君怀揣着民族梦想,坚守“以人为本”的 设计理念,将中....']
}
3、'http://140.143.206.157:8080/api/1/?m=vod-detail-id-13518.html&num=3'
#加了num = 3,show返回当前应该播放的视频连接
{'Error': False,
'url_list': [
['/app/123ku/?m=vod-detail-id-13518.html&num=0', '第01集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=1', '第02集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=2', '第03集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=3', '第04集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=4', '第05集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=5', '第06集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=6', '第07集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=7', '第08集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=8', '第09集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=9', '第10集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=10', '第11集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=11', '第12集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=12', '第13集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=13', '第14集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=14', '第15集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=15', '第16集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=16', '第17集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=17', '第18集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=18', '第19集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=19', '第20集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=20', '第21集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=21', '第22集'],
['/app/123ku/?m=vod-detail-id-13518.html&num=22', '第23集']
],
'show': ['https://www.sokoyo-rj.com:65/20190508/h5yLkqgt/index.m3u8', '第04集'],
'film_name': ['筑梦情缘[DVD版]'],
'jie_shao': ['二十世纪二十年代初,乱世中少年 沈其南一家忽遭飞来横祸。父母蒙难,兄妹四人历经艰险逃到上海却不幸离散。在绝望中经历层层考验的沈其南 与富家大小姐建筑设计师傅函君青梅竹马长大。长大后,沈其南和傅函君怀揣着民族梦想,坚守“以人为本”的 设计理念,将中....']
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangpengju/film.git
[email protected]:zhangpengju/film.git
zhangpengju
film
film
master

搜索帮助