adownloader
adownloader copied to clipboard
The test found that /jp is not right at the beginning
The test found that as long as no /jp, the result is right. Otherwise the result is wrong!
for example:/jp/tmts/641851900/ddee4cdc350fc22412616611395fd5d3uid=1401804687&cupid=qc_100001_100102&platForm=h5&qyid=v3typh2vlb9y1j604p89l9co&agenttype=12&type=m3u8&nolimit=&k_ft1=8&rate=1&sgti=12_v3typh2vlb9y1j604p89l9co_1491411452784&qdv=1&qdx=n&qdy=x&qds=0&__jsT=sgve&t=1491411452786&src=02020031010000000000&callback=tmtsCallback
A very strange question, with /vms is accurate. Starting with /jp is wrong. for example:/jp/tmts/641851900/ddee4cdc350fc22412616611395fd5d3uid=1401804687&cupid=qc_100001_100102&platForm=h5&qyid=v3typh2vlb9y1j604p89l9co&agenttype=12&type=m3u8&nolimit=&k_ft1=8&rate=1&sgti=12_v3typh2vlb9y1j604p89l9co_1491411452784&qdv=1&qdx=n&qdy=x&qds=0&__jsT=sgve&t=1491411452786&src=02020031010000000000&callback=tmtsCallback
/jp must be in the cdn and not in the string to code.
$str="/tmts/641851900/ddee4cdc350fc22412616611395fd5d3uid=1401804687&cupid=qc_100001_100102&platForm=h5&qyid=v3typh2vlb9y1j604p89l9co&agenttype=12&type=m3u8&nolimit=&k_ft1=8&rate=1&sgti=12_v3typh2vlb9y1j604p89l9co_1491411452784&qdv=1&qdx=n&qdy=x&qds=0&__jsT=sgve&t=1491411452786&src=02020031010000000000&callback=tmtsCallback";
$a=new iqiyi();
echo "http://cache.m.iqiyi.com/jp$str&vf=".$a->getvf($str);
cmd5 with src 1702633101b340d8917a69cf8a4b8c7c solved.
PC uses Player_z.swf which in turn request the function ycalc and not xcalc.
Ycalc equals to a md5 with salt
str="/vms?key=fvip&src=1702633101b340d8917a69cf8a4b8c7c&tvId=214230107&vid=cce29b4a05363a5bdce1e824deeff474&vinfo=1&tm=1159&qyid=cf66272a29d2bd6bafca991c1af76911&puid=&authKey=0aaf6ce41642f43873ba9ee67c6aa7d1&um=0&pf=b6c13e26323c537d&thdk=&thdt=&rs=1&k_tag=1&qdx=n&qdv=3"
salt="u6fnp3eok0dpftcq9qbr4n9svk8tqh7u"
so vf=21d2ae1b3999acb91d75157ce98b435d
For html5, the salt is 3sj8xof48xof4tk9f4tk9ypgk9ypg5ul
for ibt salt is "t6hrq6k0n6n6k6qdh6tje6wpb62v7654" (xcalc method)
for ibt salt is "t6hrq6k0n6n6k6qdh6tje6wpb62v7654" (xcalc method) is this for mobile not for pc?
for PC
cache json:
$cache= "/vms?key=fvip&src=1702633101b340d8917a69cf8a4b8c7c&tvId=$tvid&vid=$vid&vinfo=1&tm=$tm&qyid=&puid=1405568913&authKey=$authkey&um=1&pf=b6c13e26323c537d&thdk=&thdt=&rs=1&k_tag=1&qdv=3";
$vf=md5($cache."u6fnp3eok0dpftcq9qbr4n9svk8tqh7u");
vip ibt
$t=$vipdata->data->t; $rid filename
$ibt=md5($t.$rid."t6hrq6k0n6n6k6qdh6tje6wpb62v7654");
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:
$str = "/vms?key=fvip&src=1702633101b340d8917a69cf8a4b8c7c&tvId=$tvid&vid=$videoid&vinfo=1&tm=$tm&qyid=&puid=1405568913&authKey=f9443d8870ee26f4a59f319c661342a1&um=1&pf=b6c13e26323c537d&thdk=&thdt=&rs=1&k_tag=1&qdv=3";
$vf = md5($str."u6fnp3eok0dpftcq9qbr4n9svk8tqh7u");
$url = 'http://cache.m.iqiyi.com/jp'.$str.'&vf='.$vf;
$html = $this->httprequest($url);
It show nothing unless the "var tvInfoJs=".
How can I solve the problem?
$tm="506";
$authkey=md5(md5("").$tm.$tvid);
for src 01010031010000000000 salt is 3sj8xof48xof4tk9f4tk9ypgk9ypg5ul
$str="/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"; echo $vf=md5($str."3sj8xof48xof4tk9f4tk9ypgk9ypg5ul");
Well, I got it, but I don't know what the $rid(filename) means? @denobisipsis
from link as
"l":"/v0/20170614/78/a0/b1ad4a9c8c7c8e141aaf82f6d5528af3.f4v?qd_tvid=693339900&qd_vipres=2&qd_index=2&qd_aid=693339900&qd_stert=373702&qd_scc=81db4cf24272c18c7b5f9e6672cea160&qd_sc=20e24950086a23115061b436583cc140&qd_p=5aa46545&qd_ip=5aa46545&qd_k=7ea71d73f923e2e343c97d96e1c4b048&qd_src=01010031010000000000&qd_vipdyn=2&qd_uid=0&qd_tm=1502818283663&qd_vip=0
rid is b1ad4a9c8c7c8e141aaf82f6d5528af3