一些腾讯视频接口

December 6, 2019 · 分享 · 189次阅读

WETV全集接口

https://wetv.vip/cgi/cover?cid=wyeltenqne3bn8q

返回结果中data.cidInfo.video_ids_country是正片的vid

请求

http://union.video.qq.com/fcgi-bin/data?tid=698&appid=10071005&appkey=0d1a9ddd94de871b&idlist=rjae621myqca41h

返回

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<root>
<costtime>717</costtime>
<errormsg/>
<errorno>0</errorno>
<resptime>1575014263</resptime>
<results>
<fields>
<aboard_area_play_conf>8262313</aboard_area_play_conf>
<aboard_area_play_conf>1496217</aboard_area_play_conf>
<aboard_area_play_conf>1496218</aboard_area_play_conf>
<aboard_area_play_conf>1666680</aboard_area_play_conf>
<aboard_area_play_conf>1666681</aboard_area_play_conf>
<aboard_area_play_conf>1496216</aboard_area_play_conf>
<alias>庆余年 第一季</alias>
<all_ids>
[{"F":2,"V":"i0032qxbi2v"},{"F":2,"V":"j0032ubhl9s"},{"F":2,"V":"x0032o977cc"},{"F":0,"V":"k0032b4yiuw"},{"F":0,"V":"q00322u0hqy"},{"F":0,"V":"t003252vxsd"},{"F":7,"V":"k00329wv1ed"},{"F":7,"V":"t00329rbass"},{"F":7,"V":"y00326sr9vu"},{"F":4,"V":"w0032dmvfz1"},{"F":4,"V":"s0032roiam1"},{"F":4,"V":"p0032yhhvjs"},{"F":4,"V":"r0032e2icu2"},{"F":4,"V":"s00326ukd0b"},{"F":4,"V":"o0032hnei40"},{"F":4,"V":"p0032wkt07v"},{"F":4,"V":"q0032bvt850"},{"F":4,"V":"s00323k4ehy"},{"F":4,"V":"g0032fyniq3"},{"F":4,"V":"m0032m0g3av"},{"F":4,"V":"u0032dyit3i"},{"F":4,"V":"c0032ai1iwq"},{"F":4,"V":"g00325lzl35"}]
</all_ids>
<bgpic/>
<cartoon_age/>
<category_value>10470</category_value>
<child_aspect/>
<child_type/>
<copyright_expiration_time>2029-11-26 00:00:00</copyright_expiration_time>
<cover_checkup_grade>4</cover_checkup_grade>
<cover_checkup_time>2018-08-10 09:17:54</cover_checkup_time>
<cover_id>rjae621myqca41h</cover_id>
<data_checkup_grade>4</data_checkup_grade>
<description>
东晋末年,相国公刘裕篡位成为武帝。血腥政变中,只有皇妃叶轻眉刚出生的儿子幸免于难。尚书范建将他收养,取名范闲。范闲十八岁时,因其即将和皇室联姻的身份,成为各方争夺的目标,还被卷入皇子之间的争斗。他凭借自己的文采和机敏,破获悬案,仕途顺利,天下闻名。当各方势力都在为立储角力,范闲却发现自己的身世秘密……
</description>
<is_trailer>0</is_trailer>
<langue>普通话</langue>
<new_pic_hz>
http://puui.qpic.cn/vcover_hz_pic/0/rjae621myqca41h1574825567/0
</new_pic_hz>
<new_pic_vt>
http://puui.qpic.cn/vcover_vt_pic/0/rjae621myqca41h1574838571/0
</new_pic_vt>
<nomal_ids>
[{"F":2,"V":"i0032qxbi2v"},{"F":2,"V":"j0032ubhl9s"},{"F":2,"V":"x0032o977cc"},{"F":0,"V":"k0032b4yiuw"},{"F":0,"V":"q00322u0hqy"},{"F":0,"V":"t003252vxsd"},{"F":7,"V":"k00329wv1ed"},{"F":7,"V":"t00329rbass"},{"F":7,"V":"y00326sr9vu"},{"F":4,"V":"w0032dmvfz1"},{"F":4,"V":"s0032roiam1"},{"F":4,"V":"p0032yhhvjs"},{"F":4,"V":"r0032e2icu2"},{"F":4,"V":"s00326ukd0b"},{"F":4,"V":"o0032hnei40"},{"F":4,"V":"p0032wkt07v"},{"F":4,"V":"q0032bvt850"},{"F":4,"V":"s00323k4ehy"},{"F":4,"V":"g0032fyniq3"},{"F":4,"V":"m0032m0g3av"},{"F":4,"V":"u0032dyit3i"},{"F":4,"V":"c0032ai1iwq"},{"F":4,"V":"g00325lzl35"}]
</nomal_ids>
<off_time>0000-00-00 00:00:00</off_time>
<online_time>2019-11-26 00:00:00</online_time>
<pay_status>6</pay_status>
<playright>1</playright>
<playright>2</playright>
<playright>3</playright>
<playright>4</playright>
<playright>5</playright>
<playright>8</playright>
<playright>9</playright>
<playright>10</playright>
<playright>18</playright>
<playright>20</playright>
<playright>21</playright>
<playright>40</playright>
<playright>57</playright>
<playright>61</playright>
<publish_date>2019-11-26</publish_date>
<resolution_list>标清</resolution_list>
<resolution_list>高清</resolution_list>
<resolution_list>超清</resolution_list>
<resolution_list>全高清</resolution_list>
<resolution_list>4K</resolution_list>
<second_title>张若昀陷庙堂江湖绝处逢生</second_title>
<series_name>庆余年</series_name>
<time_long/>
<title>庆余年</title>
<title_en/>
<url>https://v.qq.com/x/cover/rjae621myqca41h.html</url>
<vip_ids>
[{"F":2,"V":"i0032qxbi2v"},{"F":2,"V":"j0032ubhl9s"},{"F":2,"V":"x0032o977cc"},{"F":7,"V":"k00329wv1ed"},{"F":7,"V":"t00329rbass"},{"F":7,"V":"y00326sr9vu"},{"F":4,"V":"w0032dmvfz1"},{"F":4,"V":"s0032roiam1"},{"F":4,"V":"p0032yhhvjs"},{"F":4,"V":"r0032e2icu2"},{"F":4,"V":"s00326ukd0b"},{"F":4,"V":"o0032hnei40"},{"F":4,"V":"p0032wkt07v"},{"F":4,"V":"q0032bvt850"},{"F":4,"V":"s00323k4ehy"},{"F":4,"V":"g0032fyniq3"},{"F":4,"V":"m0032m0g3av"},{"F":4,"V":"u0032dyit3i"},{"F":4,"V":"c0032ai1iwq"},{"F":4,"V":"g00325lzl35"}]
</vip_ids>
</fields>
<id>rjae621myqca41h</id>
<retcode>0</retcode>
</results>
</root>

