Daniel Yen
Daniel Yen
@fastgoo 求服务端:)
Like `http://www.iqiyi.com/v_19rr78nouw.html`, how can I get the variable $link? Could you show me an example of the variable $link? @denobisipsis
This is the sample of the $link which you show me at issue #94 @denobisipsis > http://cache.video.iqiyi.com/jp/vms?tvId=693339900&vid=93ea0fe4d5b683fb667134e6f16ed9f6&key=fvip&src=01010031010000000000&vinfo=1&tm=1500196768438&puid=&qyid=a8545a8ef331301a7e97f06eb033d00f&authKey=f9443d8870ee26f4a59f319c661342a1&um=0&pf=b6c13e26323c537d&thdk=&thdt=&rs=1&k_tag=1&qdv=1&tn=0.0005007142026540734&callback=QiyiPlayerLoader.__callbacks__.Q14a6169c4f9beca044569ab0faaf8da9&vf=7ea71d73f923e2e343c97d96e1c4b048 How can I get the $authkey? When I use the code like this:...
Well, I got it, but I don't know what the $rid(filename) means? @denobisipsis
I got the final link and it's such as > {"t":"CMNET|GuangDong-120.230.***.***","httpsock":"1","h":"-463","l":"http://117.148.174.135/20170808/a0/e2/13e9b6f7286b87cfe6bf42ceca47a366.f4v?key=084091618bb165e60a21ce4f5a21038db&dis_k=006d20696317a02e9b04df2d74024aa91&dis_t=1502851301&dis_dz=CMNET-GuangDong&dis_st=42&src=iqiyi.com&uuid=78e6b4c1-5993b0e5-f0&qd_ip=78e6b4c1&ibt=bf56820a5555ec2d4afbf63ff7a33707&qd_uid=0&qd_tm=1502851298673&qd_vipdyn=2&ptime=360000&QY00001=1023108576&qd_tvid=678278900&qd_stert=0&qd_p=78e6b4c1&qd_k=6cf3d8452d9931d3db8d7079b87bd08b&cid=afbe8fd3d73448c9&qd_index=1&qd_vip=0&qd_src=01010031010000000000&ib=4&qd_vipres=2&qd_aid=678278900","z":"hangzhou7_cmnet"} When I visit the "l", `http://117.148.174.135/20170808/a0/e2/13e9b6f7286b87cfe6bf42ceca47a366.f4v?key=084091618bb165e60a21ce4f5a21038db&dis_k=006d20696317a02e9b04df2d74024aa91&dis_t=1502851301&dis_dz=CMNET-GuangDong&dis_st=42&src=iqiyi.com&uuid=78e6b4c1-5993b0e5-f0&qd_ip=78e6b4c1&ibt=bf56820a5555ec2d4afbf63ff7a33707&qd_uid=0&qd_tm=1502851298673&qd_vipdyn=2&ptime=360000&QY00001=1023108576&qd_tvid=678278900&qd_stert=0&qd_p=78e6b4c1&qd_k=6cf3d8452d9931d3db8d7079b87bd08b&cid=afbe8fd3d73448c9&qd_index=1&qd_vip=0&qd_src=01010031010000000000&ib=4&qd_vipres=2&qd_aid=678278900` It reponse "502 error",It seems doesn't work,Am I right? And can I get...
Maybe I ignore the "curl($call,$prox,$url,$headers,0,$post)" before, I use the code like this: $post = "qd%5Findex=1&platform=01010021010010000000&deviceId=&qd%5Fuid=0&version=3%2E0&tvid=$tvid&qd%5Fsc=$qdsc&filename=$rid&qd%5Fip=$qd_ip&qd%5Fvip=0&shareFlag=0&qd%5Fstert=0&playType=main&qd%5Fvipdyn=2&qd%5Fvipres=2&qd%5Fscc=$qd_scc&uid=&qd%5Fsrc=01010031010010000000&qd%5Faid=$tvid&qd%5Ftm=$qd_tm&qd%5Fk=$qd_k&aid=$tvid&qd%5Ftvid=$tvid"; $call="http://api.vip.iqiyi.com/services/cknsp.action"; $vipdata = $this->httprequest($call, $post, true);` $call: url $post: post data true: decode json or...
I use the code like this: $qdsc = $this->getStrBetweeen($link,'qd','_sc=','&'); $qd_ip = $this->getStrBetweeen($link,'qd_ip','=','&'); $qd_scc = $this->getStrBetweeen($link,'qd_scc','=','&'); $qd_tm = $this->getStrBetweeen($link,'qd_tm','=','&'); $qd_k = $this->getStrBetweeen($link,'qd_k','=','&'); $qd_index = $this->getStrBetweeen($link,'qd_index','=','&'); $qd_stert = $this->getStrBetweeen($link,'qd_stert','=','&'); $rid = $this->getFileName($link);...
Wow, I got it! I think the main reason for doesn't work are the following aspects: 1.There are two different domain: qiyi.com & iqiyi.com. 2.Call the apicache begin with "http://cache.video.qiyi.com/jp/vms",...