|
2#
楼主 |
发表于 2008-3-20 20:40:36
|
只看该作者
以baidu搜索知道为例
,想要查看搜索后返回的页面正确,即含有我字,应该在这段脚本的什么地方加入什么脚本,谢谢
Action()
{
web_add_cookie("BAIDUID=2C77E3782657263DEB6417446CBEBFDE:FG=1; DOMAIN=zhidao.baidu.com");
lr_think_time(10);
web_url("zhidao.baidu.com",
"URL=http://zhidao.baidu.com/",
"Resource=0",
"RecContentType=text/html",
"Referer=http://www.baidu.com/",
"Snapshot=t5.inf",
"Mode=HTTP",
LAST);
web_add_cookie("BAIDUID=2C77E3782657263DEB6417446CBEBFDE:FG=1; DOMAIN=img.baidu.com");
web_concurrent_start(NULL);
web_url("logo-zhidao.gif",
"URL=http://img.baidu.com/img/logo-zhidao.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t6.inf",
LAST);
web_url("1098161212.jpg",
"URL=http://eiv.baidu.com/maimg/20080314/1098161212.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t11.inf",
LAST);
web_url("ic_best.gif",
"URL=http://img.baidu.com/img/iknow/zhishi/image/ic_best.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t12.inf",
LAST);
web_url("ic_good.gif",
"URL=http://img.baidu.com/img/iknow/zhishi/image/ic_good.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t13.inf",
LAST);
web_url("good_subject_data.php",
"URL=http://zhishi.baidu.com/good_subject_data.php",
"Resource=0",
"RecContentType=text/html",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t14.inf",
"Mode=HTTP",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("3x7.gif",
"URL=http://img.baidu.com/img/iknow/3x7.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t7.inf",
LAST);
web_url("ff.js",
"URL=http://eiv.baidu.com/other/ff.js",
"Resource=1",
"RecContentType=application/x-javascript",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t8.inf",
LAST);
web_url("ljbg1.gif",
"URL=http://img.baidu.com/img/iknow/ljbg1.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t9.inf",
LAST);
web_url("7x7.gif",
"URL=http://img.baidu.com/img/iknow/7x7.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t10.inf",
LAST);
web_concurrent_end(NULL);
web_concurrent_start(NULL);
web_url("ic_face.gif",
"URL=http://img.baidu.com/img/iknow/zhishi/image/ic_face.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t15.inf",
LAST);
web_url("ic_star.gif",
"URL=http://img.baidu.com/img/iknow/zhishi/image/ic_star.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t16.inf",
LAST);
web_url("ic_moon.gif",
"URL=http://img.baidu.com/img/iknow/zhishi/image/ic_moon.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t17.inf",
LAST);
web_url("f8fb23a8e059a3a0ca130c57.jpg",
"URL=http://hiphotos.baidu.com/%B0%D9%B6%C8%D6%AA%B5%C0%B9%AB%B8%E6/pic/item/f8fb23a8e059a3a0ca130c57.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t18.inf",
LAST);
web_url("18aa4b60f0d279ce8cb10d43.jpg",
"URL=http://hiphotos.baidu.com/%B0%D9%B6%C8%D6%AA%B5%C0%B9%AB%B8%E6/pic/item/18aa4b60f0d279ce8cb10d43.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t19.inf",
LAST);
web_url("14caef19bae7296bdbb4bdc8.jpg",
"URL=http://hiphotos.baidu.com/%B0%D9%B6%C8%D6%AA%B5%C0%B9%AB%B8%E6/pic/item/14caef19bae7296bdbb4bdc8.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t20.inf",
LAST);
web_url("3ab41008787a0721e924888b.jpg",
"URL=http://hiphotos.baidu.com/%B0%D9%B6%C8%D6%AA%B5%C0%B9%AB%B8%E6/pic/item/3ab41008787a0721e924888b.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t21.inf",
LAST);
web_url("36c3c60957618d93d0581b08.jpg",
"URL=http://hiphotos.baidu.com/%B0%D9%B6%C8%D6%AA%B5%C0%B9%AB%B8%E6/pic/item/36c3c60957618d93d0581b08.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t22.inf",
LAST);
web_url("3514b7ec7632502c27979111.jpg",
"URL=http://hiphotos.baidu.com/%B0%D9%B6%C8%D6%AA%B5%C0%B9%AB%B8%E6/pic/item/3514b7ec7632502c27979111.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t23.inf",
LAST);
web_url("292adc13b1a6fe33dc5401fb.jpg",
"URL=http://hiphotos.baidu.com/%B0%D9%B6%C8%D6%AA%B5%C0%B9%AB%B8%E6/pic/item/292adc13b1a6fe33dc5401fb.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t24.inf",
LAST);
web_concurrent_end(NULL);
web_url("p.gif",
"URL=http://www.baidu.com/search/zhidao/images/p.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t25.inf",
LAST);
web_url("up.gif",
"URL=http://zhidao.baidu.com/img/up.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t26.inf",
LAST);
web_url("star1.gif",
"URL=http://zhidao.baidu.com/upf/img/star1.gif",
"Resource=1",
"RecContentType=image/gif",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t27.inf",
LAST);
web_url("1098174903.jpg",
"URL=http://eiv.baidu.com/maimg/20080307/1098174903.jpg",
"Resource=1",
"RecContentType=image/jpeg",
"Referer=http://zhidao.baidu.com/",
"Snapshot=t28.inf",
LAST); |
|