请求地址 https://vip.video.qq.com/fcgi-bin/comm_cgi?name=short_url&need_short_url=1&url=长链接
返回是
QZOutputJson=({
“msg” : “非白名单域名!”,
“qrcode” : “”,
“ret” : -11013,
“short_url” : “”
}
);
但是你把长链接加上www.qq.com
https://vip.video.qq.com/fcgi-bin/comm_cgi?name=short_url&need_short_url=1&url=http://www.qq.com.yunziyuan.com.cn/ 返回是 QZOutputJson=({ "msg" : "ok", "qrcode" : "", "ret" : 0, "short_url" : "https://url.cn/FboWIDrQ" } );
得出结论,找一个域名解析前缀为a.qq.com
比如二级域名 a.qq.com.xxxxxxx.cn
用这个站点搭建一个站点负责跳转
请求 https://vip.video.qq.com/fcgi-bin/comm_cgi?name=short_url&need_short_url=1&url=http://a.qq.com.xxxxxxx.cn/?url=http://www.yunziyuan.com.cn/
http://a.qq.com.xxxxxxx.cn/?url=http://www.yunziyuan.com.cn/
只需要获取到GET的url参数名 让后直接301跳即可