wget -c --referer=引用地址 -O 文件名 "真实下载地址"
例如,我下载资源原在的页面为http://pan.baidu.com/s/1cfJXZ ,实际下载地址是:http://qd.baidupcs.com/file/0208e4842495c30cf891daa1b6338313?xcode=9999267f350e17b6d0fdac32a16253bfbd8b8532c56c21c1&fid=3590760175-250528-1001767054&time=1382427122&sign=FDTAXER-DCb740ccc5511e5e8fedcff06b081203-cKiDc588o4Fc6FMGOxqFaFj0s2k%3D&to=qb&fm=Q,B,T,t&expires=8h&rt=sh&r=120688192&logid=2538790480&sh=1&fn=WIN_2003_SP2.iso ,即可以按如下命令进行下载:
wget -c --referer=http://pan.baidu.com/s/1cfJXZ -O windows2003.iso "http://qd.baidupcs.com/file/0208e4842495c30cf891daa1b6338313?xcode=9999267f350e17b6d0fdac32a16253bfbd8b8532c56c21c1&fid=3590760175-250528-1001767054&time=1382427122&sign=FDTAXER-DCb740ccc5511e5e8fedcff06b081203-cKiDc588o4Fc6FMGOxqFaFj0s2k%3D&to=qb&fm=Q,B,T,t&expires=8h&rt=sh&r=120688192&logid=2538790480&sh=1&fn=WIN_2003_SP2.iso" =============================================================================================================360云盘 +COOKIES=============================================================================================================wget -S -c -O windows2003.iso --header "Cookie:__guid=3537848.2086352217863328500.1375067579500.3325; Hm_lvt_3d143f0a07b6487f65609d8411e5464f=1375067580,1375067664,1375068919,1375069468; Hm_lpvt_3d143f0a07b6487f65609d8411e5464f=1375069468; Q=u%3D360H319220505%26n%3D%26r%3D%26qid%3D319220505%26im%3D220255dq9816%26s%3Dquc%26src%3Dpcw_cloud%26t%3D1%26le%3DLKOjMUIiMUIiWGDjZGLmYzAioD%3D%3D; T=s%3D05af15c930bf2e656b8d3d792e43b78c%26t%3D1375069479%26a%3D0%26v%3D1.0; YUNPAN_USER=%2520appduoduo%2540163.com; token=2013210022.29.7b012980.319220505.1375069480; __utma=148900148.819829526.1375063012.1375063012.1375067580.2; __utmb=148900148.8.10.1375067580; __utmc=148900148; __utmz=148900148.1375067580.2.2.utmcsr=baidu|utmccn=(organic)|utmcmd=organic|utmctr=360%E7%BD%91%E7%9B%98" "http://dl29.yunpan.360.cn/intf.php?method=Download.downloadFile&qid=319220505&fname=%2Fclear_squid_cache.sh&fhash=0801266682348c9f387baa9483db111da40ca6d2&dt=29_29.725986d3ed7e789b875767803e0ab696&v=1.0.1&rtick=13750707843331&devtype=web&sign=c720c3d457880d94bccd0cdbb4761505&"
时间: 2024-10-22 09:07:06