参考下我写的吧,账号后面不带@163.com
[编码]utf8[/编码]
--------------------------------------------------------------------------------清除cookie
[清除Cookie]http://blog.163.com/[/清除Cookie]
[清除Cookie全部]开启[/清除Cookie全部]
[清除IE缓存]开启[/清除IE缓存]
[登录退出][/登录退出]
--------------------------------------------------------------------------------正式登录
[登录提交网址1]https://reg.163.com/logins.jsp[/登录提交网址1]
[登录提交数据1]username={帐号}%40163.com&password={密码}&type=1&product=163&savelogin=0&url=http%3A%2F%2Fwww.163.com%2Fspecial%2F0077450P%2Flogin_frame.html&url2=http%3A%2F%2Fwww.163.com%2Fspecial%2F0077450P%2Flogin_frame.html&noRedirect=1[/登录提交数据1]
[登录成功特征1]>正在登录,请稍等...<===小杨提示:登录成功,正在跳转[/登录成功特征1]
[登录失败特征1][/登录失败特征1]
[登录提交1参数1]var url = "http://reg.youdao.com/crossdomain.jsp\?username=(.*?)";[/登录提交1参数1]
[登录提交1参数2]var url = "http://www.163.com/special/(.*?)";[/登录提交1参数2]
[登录提交网址2]http://reg.youdao.com/crossdomain.jsp?username={登录提交1参数1}[/登录提交网址2]
[登录提交数据2][/登录提交数据2]
[登录提交网址3]http://www.163.com/special/{登录提交1参数2}[/登录提交网址3]
[登录提交数据3][/登录提交数据3]
--------------------------------------------------------------------------------正式发布
[发布前提交网址1]http://blog.163.com/passportIn.do?entry=163[/发布前提交网址1]
[发布验证码]http://blog.163.com/cap/captcha.jpgx?r=42219[/发布验证码]
[发布协议头1]User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Content-Type: text/plain; charset=UTF-8
Referer:
http://blog.163.com/activation.do?host=activation&username={帐号}@163.com&entry=163[/发布协议头1]
[发布提交网址1]http://blog.163.com/dwr/call/plaincall/UserBean.activateBlog.dwr[/发布提交网址1]
[发布提交数据1]callCount=1
scriptSessionId=${scriptSessionId}187
c0-scriptName=UserBean
c0-methodName=activateBlog
c0-id=0
c0-e1=string:{文章标题}
c0-e2=string:{文章标题}
c0-e3=string:%E4%B8%8A%E6%B5%B7%E5%B8%82
c0-e4=string:%E9%97%B5%E8%A1%8C%E5%8C%BA
c0-e5=string:-%E5%8C%BA%E5%8E%BF-
c0-e6=string:{帐号}
c0-e7=string:
c0-e8=string:
c0-e9=string:
c0-param0=Object_Object:{nickname:reference:c0-e1,spaceName:reference:c0-e2,province:reference:c0-e3,city:reference:c0-e4,region:reference:c0-e5,userName:reference:c0-e6,gender:reference:c0-e7,birthday:reference:c0-e8,name:reference:c0-e9}
c0-param1=string:163
c0-param2=string:{发布验证码}
c0-param3=boolean:false
batchId=588953[/发布提交数据1]
[发布成功特征1]'0',1);===小杨提示:博客开通成功[/发布成功特征1]
[发布失败特征1][/发布失败特征1]
[发布提交网址2]http://blog.163.com/activation.do?go=3&entry=163[/发布提交网址2]
[发布提交2参数1]<li id="(.*?)"[/发布提交2参数1]
[发布提交2参数2]tuid="(.*?)"[/发布提交2参数2]
[发布提交2参数3]stid="(.*?)"[/发布提交2参数3]
[发布协议头3]User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Content-Type: text/plain; charset=UTF-8
Referer:
http://blog.163.com/activation.do?go=3&entry=163[/发布协议头3]
[发布提交网址3]http://blog.163.com/dwr/call/plaincall/UserBean.saveBlogTheme.dwr[/发布提交网址3]
[发布提交数据3]callCount=1
scriptSessionId=${scriptSessionId}187
c0-scriptName=UserBean
c0-methodName=saveBlogTheme
c0-id=0
c0-param0=string:{发布提交2参数1}
c0-param1=string:{发布提交2参数2}
c0-param2=string:{发布提交2参数3}
batchId=440551[/发布提交数据3]
[发布提交网址4]http://blog.163.com/{帐号}/manage/?from=newreg&entry=163[/发布提交网址4]
[发布提交网址5]http://{帐号}.blog.163.com/[/发布提交网址5]
[发布协议头6]User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Content-Type: text/plain; charset=UTF-8
Referer:
http://api.blog.163.com/crossdomain.html?t=20100205[/发布协议头6]
[发布提交网址6]http://api.blog.163.com/{帐号}/dwr/call/plaincall/SetupBeanNew.updateSpaceDesc.dwr[/发布提交网址6]
[发布提交数据6]callCount=1
scriptSessionId=${scriptSessionId}187
c0-scriptName=SetupBeanNew
c0-methodName=updateSpaceDesc
c0-id=0
c0-param0=string:{文章标题}{文章内容}
batchId=692142[/发布提交数据6]
--------------------------------------------------------------------------------获取网址
[成功网址][/成功网址]
[网址库]http://{帐号}.blog.163.com/[/网址库]