tid取992、1000、341、121返回更详细的信息

单集

请求

http://union.video.qq.com/fcgi-bin/data?tid=98&appid=10001005&appkey=0d1a9ddd94de871b&idlist=k00329wv1ed,

返回

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<root>
<costtime>1089</costtime>
<errormsg/>
<errorno>0</errorno>
<resptime>1575015826</resptime>
<results>
<fields>
<ad_multi/>
<adspots>660000</adspots>
<areaName>内地</areaName>
<area_id>153505</area_id>
<area_name>内地</area_name>
<c_full>0</c_full>
<category_map>10470</category_map>
<category_map>正片</category_map>
<category_map>1089</category_map>
<category_map>连续剧</category_map>
<category_map>2</category_map>
<category_map>电视剧</category_map>
<channel/>
<co_area/>
<colnum/>
<column_id>0</column_id>
<copyright>新丽传媒</copyright>
<copyright_id>470</copyright_id>
<cover_list>rjae621myqca41h</cover_list>
<create_time>2019-11-26 14:57:10</create_time>
<desc/>
<director/>
<douban_id/>
<drm>1</drm>
<duration>2770</duration>
<episode>04</episode>
<episode_all/>
<imdb_id/>
<is_trailer>0</is_trailer>
<keyword/>
<lang_id>2</lang_id>
<langue>普通话</langue>
<leading_actor/>
<link>u0032th0dyy</link>
<main_genre>古装</main_genre>
<modify_time>2019-11-28 22:32:10</modify_time>
<mtime_id/>
<pic_640_360>http://puui.qpic.cn/vpic/0/k00329wv1ed.png/0</pic_640_360>
<pioneer_tag/>
<producer/>
<publish_date/>
<publish_dateX/>
<race_teams_id/>
<race_teams_name/>
<second_title/>
<source>腾讯视频</source>
<source_id>8</source_id>
<state>4</state>
<sub_genre>剧情</sub_genre>
<subtype_id>2</subtype_id>
<subtype_id>1024</subtype_id>
<sync_cover>rjae621myqca41h</sync_cover>
<tag/>
<targetid>4455844424</targetid>
<title>庆余年_04</title>
<trytime/>
<upload_src>20</upload_src>
<url>https://v.qq.com/x/page/k00329wv1ed.html</url>
<vid>k00329wv1ed</vid>
<video_aspect_ratio>1.77799999714</video_aspect_ratio>
<video_checkup_time>2019-11-26 19:49:47</video_checkup_time>
<video_orc_datakey>vid=k00329wv1ed</video_orc_datakey>
<videotag>
<ts>
<t>
<cate>704</cate>
<did>36593342</did>
<gds>
<s>660000</s>
<sourceflag>1</sourceflag>
<t>2</t>
</gds>
<pt>660000</pt>
<ti>APP_BACKGROUND</ti>
<vbt>0</vbt>
<vet>0</vet>
</t>
</ts>
</videotag>
<view_all_count>11193278</view_all_count>
<vtags/>
<year/>
</fields>
<id>k00329wv1ed</id>
<retcode>0</retcode>
</results>
</root>

