|
3金钱
购买了HttpHelper万能框架,也购买了那个登录淘宝的实例,想请问一下:
实例中:
Postdata = "ua=&TPL_username=" + u + "&TPL_password=" + p + "&TPL_checkcode=" + txtCode.Text + "&loginsite=0&newlogin=1&TPL_redirect_url=&from=tb&fc=default&style=default&css_style=&tid=&support=000001&CtrlVersion=1%2C0%2C0%2C7&loginType=3&minititle=&minipara=&umto=NaN&pstrong=2&llnick=&sign=&need_sign=&isIgnore=&full_redirect=&popid=&callback=1&guf=¬_duplite_str=&need_user_id=&poy=&gvfdcname=10&gvfdcre=&from_encoding=&sub=&allp=&oslanguage=zh-CN&sr=1440*900&osVer=windows%7C5.1&naviVer=firefox%7C25"
而我实际抓到的:
Postdata = “ua=248UW5TcyMNYQwiAiwZTXFIdUh1SHJOe0BuOG4%3D%7CUm5Ockt0SXxAe0F5RnhCfCo%3D%7CU2xMHDJ%2BH2QJZwBxX39RblZ4WHYqSy1BJlgiDFoM%7CVGhXd1llXGNea1dsVm5Rb1VrXGFDfUB8RnlEcEh2THFIc0d%2BQmw6%7CVWldfS0SMg43DS0TMx17EmlHEUc%3D%7CVmNDbUMV%7CV2NDbUMV%7CWGRYeCgGZhtmH2VScVI2UT5fORtmD2gCawwuRSJHZAFsCWMOdVYyVTpbPR99HWAFYVMoRSlIM141SBZPCTlZJFkgCTYOMHtSbVVqJg8wCDd7BXsFJ1ozVD5XMBJ5HntSbVVqJggoBih%2BKA%3D%3D%7CWWdHFysWLQ0wECwYJRs7DzMNLRElGicHOwYzDi4SJhkkBDgFPAFXAQ%3D%3D%7CWmBAED5hOnwoUThCOEYhWjZiXnBQbExwSHAmcA%3D%3D%7CW2FBET9gO30pUDlDOUcgWzdjX3FRbExwTXlHfih%2B%7CXGZGFjgWNgsrFyoeIBpMGg%3D%3D%7CXWVFFTt7L3cLYQRlGEA9VClIIw0tfUF%2BQHxcYlZiNBQpCScJKRUqHyYcShw%3D%7CXmREFDoUNAgoFCseJhlPGQ%3D%3D%7CX2VFFTt7L3cLYQRlGEA9VClIIw0tETENMgc%2FBlAG%7CQHlEeVlkRHtbZ15iQnxEfl5mUnJIcFBsUGlJdVVsUXFPe1tlUHBMclJsV3dJcSc%3D&TPL_username=taoaigo&TPL_password=&TPL_checkcode=&loginsite=0&newlogin=0&TPL_redirect_url=http%3A%2F%2Fwww.taobao.com%2F&from=tb&fc=default&style=default&css_style=&tid=&support=000001&CtrlVersion=1%2C0%2C0%2C7&loginType=3&minititle=&minipara=&umto=NaN&pstrong=3&llnick=&sign=&need_sign=&isIgnore=&full_redirect=&popid=&callback=&guf=¬_duplite_str=&need_user_id=&poy=&gvfdcname=10&gvfdcre=687474703A2F2F6C6F67696E2E74616F62616F2E636F6D2F6D656D6265722F6C6F676F75742E6A68746D6C3F73706D3D312E373237343535332E3735343839343433372E352E794E475A304426663D746F70266F75743D7472756526726564697265637455524C3D687474702533412532462532467777772E74616F62616F2E636F6D253246&from_encoding=&sub=&TPL_password_2=30000ca1b4d8c2342851c68b32fa67b887ef78e6095d1415b5bf78757802743fc1a7092861e816edab37bfb827473f856a320d6aee1b94b1dab9d6c7adab7988c16750aaaa4e642f0e158ea668a3891ba8013b301f94df475928e014bad4900ef2422e15569b512432f34b2c64416a80839825b9775bd536f53da0b841e13e40&loginASR=1&loginASRSuc=1&allp=&oslanguage=zh-CN&sr=1920*1080&osVer=windows%7C6.1&naviVer=firefox%7C25”
实例中的post内容比抓到的内容少很多,这个 Postdata 到底应该post那些内容出去?如何判断抓到的哪些内容是需要的,哪些内容是不需要的?是否有这方面的教程可以学习一下?
新手上路,请多多指教,感激不尽!
|
|