前幾年寫的規則,目前規則還能夠使用,不過在開始使用時,必須點擊發布兩次,第一次登陸留下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{成功網址}[/網址庫]