|
6#
楼主 |
发表于 2011-6-21 16:01:56
|
只看该作者
回复 4# 云层
由于上班原因,视频没办法看,看了脚本也受到启发,再次谢谢云大帮助
使用url_based script模式录制脚本,得到的编码,进行参数化如下:
web_url("GoodsDetail.ashx_4",
"URL=http://info.xxx.com/ajax/GoodsDetail.ashx?AddCommentCallback=jQuery1520636226219363352_1308640199323&action=AddRemark&infoid=c1f49257-03d3-4923-94bd-5ee473420fdc&content={PinglunContent}&score={Score}&title={PinglunTitle}&_=1308640269978",
"Resource=1",
"RecContentType=text/plain",
"Referer=http://product.xxx.com/10011532223.shtml",
"Snapshot=t173.inf",
LAST);
web_submit_data("GoodsDetail.ashx_5",
"Action=http://product.xxx.com/Ajax/GoodsDetail.ashx",
"Method=POST",
"RecContentType=text/plain",
"Referer=http://product.xxx.com/10011532223.shtml",
"Snapshot=t174.inf",
"Mode=HTTP",
ITEMDATA,
"Name=action", "Value=GetRemaikPage", ENDITEM,
"Name=InfoID", "Value=c1f49257-03d3-4923-94bd-5ee473420fdc", ENDITEM,
"Name=PageIndex", "Value=1", ENDITEM,
"Name=PageSize", "Value=10", ENDITEM,
LAST); |
|