Loadrunner如何确认录制是否成功
以下是我录制百度查询12306的脚本,我不知道该如何 验证是否录制成功了,因为录制下来的快照都是乱码的,有得设置是连快照都没有,这让我这新手很纠结,因为我不知道该如何验证是否成功录制,请各位指教,以下是录制的百度查询12306的代码和快照截图:你可以设置一个文本检查点或者图片检查点试试!通过成功界面区别于其他界面的标识来判断是否成功!其实你应该验证的不是录制是否成功,而是回放是否能够成功,只要随着你的操作,在录制的过程中events一直在增加应该就是录制上了! Action()
{
web_add_cookie("BD_UPN=1123314351; DOMAIN=www.baidu.com");
web_add_cookie("H_PS_645EC=83a13n6Mkxv6WKexa2oP2T81z5OM9ML6MmjTPbxCO7jREPgBo3c0OZR%2BscE; DOMAIN=www.baidu.com");
web_add_cookie("ispeed_lsm=16; DOMAIN=www.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=www.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=www.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=www.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss3.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss3.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=ss3.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss0.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss0.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=ss0.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss1.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss1.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=ss1.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss2.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss2.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=ss2.baidu.com");
web_url("www.baidu.com",
"URL=http://www.baidu.com/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=https://www.baidu.com/img/bd_logo1.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://www.baidu.com/img/baidu_jgylogo3.gif", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/zbios_62c636fe.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/every_cookie_aa168cb4.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_0e814c16.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/nuomi_510f7472.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/js/all_async_search_7f9d7c36.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/js/nu_instant_search_ebeb5baa.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/quickdelete_9c14b01a.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/sug/js/bdsug_async_dac7ea02.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/baiduia/baiduia_b45d552b.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://www.baidu.com/his?wd=&from=pc_web&rf=3&hisdata=&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=0&cb=jQuery110208550371302816654_1463446731813&_=1463446731814", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/env_beb83b45.swf", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/baiduia/JSocket_9a52fc3e.swf?0.05", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss3.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735511", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss2.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://www.baidu.com/his?wd=&from=pc_web&rf=3&hisdata=&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&sc=eb&csor=0&cb=jQuery110208550371302816654_1463446731813&_=1463446731815", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp0.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp0.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=sp0.baidu.com");
web_url("s",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=2&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=2&pstg=5&_cr1=22911",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=1&cb=jQuery110208550371302816654_1463446731816&_=1463446731817", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=2&pwd=1&cb=jQuery110208550371302816654_1463446731813&_=1463446731818", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/sugbg_d24a0811.gif", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_url("s_2",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=123&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=3&rsv_sug1=2&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=5&_cr1=25015",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=123&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=3&pwd=12&cb=jQuery110208550371302816654_1463446731813&_=1463446731819", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_url("s_3",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=25115",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_add_cookie("BDSVRTM=14; DOMAIN=www.baidu.com");
web_url("s_4",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=28919",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t5.inf",
"Mode=HTML",
LAST);
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp1.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp1.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=sp1.baidu.com");
web_url("s_5",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=1230&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=5&_cr1=27223",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1230&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=4&pwd=123&cb=jQuery110208550371302816654_1463446731813&_=1463446731820", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=1230&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=1230&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446741890", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12306&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=5&pwd=1230&cb=jQuery110208550371302816654_1463446731813&_=1463446731821", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=12306&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=12306&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446742447", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_url("s_6",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=5&rsv_sug1=4&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=1&_cr1=29651",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
web_add_cookie("BDSVRTM=15; DOMAIN=www.baidu.com");
web_url("s_7",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=5&pstg=1&_cr1=29654",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/rightHintIcon_4db55de5.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=/aladdin/img/tools/tools-5.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=/cache/global/img/aladdinIcon-1.0.gif", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp0.baidu.com/9foIbT3kAMgDnd_/c.gif?t=0&q=12306&p=0&pn=1", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_add_cookie("H_PS_645EC=4bd9k13vYKPLAJ1TXDh881VNoYLhOADqX2Qr9ojcUguyc7G50QsPrl61BGc; DOMAIN=www.baidu.com");
web_url("s_8",
"URL=https://www.baidu.com/s?ie=utf-8&csq=1&pstg=1&mod=2&cqid=d7233e6d00167979&istc=7748&ver=QN-xHwBWPL4ajeyhpKvX639X1bF8WCuOCYm&chk=573a6cbe&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&f4s=1&_ck=1201.1.140.21.18.958.241&rsv_isid=1463_19037_17948_19568_19559_19842_15228_11446&isnop=1&rsv_stat=-2&rsv_bp=1",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190",
"Snapshot=t9.inf",
"Mode=HTML",
EXTRARES,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/clean_2ebde478.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=/cache/fpid/ielib_0108.js", "Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190", ENDITEM,
"Url=/cache/fpid/o_0108.swf", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp3.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp3.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=sp3.baidu.com");
web_url("ps_fp.htm",
"URL=https://sp3.baidu.com/-0U_dTmfKgQFm2e88IuM_a/ps_fp.htm?pid=ps&fp=91D54A452F1DACEC875D9FA01A8A1AC5&im=0&wf=1&br=1&qid=d7233e6d00167979&bi=10CD15634B9C822E1A406B0701F73456:FG=1&psid=10CD15634B9C822E1A406B0701F73456",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t10.inf",
"Mode=HTML",
LAST);
return 0;
}
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp0.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp0.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=sp0.baidu.com");
web_url("s",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=2&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=2&pstg=5&_cr1=22911",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=1&cb=jQuery110208550371302816654_1463446731816&_=1463446731817", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=2&pwd=1&cb=jQuery110208550371302816654_1463446731813&_=1463446731818", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/sugbg_d24a0811.gif", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_url("s_2",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=123&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=3&rsv_sug1=2&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=5&_cr1=25015",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=123&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=3&pwd=12&cb=jQuery110208550371302816654_1463446731813&_=1463446731819", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_url("s_3",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=25115",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_add_cookie("BDSVRTM=14; DOMAIN=www.baidu.com");
web_url("s_4",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=28919",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t5.inf",
"Mode=HTML",
LAST);
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp1.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp1.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=sp1.baidu.com");
web_url("s_5",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=1230&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=5&_cr1=27223",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1230&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=4&pwd=123&cb=jQuery110208550371302816654_1463446731813&_=1463446731820", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=1230&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=1230&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446741890", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12306&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=5&pwd=1230&cb=jQuery110208550371302816654_1463446731813&_=1463446731821", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=12306&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=12306&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446742447", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_url("s_6",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=5&rsv_sug1=4&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=1&_cr1=29651",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
web_add_cookie("BDSVRTM=15; DOMAIN=www.baidu.com");
web_url("s_7",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=5&pstg=1&_cr1=29654",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/rightHintIcon_4db55de5.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=/aladdin/img/tools/tools-5.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=/cache/global/img/aladdinIcon-1.0.gif", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp0.baidu.com/9foIbT3kAMgDnd_/c.gif?t=0&q=12306&p=0&pn=1", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_add_cookie("H_PS_645EC=4bd9k13vYKPLAJ1TXDh881VNoYLhOADqX2Qr9ojcUguyc7G50QsPrl61BGc; DOMAIN=www.baidu.com");
web_url("s_8",
"URL=https://www.baidu.com/s?ie=utf-8&csq=1&pstg=1&mod=2&cqid=d7233e6d00167979&istc=7748&ver=QN-xHwBWPL4ajeyhpKvX639X1bF8WCuOCYm&chk=573a6cbe&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&f4s=1&_ck=1201.1.140.21.18.958.241&rsv_isid=1463_19037_17948_19568_19559_19842_15228_11446&isnop=1&rsv_stat=-2&rsv_bp=1",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190",
"Snapshot=t9.inf",
"Mode=HTML",
EXTRARES,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/clean_2ebde478.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=/cache/fpid/ielib_0108.js", "Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190", ENDITEM,
"Url=/cache/fpid/o_0108.swf", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp3.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp3.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=sp3.baidu.com");
web_url("ps_fp.htm",
"URL=https://sp3.baidu.com/-0U_dTmfKgQFm2e88IuM_a/ps_fp.htm?pid=ps&fp=91D54A452F1DACEC875D9FA01A8A1AC5&im=0&wf=1&br=1&qid=d7233e6d00167979&bi=10CD15634B9C822E1A406B0701F73456:FG=1&psid=10CD15634B9C822E1A406B0701F73456",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t10.inf",
"Mode=HTML",
LAST);
return 0;
}
重新发一次代码,请给位指导下啊,谢谢! Action()
{
web_add_cookie("BD_UPN=1123314351; DOMAIN=www.baidu.com");
web_add_cookie("H_PS_645EC=83a13n6Mkxv6WKexa2oP2T81z5OM9ML6MmjTPbxCO7jREPgBo3c0OZR%2BscE; DOMAIN=www.baidu.com");
web_add_cookie("ispeed_lsm=16; DOMAIN=www.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=www.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=www.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=www.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss3.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss3.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=ss3.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss0.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss0.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=ss0.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss1.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss1.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=ss1.baidu.com");
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=ss2.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=ss2.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=ss2.baidu.com");
web_url("www.baidu.com",
"URL=http://www.baidu.com/",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=https://www.baidu.com/img/bd_logo1.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://www.baidu.com/img/baidu_jgylogo3.gif", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/zbios_62c636fe.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/every_cookie_aa168cb4.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_0e814c16.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/nuomi_510f7472.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/js/all_async_search_7f9d7c36.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/js/nu_instant_search_ebeb5baa.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/quickdelete_9c14b01a.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/sug/js/bdsug_async_dac7ea02.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/baiduia/baiduia_b45d552b.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://www.baidu.com/his?wd=&from=pc_web&rf=3&hisdata=&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=0&cb=jQuery110208550371302816654_1463446731813&_=1463446731814", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/env_beb83b45.swf", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/baiduia/JSocket_9a52fc3e.swf?0.05", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss3.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735511", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss0.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss2.baidu.com/6ONWsjip0QIZ8tyhnq/ps_default.gif?_t=1463446735501", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://www.baidu.com/his?wd=&from=pc_web&rf=3&hisdata=&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&sc=eb&csor=0&cb=jQuery110208550371302816654_1463446731813&_=1463446731815", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp0.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp0.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=sp0.baidu.com");
web_url("s",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=2&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=2&pstg=5&_cr1=22911",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t2.inf",
"Mode=HTML",
EXTRARES,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=1&cb=jQuery110208550371302816654_1463446731816&_=1463446731817", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=2&pwd=1&cb=jQuery110208550371302816654_1463446731813&_=1463446731818", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/sugbg_d24a0811.gif", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_url("s_2",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=123&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=3&rsv_sug1=2&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=5&_cr1=25015",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t3.inf",
"Mode=HTML",
EXTRARES,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=123&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=3&pwd=12&cb=jQuery110208550371302816654_1463446731813&_=1463446731819", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_url("s_3",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=25115",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t4.inf",
"Mode=HTML",
LAST);
web_add_cookie("BDSVRTM=14; DOMAIN=www.baidu.com");
web_url("s_4",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=&hsug=&csor=3&pstg=1&_cr1=28919",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t5.inf",
"Mode=HTML",
LAST); 承接上面的代码:
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp1.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp1.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=sp1.baidu.com");
web_url("s_5",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=1230&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=5&_cr1=27223",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=1230&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=4&pwd=123&cb=jQuery110208550371302816654_1463446731813&_=1463446731820", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=1230&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=1230&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446741890", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?wd=12306&json=1&p=3&sid=1463_19037_17948_19568_19559_19842_15228_11446&csor=5&pwd=1230&cb=jQuery110208550371302816654_1463446731813&_=1463446731821", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp1.baidu.com/8qUJcD3n0sgCo2Kml5_Y_D3/v.gif?pid=201&pj=www&pj_name=zhida_sug&zhida_prefix=12306&zhida_query=%E4%B8%AD%E5%9B%BD%E9%93%81%E8%B7%AF%E5%AE%A2%E6%88%B7%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%BF%83&zhida_chufa=12306&zhida_bp=0&path=https%3A%2F%2Fwww.baidu.com%2F&wd=&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&rsv_did=5ec7476d6546f8fecbceea5d0aa3e686&t=1463446742447", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_url("s_6",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=5&rsv_sug1=4&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=4&pstg=1&_cr1=29651",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t7.inf",
"Mode=HTML",
LAST);
web_add_cookie("BDSVRTM=15; DOMAIN=www.baidu.com");
web_url("s_7",
"URL=https://www.baidu.com/s?ie=utf-8&mod=1&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306%E9%AA%8C%E8%AF%81%E7%A0%81%E8%AF%86%E5%88%AB&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&rsv_sid=1463_19037_17948_19568_19559_19842_15228_11446&_ss=1&clist=6935081a84c9f244%092e57f0e3a5821866&hsug=&csor=5&pstg=1&_cr1=29654",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t8.inf",
"Mode=HTML",
EXTRARES,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/rightHintIcon_4db55de5.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=/aladdin/img/tools/tools-5.png", "Referer=https://www.baidu.com/", ENDITEM,
"Url=/cache/global/img/aladdinIcon-1.0.gif", "Referer=https://www.baidu.com/", ENDITEM,
"Url=https://sp0.baidu.com/9foIbT3kAMgDnd_/c.gif?t=0&q=12306&p=0&pn=1", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_add_cookie("H_PS_645EC=4bd9k13vYKPLAJ1TXDh881VNoYLhOADqX2Qr9ojcUguyc7G50QsPrl61BGc; DOMAIN=www.baidu.com");
web_url("s_8",
"URL=https://www.baidu.com/s?ie=utf-8&csq=1&pstg=1&mod=2&cqid=d7233e6d00167979&istc=7748&ver=QN-xHwBWPL4ajeyhpKvX639X1bF8WCuOCYm&chk=573a6cbe&isid=10CD157345641501&ie=utf-8&f=8&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=1&rsv_sug3=4&rsv_sug1=3&rsv_sug7=100&f4s=1&_ck=1201.1.140.21.18.958.241&rsv_isid=1463_19037_17948_19568_19559_19842_15228_11446&isnop=1&rsv_stat=-2&rsv_bp=1",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190",
"Snapshot=t9.inf",
"Mode=HTML",
EXTRARES,
"Url=https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/plugins/clean_2ebde478.js", "Referer=https://www.baidu.com/", ENDITEM,
"Url=/cache/fpid/ielib_0108.js", "Referer=https://www.baidu.com/#ie=utf-8&f=3&rsv_bp=0&rsv_idx=1&tn=baidu&wd=12306&rsv_pq=faf4e00300174216&rsv_t=2a9aIqLdT8hgPV%2BsUbIy7lqnfNgRsgvcUyp5kYUmOABP5Uak58TC59AumJQ&rsv_enter=0&rsv_sug3=6&rsv_sug1=5&rsv_sug7=100&prefixsug=12%3C06&rsp=0&inputT=13180&rsv_sug4=13190", ENDITEM,
"Url=/cache/fpid/o_0108.swf", "Referer=https://www.baidu.com/", ENDITEM,
LAST);
web_add_cookie("BAIDUID=10CD15634B9C822E1A406B0701F73456:FG=1; DOMAIN=sp3.baidu.com");
web_add_cookie("BIDUPSID=10CD15634B9C822E1A406B0701F73456; DOMAIN=sp3.baidu.com");
web_add_cookie("PSTM=1463446360; DOMAIN=sp3.baidu.com");
web_url("ps_fp.htm",
"URL=https://sp3.baidu.com/-0U_dTmfKgQFm2e88IuM_a/ps_fp.htm?pid=ps&fp=91D54A452F1DACEC875D9FA01A8A1AC5&im=0&wf=1&br=1&qid=d7233e6d00167979&bi=10CD15634B9C822E1A406B0701F73456:FG=1&psid=10CD15634B9C822E1A406B0701F73456",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=https://www.baidu.com/",
"Snapshot=t10.inf",
"Mode=HTML",
LAST);
return 0;
}
我还是发附件吧!请各位给点指导,一直达不到领导要求,我感觉我这工作有点玄乎,现在还在试用期! 百度录制12306代码,请帮我看看啊! 请帮苦逼的我看一看,现在还在试用期的我,一直达不到领导的要求,感觉这份工作有点玄乎了! 额。。。感觉楼主没找到问题的重点所在啊,你发一堆脚本没用的。。。。
有没有成功,你看日志有没有成功响应不就知道了吗 录制完成后,运行一下,看一下服务返回判断脚本
页:
[1]