1. 程式人生 > >貼吧發帖機器人

貼吧發帖機器人

String cookie="登陸後的cookie";

String url="https://tieba.baidu.com/mo/q---39DEF85E86577DE3E4AA612074198A47%3ASL%3D0%3ANR%3D10%3AFG%3D1--1-3-0--2--wapp_1532493925698_556/submit";

String param="ti=6666666&co=可惜不是你陪我到最後&src=2&word=%E7%81%AB%E7%82%8E%E4%B8%80%E7%AC%91%E5%80%BE%E5%9F%8E&tbs=96f673c4add3499d1532508119&ifpost=1&ifposta=0&post_info=0&tn=baiduWiseSubmit&fid=26314040&verify=&verify_2=&pinf=1_2_0&pic_info=&no_post_pic=0&sub1=%E5%8F%91%E8%B4%B4";

getMETHODhtml(cookie, "utf-8", url, "POST", param, false);