|
在这下面3个步骤中,关于第2步的cooike,我发现有个js会生成一些新的cooike,就是第一步返回的cooike以外的。
1:访问注册页面,获取必要信息。
2:访问验证码URL,获取验证码图片,放到winform的控件上
3:输入验证码字符串,然后提交注册数据。
第2步生成的cooike:
| __jda=57271081.982606266.1392616152.1392616152.1392616152.1; __jdb=57271081.3.982606266|1.1392616152; __jdc=57271081; __jdv=57271081|direct|-|none|-; __jdu=982606266; _jzqco=%7C%7C%7C%7C%7C1.555805604.1392616152281.1392616152281.1392616152281.1392616152281.1392616152281.0.0.0.1.1 | 这些cooike能不能直接使用?就是把他写成字符串,然后加到第一步返回的cooike上
然后去提交第2步。
另外,随着页面验证码的刷新,会有以下2个url的请求,那么我是不是也必须要请求这2个链接呢?
https://mercuryssl.jd.com/log.gi ... =&sid=982606266|1&v=je%3D0%24sc%3D24-bit%24sr%3D1280x1024%24ul%3Dzh-cn%24cs%3Dgbk%24dt%3D%E6%B3%A8%E5%86%8C-%E4%B8%AA%E4%BA%BA%E7%94%A8%E6%88%B7%24hn%3Dreg.jd.com%24fl%3D11.9%20r900%24os%3Dwin%24br%3Dfirefox%24bv%3D26.0%24wb%3D1392616152%24xb%3D1392616152%24yb%3D1392616152%24zb%3D1%24cb%3D3%24usc%3Ddirect%24ucp%3D-%24umd%3Dnone%24uct%3D-%24lt%3D0%24ct%3D1392616183878%24tad%3D-&ref=&rm=0.3459771659104478
https://cscssl.jd.com/log.ashx?t ... 6&sid=982606266|1&referrer=-&jinfo=UA-J2011-1||0||24-bit||1280x1024||zh-cn||gbk||%E6%B3%A8%E5%86%8C-%E4%B8%AA%E4%BA%BA%E7%94%A8%E6%88%B7||reg.jd.com||11.9%20r900||win||firefox||26.0||1392616152||1392616152||1392616152||1||3||direct||-||none||-||0||-&data=1392616183878&callback=jsonp1392616183564&_=1392616183913
|
|