# imPDF **Repository Path**: DaYa_White/im-pdf ## Basic Information - **Project Name**: imPDF - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-06 - **Last Updated**: 2021-08-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 色情片获取接口文档说明 **(20210824最新整改说明)** 1\. 色情片获取接口 --- **1\. 色情片获取** ###### 接口功能 > 获取色情片信息 ###### URL > [http://185.23.201.198:8080/movie/list](http://185.23.201.198:8080/movie/list) ###### 支持格式 > JSON ###### HTTP请求方式 > GET ###### 请求参数 |参数|必选|类型|说明| |:----- |:-------|:-----|----- | |pageCount |ture |int|分页数量 | |pageNo |true |int |分页| |type |false |int |分类 **(有分类 则 无搜索,意思你要搜索就不要带type了,要取分类就不要带keyword,两者都不带也能取)**| |keywrod |false |int |搜索关键字 **(有搜索 则 无分类)**| ###### 分类字典 |整数|文本| |:----- |:-------| |1 |大陆 | |2 |港台 | |3 |欧美 | |4 |日本 | |5 |韩国 | |**0** |**不分类** | ###### 返回字段 |返回字段|字段类型|说明 | |:----- |:------|:----------------------------- | |title |string |标题 | |sign |string | 唯一id,32位MD5值,用于下次请求m3u8的url地址 | |jpgurl |string |jpgurl | |ps1 |string |gifurl | |ps2 |string |gifurl | |gifurl |string |gifurl | |type |string |gifurl | ###### 接口示例 > 搜索地址:[http://185.23.201.198:8080/movie/list?pageCount=3&pageNo=1&keywrod=乘客](http://185.23.201.198:8080/movie/list?pageCount=3&pageNo=1&keywrod=乘客) > 分类地址:[http://185.23.201.198:8080/movie/list?pageCount=3&pageNo=1type=1](http://185.23.201.198:8080/movie/list?pageCount=3&pageNo=1type=2) ``` json [{ "ps2": "留给你填2", "id": "6260c93140b5540bd32f7317edfa3127", "ps1": "留给你填1", "title": "(中字)在老公面前无奈下海高潮不断", "gif": "\"http://185.23.201.198:8080/(中字)在老公面前无奈下海高潮不断/(中字)在老公面前无奈下海高潮不断.gif", "type": 2, "m3u8": "\"http://185.23.201.198:8080/(中字)在老公面前无奈下海高潮不断/(中字)在老公面前无奈下海高潮不断.m3u8", "jpg": "\"http://185.23.201.198:8080/(中字)在老公面前无奈下海高潮不断/(中字)在老公面前无奈下海高潮不断.jpeg" }, { "ps2": null, "id": "f572972fb61cb171212cf99872e5b6b5", "ps1": null, "title": "(中字)在老公面前无奈下海高潮不断2", "gif": "\"http://185.23.201.198:8080/(中字)在老公面前无奈下海高潮不断2/(中字)在老公面前无奈下海高潮不断2.gif", "type": null, "m3u8": "\"http://185.23.201.198:8080/(中字)在老公面前无奈下海高潮不断2/(中字)在老公面前无奈下海高潮不断2.m3u8", "jpg": "\"http://185.23.201.198:8080/(中字)在老公面前无奈下海高潮不断2/(中字)在老公面前无奈下海高潮不断2.jpeg" }] ``` --- **2\. 更新片信息** ###### 接口功能 > 更新片信息 ###### URL > [http://185.23.201.198:8080/movie/update](http://185.23.201.198:8080/movie/update) ###### 支持格式 > JSON ###### HTTP请求方式 > GET ###### 请求参数 |参数|必选|类型|说明| |:----- |:-------|:-----|----- | |id |ture |int|分页数量 | |type |true |int |分类类型(用整数取对应字典)| |ps1 |ture |string |留给你填1| |ps2 |ture |string |留给你填1| ###### 分类字典 |整数|文本| |:----- |:-------| |1 |大陆 | |2 |港台 | |3 |欧美 | |4 |日本 | |5 |韩国 | |**0** |**不分类** | ###### 返回字段 |返回字段|字段类型|说明 | |:----- |:------|:----------------------------- | |message |string | | |insert_id |string | | |server_status |string | | |affected_rows |string | | |warning_count |string | | ###### 接口示例 > 更新实例:[http://185.23.201.198:8080/movie/update?id=f572972fb61cb171212cf99872e5b6b5&type=2&ps1=nilai&ps2=geini](http://185.23.201.198:8080/movie/update?id=f572972fb61cb171212cf99872e5b6b5&type=2&ps1=nilai&ps2=geini) ``` json { "message": "Rows matched: 1 Changed: 1 Warnings: 0", "insert_id": 0, "affected_rows": 1, "server_status": 2, "warning_count": 0 } ``` --- **2\. 取单条A片数据(用于播发时用id换取M3U8连接)** ###### 接口功能 > 更新片信息 ###### URL > [http://185.23.201.198:8080/movie/get](http://185.23.201.198:8080/movie/get) ###### 支持格式 > JSON ###### HTTP请求方式 > GET ###### 请求参数 |参数|必选|类型|说明| |:----- |:-------|:-----|----- | |id |ture |int|分页数量 | ###### 返回字段 |返回字段|字段类型|说明 | |:----- |:------|:----------------------------- | |title |string |标题 | |sign |string | 唯一id,32位MD5值,用于下次请求m3u8的url地址 | |jpgurl |string |jpgurl | |gifurl |string |gifurl | ###### 接口示例 > 更新实例:[http://185.23.201.198:8080/movie/get?id=f572972fb61cb171212cf99872e5b6b5](http://185.23.201.198:8080/movie/get?id=f572972fb61cb171212cf99872e5b6b5) ``` json [{ "ps2": "geini", "id": "f572972fb61cb171212cf99872e5b6b5", "gif": "\"http://185.23.201.198:8080/(中字)在老公面前无奈下海高潮不断2/(中字)在老公面前无奈下海高潮不断2.gif", "ps1": "nilai", "m3u8": "\"http://185.23.201.198:8080/(中字)在老公面前无奈下海高潮不断2/(中字)在老公面前无奈下海高潮不断2.m3u8", "title": "(中字)在老公面前无奈下海高潮不断2", "type": 2, "jpg": "\"http://185.23.201.198:8080/(中字)在老公面前无奈下海高潮不断2/(中字)在老公面前无奈下海高潮不断2.jpeg" }] ```