前几年写的规则,目前规则还能够使用,不过在开始使用时,必须点击发布两次,第一次登陆留下cookies,第二次可发布。

本规则可以提取到成功网址,不过毕竟直接将数据提交到库,所以不会自动生成首页、栏目等页面的更新。

dedecms群发规则.png

下面是规则,将xxxxxx换成您的网址即可。

[编码]gb2312转utf8[/编码]
--------------------------------------------------------------------------------正式登录
[登录协议头1]Accept: application/x-ms-application, image/jpeg, application/xaml+xml, image/gif, image/pjpeg, application/x-ms-xbap, */*
Referer: http://www.xxxxxxxxxxxxxxx.com/houtai/login.php?gotopage=%2Fhoutai%2F
Accept-Language: zh-CN
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Content-Type: application/x-www-form-urlencoded
Host: www.xxxxxxxxxxxxxxx.com
Connection: Keep-Alive
Cache-Control: no-cache
[/登录协议头1]

[登录提交网址1]http://www.xxxxxxxxxxxxxxx.com/houtai/login.php[/登录提交网址1]
[登录提交数据1]gotopage=%2Fhoutai%2F&dopost=login&adminstyle=newdedecms&userid={帐号}&pwd={密码}&sm1=%E7%99%BB%E5%BD%95[/登录提交数据1]
[登录成功特征1]成功登录,正在转向===登录成功[/登录成功特征1]
[登录失败特征1][/登录失败特征1]
--------------------------------------------------------------------------------正式发布
[发布前提交网址1]http://www.xxxxxxxxxxxxxxx.com/houtai/article_add.php?channelid=1[/发布前提交网址1]
[发布前提交1参数1]<td><input name="weight" type="text" id="weight" style="width:50px" value="(.*?)" />[/发布前提交1参数1] 
[发布前提交1参数2]<input type='text' name='click' value='(.*?)' style[/发布前提交1参数2] --click

[发布协议头1]Content-Type: multipart/form-data; boundary=---------------------------7e032a103101e[/发布协议头1]
[发布提交网址1]http://www.xxxxxxxxxxxxxxx.com/houtai/article_add.php[/发布提交网址1]
[发布提交数据1]
-----------------------------7e032a103101e
Content-Disposition: form-data; name="channelid"

1
-----------------------------7e032a103101e
Content-Disposition: form-data; name="dopost"

save
-----------------------------7e032a103101e
Content-Disposition: form-data; name="title"

{文章标题}
-----------------------------7e032a103101e
Content-Disposition: form-data; name="shorttitle"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="redirecturl"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="tags"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="weight"

96
-----------------------------7e032a103101e
Content-Disposition: form-data; name="picname"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="litpic"; filename=""
Content-Type: application/octet-stream


-----------------------------7e032a103101e
Content-Disposition: form-data; name="source"

屋面
-----------------------------7e032a103101e
Content-Disposition: form-data; name="writer"

网络
-----------------------------7e032a103101e
Content-Disposition: form-data; name="typeid"

2
-----------------------------7e032a103101e
Content-Disposition: form-data; name="typeid2"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="keywords"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="autokey"

1
-----------------------------7e032a103101e
Content-Disposition: form-data; name="description"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="dede_addonfields"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="remote"

1
-----------------------------7e032a103101e
Content-Disposition: form-data; name="autolitpic"

1
-----------------------------7e032a103101e
Content-Disposition: form-data; name="sptype"

hand
-----------------------------7e032a103101e
Content-Disposition: form-data; name="spsize"

5
-----------------------------7e032a103101e
Content-Disposition: form-data; name="body"

{文章内容}
-----------------------------7e032a103101e
Content-Disposition: form-data; name="voteid"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="notpost"

0
-----------------------------7e032a103101e
Content-Disposition: form-data; name="click"

188
-----------------------------7e032a103101e
Content-Disposition: form-data; name="sortup"

0
-----------------------------7e032a103101e
Content-Disposition: form-data; name="color"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="arcrank"

0
-----------------------------7e032a103101e
Content-Disposition: form-data; name="money"

0
-----------------------------7e032a103101e
Content-Disposition: form-data; name="pubdate"

{时间=年}-{时间=月}-{时间=日} {时间=时}:{时间=分}:{时间=秒}
-----------------------------7e032a103101e
Content-Disposition: form-data; name="ishtml"

1
-----------------------------7e032a103101e
Content-Disposition: form-data; name="filename"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="templet"


-----------------------------7e032a103101e
Content-Disposition: form-data; name="imageField.x"

46
-----------------------------7e032a103101e
Content-Disposition: form-data; name="imageField.y"

13
-----------------------------7e032a103101e--
[/发布提交数据1]
[发布成功特征1]成功发布文章!===成功发布文章![/发布成功特征1]
[发布失败特征1]请不要发布重复文档===请不要发布重复文档[/发布失败特征1] 
--------------------------------------------------------------------------------获取网址
[成功网址]<a href='(.*?)' target='_blank'><u>查看文章</u></a>[/成功网址]
[网址库]http://www.xxxxxxxxxxxxxxx.com{成功网址}[/网址库]