日期:2014-05-18  浏览次数:21057 次

新浪博客自动发博文POST不过去
最近帮公司弄一个自动发博文的软件,但是到最后一步发博文却POST不过去。发送的时候总是返回:
{"code":"B06013","data":null,"ycon_length":null,"jcon_length":null}
不知道这是什么错误。
求大虾指教。。。。

我用火狐BUG抓取到来的COOKIE:
SUS=SID-2771848200-1338378998-GZ-1kt58-ef63f5de1215badda8388ca2146e1148; SUE=es%3D7556fec7d241983641268f5371646466%26ev%3Dv1%26es2%3Da6e60764311781a0a9117fd17d38a5b4%26rs0%3DnW9SNFPT4k4KN%252BAdY7HLrMeUGUti7F1H%252ByBgXBZILi0AwPgDFtNRND52M353yB%252FO0S0YyMfxTIC7XZiR7jz1BTK5vYPeGba1nTxUQmfYg03kY4e1G9kDUg0vbAf6AR2aTaNhxGQxQFMz0Yz9S8jaZWFmKVV%252Ba%252B%252FJ6Kx82tygguw%253D%26rv%3D0; SUP=cv%3D1%26bt%3D1338378998%26et%3D1338465398%26d%3D40c3%26i%3D1148%26us%3D1%26vf%3D0%26vt%3D0%26ac%3D0%26lt%3D1%26uid%3D2771848200%26user%3Dhcqguixm17%2540tom.com%26ag%3D4%26name%3Dhcqguixm17%2540tom.com%26nick%3Deslseq910%26sex%3D%26ps%3D0%26email%3D%26dob%3D%26ln%3Dhcqguixm17%2540tom.com%26os%3D%26fmp%3D%26lcp%3D; U_TRS2=00000058.197b4830.4fc60afd.54b7ed7e; SessionID=gejcu568ckv9guav46fsk2l4f2; SINABLOGNUINFO=2771848200.a5370c08.

POST值:
ptype=&teams=&worldcuptags=&album=&album_cite=&blog_id=&is_album=0&stag=&sno=&book_worksid=&channel_id=&url=&channel=&newsid=&fromuid=&wid=&articletj=&vtoken=f828784901ca2c2bf3a3642c88f8237b&is_media=0&is_stock=0&is_tpl=0&assoc_article=&assoc_style=1&assoc_article_data=&article_BGM=&xRankStatus=&commentGlobalSwitch=&commenthideGlobalSwitch=&articleStatus_preview=1&source=&topic_id=0&topic_channel=0&topic_more=&utf8=1&conlen=13&date_pub=2012-05-30&blog_title=bbbbbb&time=20%3A01%3A37&blog_body=ccccccccccccc&blog_class=00&tag=&x_cms_flag=0&sina_sort_id=117&join_circle=1


我自己的POST:值:

ptype=&teams=&worldcuptags=&album=&album_cite=&blog_id=&is_album=0&stag=&sno=&book_worksid=&channel_id=&url=&channel=&newsid=&fromuid=&wid=&articletj=&vtoken=a79dc6a06d009a3fe9b89dc46a230e72&is_media=0&is_stock=0&is_tpl=0&assoc_article=&assoc_style=1&assoc_article_data=&article_BGM=&xRankStatus=&commentGlobalSwitch=&commenthideGlobalSwitch=&articleStatus_preview=1&source=&topic_id=0&topic_channel=0&topic_more=&utf8=1&conlen=36&date_pub=2012-05-30&blog_title=ffffffffff&time=19%3a47%3a10&blog_body=ffffffffffffffffffffffffffffffffffff&blog_class=00&tag=&x_cms_flag=0&sina_sort_id=117&join_circle=1


自己的COOKIE值:
SUS=SID-2778062884-1338378430-GZ-be97q-b67af1d5415bcfa63ea518e2d1f21148; SUE=es%3D191d37ae9fd3928a7c74603f26d61678%26ev%3Dv1%26es2%3Da561d8f9ca9560a3224c839f08c0009b%26rs0%3DNlDIcD8YsbW7jwV1vGEcwfpdEhgs%252FK%252FmS3uFtRcL%252FN1dYQ%252F0pbZmD0uvNYL7rjYbhGaDmUF0z2bwW9fRPRtq1C8CwuaKE1K4m1JofGOqjuIRXf0eL3NsWTkUIV0nHOHCW8G9jlcWKKcqhci5vkjERz3AXOivfEDHuVH0ELhLR94%253D%26rv%3D0; SUP=cv%3D1%26bt%3D1338378430%26et%3D1338464830%26d%3D40c3%26i%3D1148%26us%3D1%26vf%3D0%26vt%3D0%26ac%3D0%26lt%3D1%26uid%3D2778062884%26user%3Dhltxiiwt19%2540tom.com%26ag%3D4%26name%3Dhltxiiwt19%2540tom.com%26nick%3Deslsev912%26sex%3D%26ps%3D0%26email%3D%26dob%3D%26ln%3Dhltxiiwt19%2540tom.com%26os%3D%26fmp%3D%26lcp%3D; U_TRS2=00000058.bcf530d5.4fc608be.cbb26472; SessionID=fn5c6q20udrgue2co824aqui64; SINABLOGNUINFO=2778062884.a595e024.

内容不一样是因为两次操作了。。。。用对比软件对比,看到POST值不同的就是:time=19%3a47%3a10这里是小写的URL编码,火狐的是大写URL编码。按道理URL编码是不区分大小写的。所以一直都找不到问题究竟出在哪里。。
狂抓…………………………

------解决方案--------------------
遇到了同样的情况.真希望有牛人解决一下.