一些无聊的爱奇艺接口

1862天前 · 分享 · 3789次阅读

通过p值/pck/P00001直接登陆(未失效时)

https://passport.iqiyi.com/apis/reglogin/generate_tauthcookie.action?agenttype=30&authcookie={p值}&ptid=01012001020000000000&cb_url=http://www.iqiyi.com

返回ip等位置有关信息

http://ip.geo.iqiyi.com/cityjson?format=json
http://ip.geo.iqiyi.com/queryZone?format=json

返回流行的热门关键词?

https://xinqi.if.iqiyi.com/r/mixer/public/keyword/json?src=606b62b5b934470485fb8053e6705521

关键词搜索,返回单一结果

http://xinqi.if.iqiyi.com/fenghuolun/v2?name=%E7%A0%B4%E5%86%B0%E8%A1%8C%E5%8A%A8

当前时间戳

https://time.iqiyi.com/

电影随机推荐

https://qiyu.iqiyi.com/portal/p13n?cid_num=-4_2&area=c_frog&rltfmt=json&ppuid=

登录token(?)

https://passport.iqiyi.com/apis/qrcode/gen_login_token.action?ptid=01012001020000000000&device_name=xiaomi

热搜词

https://xinqi.if.iqiyi.com/search/hotwords?channel=2

上传接口,不知道咋用的

https://upload.iqiyi.com/yunpan_file_upload

点播状态检查接口

https://serv.vip.iqiyi.com/pay/buyWeb.action?layCode=992127a1bb87988d&aid=1566844700

不知道是啥接口

https://uaa.if.iqiyi.com/who?p=pc_client&id=

tvid得到视频页面地址,注意channel,实际打开是二维码图像

http://player.share.qiyi.com/redirector/f/s/pps.html?channel=3&platform=1&pic=undefined&tvName=undefined&tvId=2256822000

tvid得到链接分享接口

http://vodguide.ppstream.iqiyi.com/share_b.html?tvid=226128201

搜索推荐

http://search.video.qiyi.com/m?if=defaultQuery&platform=17&is_qipu_platform=1

根据tvid得到详细结果

http://mixer.video.iqiyi.com/mixin/videos/7995486500?src=e9194cb155e14ceba4d63c185289b3c5

按aid+关键词返回一些有关的内容,末尾参数m可选news、voice等,留空会返回详细(全部相关视频),uid可有可无

https://qiquan.if.iqiyi.com/video/v2?id=220109214&js_ver=7.0.41.3499&client_ver=7.0.96.7232&wn_ver=7.0.41.3499&uid=&client_mode=youth&brightness=light&theme=default&mkt=zh-Hans&key=全职高手之巅峰荣耀&page=0&size=20&m=voice

根据aid返回相关内容,和上面的基本一致,只是api不太一样

https://qiquancdn.if.iqiyi.com/video/v2?id=220109214&js_ver=7.0.41.3499&client_ver=7.0.96.7232&wn_ver=7.0.41.3499&uid=&client_mode=youth&brightness=light&theme=default&mkt=zh-Hans

获取一些接口的ip配置,POST方法,返回参考这里

链接 ->
http://puma-api.iqiyi.com/tiger/fetch HTTP/1.1
请求头 -> 
qyid: macid(32位,实际上可以随机)
User-Agent: QYPlayer/Windows/4.5.10;BT/mcto;NetType/unknown;Hv/;QTP/1.0.15.5
Content-Type: application/x-www-form-urlencoded
请求体 ->
key={"PLT":2,"PLT_CODE":"01012001010000000000","PLT_KRUS":"pc_win32_player","CORE_VER":40510,"OS":"windows","OS_VER":6002,"DEVICE_ID":"macid","CPU_COUNT":88,"CPU_GHZ":280,"CPU_INFO":"Intel(R) Core(TM) i9-9900K CPU @ 3.80GHz","CPU_MODEL":"","AVC_CODEC_PROFILE":-1,"AVC_CODEC_LEVEL":-1,"HVC_CODEC_PROFILE":-1,"HVC_CODEC_LEVEL":-1}

相关搜索

http://search.video.iqiyi.com/m?if=related_query&key=全职高手之巅峰荣耀&js_ver=7.0.41.3499&client_ver=7.0.96.7232&wn_ver=7.0.41.3499&uid=1199057052&client_mode=youth&brightness=light&theme=default&mkt=zh-Hans

tvid+vid获取详细信息,vid可以没有,这时改为nil即可

http://cache.video.qiyi.com/vi/8614163300/nil/

一些参数对照关系

http://list3.ppstream.com.iqiyi.com/cfg2/global.json

获取合集全部分集的vid信息,要sign

https://pcaapi.iqiyi.com/download_info/236681601?return_format=pb&src=&sign=43F30BFA22BDDC9A829FB13265B8D803
👍 1

none

最后修改于1831天前

评论

贴吧 狗头 原神 小黄脸
收起

贴吧

狗头

原神

小黄脸

目录

avatar

未末

迷失

126

文章数

275

评论数

7

分类