link字段是实际播放的vid
返回的link字段不知道是干啥的
id取535、672、733返回不同清晰度的大小
取647返回<container>mp4+ts+passlog+aac</container>字样
返回的是一些图片,最高720p。请求

http://union.video.qq.com/fcgi-bin/data?tid=1191&appid=10001005&appkey=0d1a9ddd94de871b&idlist=k00329wv1ed,

返回

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<root>
<costtime>1114</costtime>
<errormsg/>
<errorno>0</errorno>
<resptime>1575017168</resptime>
<results>
<fields>
<best_pic_infos>
[{"848_480":"http://puui.qpic.cn/vpic/0/k00329wv1ed_848_480_1.jpg/0","640_360":"http://puui.qpic.cn/vpic/0/k00329wv1ed_640_360_1.jpg/0","score":1000,"id":1,"detect":{"push_black_rate":"0 0","qrcode_detected":0,"blackside_detected":0,"push_image_glass_ratio":"0","pos":"1","blurside_detected":0},"quality":50,"1280_720":"http://puui.qpic.cn/vpic/0/k00329wv1ed_1280_720_1.jpg/0"}]
</best_pic_infos>
<smart_pic_infos>
{"848_480":[{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_848_480_1.jpg/0","score":1000,"pos":1,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_848_480_2.jpg/0","score":1000,"pos":2,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_848_480_3.jpg/0","score":1000,"pos":3,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_848_480_4.jpg/0","score":1000,"pos":4,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_848_480_5.jpg/0","score":1000,"pos":5,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_848_480_6.jpg/0","score":1000,"pos":6,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_848_480_7.jpg/0","score":1000,"pos":7,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_848_480_8.jpg/0","score":1000,"pos":8,"quality":10},{"url":"http://puui.qpic.cn/qqvideo_ori/0/k00329wv1ed_496_280/0","score":1000,"pos":0,"quality":50}],"detects":[{"push_black_rate":"0 0","qrcode_detected":0,"blackside_detected":0,"push_image_glass_ratio":"0","pos":"1","blurside_detected":0},{"push_black_rate":"0 0","qrcode_detected":0,"blackside_detected":0,"push_image_glass_ratio":"0","pos":"2","blurside_detected":0},{"push_black_rate":"0 0","qrcode_detected":0,"blackside_detected":0,"push_image_glass_ratio":"0","pos":"3","blurside_detected":0},{"push_black_rate":"0 0","qrcode_detected":0,"blackside_detected":0,"push_image_glass_ratio":"0","pos":"4","blurside_detected":0},{"push_black_rate":"0 0","qrcode_detected":0,"blackside_detected":0,"push_image_glass_ratio":"0","pos":"5","blurside_detected":0},{"push_black_rate":"0 0","qrcode_detected":0,"blackside_detected":0,"push_image_glass_ratio":"0","pos":"6","blurside_detected":0},{"push_black_rate":"0 0","qrcode_detected":0,"blackside_detected":0,"push_image_glass_ratio":"0","pos":"7","blurside_detected":0},{"push_black_rate":"36 0","blackside_data":{"width_percentage":0,"height_percentage":36},"qrcode_detected":0,"blackside_detected":1,"push_image_glass_ratio":"0","pos":"8","blurside_detected":0},{"push_black_rate":"0 0","qrcode_detected":0,"blackside_detected":0,"push_image_glass_ratio":"0","pos":"0","blurside_detected":0}],"640_360":[{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_640_360_1.jpg/0","score":1000,"pos":1,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_640_360_2.jpg/0","score":1000,"pos":2,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_640_360_3.jpg/0","score":1000,"pos":3,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_640_360_4.jpg/0","score":1000,"pos":4,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_640_360_5.jpg/0","score":1000,"pos":5,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_640_360_6.jpg/0","score":1000,"pos":6,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_640_360_7.jpg/0","score":1000,"pos":7,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_640_360_8.jpg/0","score":1000,"pos":8,"quality":10},{"url":"http://puui.qpic.cn/qqvideo/0/k00329wv1ed/0","score":1000,"pos":0,"quality":50}],"1280_720":[{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_1280_720_1.jpg/0","score":1000,"pos":1,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_1280_720_2.jpg/0","score":1000,"pos":2,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_1280_720_3.jpg/0","score":1000,"pos":3,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_1280_720_4.jpg/0","score":1000,"pos":4,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_1280_720_5.jpg/0","score":1000,"pos":5,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_1280_720_6.jpg/0","score":1000,"pos":6,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_1280_720_7.jpg/0","score":1000,"pos":7,"quality":50},{"url":"http://puui.qpic.cn/vpic/0/k00329wv1ed_1280_720_8.jpg/0","score":1000,"pos":8,"quality":10},{"url":"http://puui.qpic.cn/qqvideo_ori/0/k00329wv1ed_1280_720/0","score":1000,"pos":0,"quality":50}]}
</smart_pic_infos>
<title>庆余年_04</title>
</fields>
<id>k00329wv1ed</id>
<retcode>0</retcode>
</results>
</root>

获取弹幕,需要target_id和视频偏移时间,session_key会控制不同返回

https://mfm.video.qq.com/danmu?otype=json&callback=jQuery19105113893116358668_1575009929047&target_id=4456610069&session_key=0%2C0%2C0&timestamp=15&_=1575009929048

返回见链接:https://pastebin.com/kkraibYZ

生成指定内容的二维码

https://pay.video.qq.com/fcgi-bin/qrencode?isNeedShort=0&margin=3&url=从前

获取剧集详细信息

https://access.video.qq.com/pc_client/detail_intro?vappid=63524327&vsecret=03f74e77d53288bc0562697162d1642288fa11c7976c5859&vversion_name=5.4.0.1236&vplatform=1&g_tk=&g_vstk=1649211124&g_actk=592553318&cid=rjae621myqca41h&raw=1

获取合集信息,和最前面的类似

http://data.video.qq.com/fcgi-bin/data?tid=431&idlist=rjae621myqca41h&appid=10001005&appkey=0d1a9ddd94de871b

打赏

标签:none

最后编辑于:2020/01/16 08:00

添加新评论