源码如下:
.版本 2
.支持库 internet
cookies = 编辑框2.内容
网址 = “http://tieba.baidu.com/f/commit/post/add”
子网页源码 = 到文本 (编码_编码转换对象 (HTTP读文件 (“http://tieba.baidu.com/p/” + 贴号 [K])))
fid = 文本_取出中间文本 (子网页源码, “fid:'”, “',”)
floor_num = 到文本 (到数值 (回复数 [K]) + 1)
tbs源码 = 到文本 (网页_访问 (“http://tieba.baidu.com/dc/common/tbs”, 1, cookies))
tbs = 文本_取出中间文本 (tbs源码, #常量1, #常量2)
post数据 = “ie=utf-8&kw=” + 贴吧名 + “&fid=” + fid + “&tid=” + 贴号 [K] + “&vcode_md5=&floor_num=” + floor_num + “&rich_text=1&tbs=” + tbs + “&content=” + 编码_URL编码 (“12345667”, 真) + “%5B&files=%5B%5D&mouse_pwd=109%2C111%2C110%2C101%2C112%2C110%2C109%2C100%2C105%2C85%2C109%2C112%2C108%2C112%2C109%2C112%2C108%2C112%2C109%2C112%2C108%2C112%2C109%2C112%2C108%2C112%2C109%2C112%2C108%2C85%2C109%2C108%2C108%2C105%2C110%2C106%2C85%2C109%2C101%2C110%2C108%2C112%2C109%2C108%2C100%2C108%2C” + 时间_取现行时间戳 () + “0&mouse_pwd_t=” + 时间_取现行时间戳 () + “&mouse_pwd_isclick=0&__type__=reply”
网页访问底层 (网址, “post”, post数据, cookies)
返回错误:
{"no":308,"err_code":230308,"error":"","data":{"autoMsg":"","fid":1550627,"fname":"\u947f\u5a45\u59f3\u6fe1","tid":3274621579,"is_login":1,"content":"12345667[","vcode":{"need_vcode":0,"str_reason":"","captcha_vcode_str":"","captcha_code_type":0,"userstatevcode":0},"second_class_id":""}}”
被调试易程序运行完毕
.版本 2
.支持库 internet
cookies = 编辑框2.内容
网址 = “http://tieba.baidu.com/f/commit/post/add”
子网页源码 = 到文本 (编码_编码转换对象 (HTTP读文件 (“http://tieba.baidu.com/p/” + 贴号 [K])))
fid = 文本_取出中间文本 (子网页源码, “fid:'”, “',”)
floor_num = 到文本 (到数值 (回复数 [K]) + 1)
tbs源码 = 到文本 (网页_访问 (“http://tieba.baidu.com/dc/common/tbs”, 1, cookies))
tbs = 文本_取出中间文本 (tbs源码, #常量1, #常量2)
post数据 = “ie=utf-8&kw=” + 贴吧名 + “&fid=” + fid + “&tid=” + 贴号 [K] + “&vcode_md5=&floor_num=” + floor_num + “&rich_text=1&tbs=” + tbs + “&content=” + 编码_URL编码 (“12345667”, 真) + “%5B&files=%5B%5D&mouse_pwd=109%2C111%2C110%2C101%2C112%2C110%2C109%2C100%2C105%2C85%2C109%2C112%2C108%2C112%2C109%2C112%2C108%2C112%2C109%2C112%2C108%2C112%2C109%2C112%2C108%2C112%2C109%2C112%2C108%2C85%2C109%2C108%2C108%2C105%2C110%2C106%2C85%2C109%2C101%2C110%2C108%2C112%2C109%2C108%2C100%2C108%2C” + 时间_取现行时间戳 () + “0&mouse_pwd_t=” + 时间_取现行时间戳 () + “&mouse_pwd_isclick=0&__type__=reply”
网页访问底层 (网址, “post”, post数据, cookies)
返回错误:
{"no":308,"err_code":230308,"error":"","data":{"autoMsg":"","fid":1550627,"fname":"\u947f\u5a45\u59f3\u6fe1","tid":3274621579,"is_login":1,"content":"12345667[","vcode":{"need_vcode":0,"str_reason":"","captcha_vcode_str":"","captcha_code_type":0,"userstatevcode":0},"second_class_id":""}}”
被调试易程序运行完毕