Aymen 385 Posted March 30, 2015 Author Report Share Posted March 30, 2015 Hello Aymen, could you please send us: V2.5.7? Looks like Auto Redirect is fixed there?http://bugs.ubot-plugins.com/view.php?id=31 My old dropbox link doesn't work anymore. :-( ThanksDan The update will be released in a day or two 1 Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted March 31, 2015 Report Share Posted March 31, 2015 Hey guys, anyone know how to fully load this page https://www.facebook.com/healthdigest/info?tab=page_info on http get?I tried it but the page info isnt loading. Here's a sample code: loop(1) { set(#source,$plugin function("HTTP post.dll", "$http get", "https://www.facebook.com/healthdigest/info?tab=page_info", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36", "", "", ""),"Global") load html(#source) } you can test it without logging in on facebook. Thanks Quote Link to post Share on other sites
Aymen 385 Posted March 31, 2015 Author Report Share Posted March 31, 2015 Http Post Plugin Update V 2.5.7- Fixed http auto redirect error Quote Link to post Share on other sites
jamesfar 15 Posted April 1, 2015 Report Share Posted April 1, 2015 Does 2.5.7 download link send out yet Aymen? My last version is 2.5.5 I even did not get the 2.5.6 download link Quote Link to post Share on other sites
jamesfar 15 Posted April 1, 2015 Report Share Posted April 1, 2015 Double post. Bad Connection. Sorry Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted April 1, 2015 Report Share Posted April 1, 2015 I didnt receive the version update via email as well. Quote Link to post Share on other sites
Aymen 385 Posted April 2, 2015 Author Report Share Posted April 2, 2015 There is a possibility it landed on your spam folder!If you didn't get it PM me i'll send it over! Quote Link to post Share on other sites
acamso 55 Posted April 2, 2015 Report Share Posted April 2, 2015 Aymen, for some reason I haven't been on the plugin's mailing list for some time. It never lands in the spam box either, if you could please add me on and send the latest version Id appreciate it acamso[at]gmail.com Quote Link to post Share on other sites
wiseguys 3 Posted April 2, 2015 Report Share Posted April 2, 2015 Is there a quick video or any sample code to show how to use the '$http multipart post' function? It doesn't seem to be covered in the documentation or any of the sample code files. thanks! Quote Link to post Share on other sites
sunny9495 42 Posted April 3, 2015 Report Share Posted April 3, 2015 Here is the Sample Code Of Multipart Post plugin command("HTTP post.dll", "Clear Cookies", "https://sunny9495.wufoo.com/") set(#get,$plugin function("HTTP post.dll", "$http get", "https://sunny9495.wufoo.com/forms/ubottest/", $plugin function("HTTP post.dll", "$http useragent string", "Chrome 32.0 Win7 64-bit"), "", "", ""),"Global") set(#idstamp,$plugin function("HTTP post.dll", "$xpath parser", #get, "//input[@id=\'idstamp\']", "value", "HTML"),"Global") set(#Post,$plugin function("HTTP post.dll", "$http multipart post", "https://sunny9495.wufoo.com/forms/ubottest/", "Field1=test6&Field2=test6@gmail.com&idstamp={#idstamp}", $plugin function("HTTP post.dll", "$http useragent string", "Chrome 32.0 Win7 64-bit"), "https://sunny9495.wufoo.com/forms/ubottest/", "", ""),"Global") load html(#Post) Is there a quick video or any sample code to show how to use the '$http multipart post' function? It doesn't seem to be covered in the documentation or any of the sample code files. thanks! Quote Link to post Share on other sites
acamso 55 Posted April 7, 2015 Report Share Posted April 7, 2015 Aymen, any update on the http clear headers null error and the cookies string limit of 20? Quote Link to post Share on other sites
wiseguys 3 Posted April 7, 2015 Report Share Posted April 7, 2015 Having an issue trying to upload a photo to my Yahoo Group, have gone over everything in Fiddler and can only find one discrepancy but no idea how to modify it using this plugin, any help is greatly appreciated Fiddler uploading Via Chrome (successful) POST https://groups.yahoo.com/api/v3/groups/chechi/albums/photo?gapi_crumb=K0GBX9v2RYp HTTP/1.1 Host: groups.yahoo.com Connection: keep-alive Content-Length: 57810 Origin: https://groups.yahoo.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36 Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryGnuT8YN1W7e2AhNA Accept: */* Referer: https://groups.yahoo.com/neo/groups/chechi/photos/albums Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.8 Cookie: AO=u=1; ywandp=1000714451879%3A620760928; V=v=0.7&m=0&ccOptions=%7B%22show%22%3Afalse%2C%22lang%22%3A%22en%22%2C%22fontSize%22%3A24%2C%22fontName%22%3A%22Helvetica%20Neue%2CHelvetica%2CArial%2C_sans%22%2C%22fontColor%22%3A%22%23ffffff%22%2C%22fontOpacity%22%3A1%2C%22fontEffect%22%3A%22none%22%2C%22bgColor%22%3A%22%23000000%22%2C%22bgOpacity%22%3A0.75%7D; DSS=ts=1427969741&cnt=2; U=mt=sTCesp2MhY8DCzhmtwR1gvAJilkua13tlsNk7UP2&ux=spRHVB&un=41bpme9df2h64; ucs=nt=1427972339174&fs=1; B=97bs1p5aa6635&b=4&d=KDss6AZpYEKnmGR2WVSLmw3AbacOkAEashHobw--&s=v7&i=OGH.ny.aVbk8rx6joCyj; F=a=2V4w8tcMvSxS7D_vbmoGu2kI8ky.WcB4f_86pyr8MYkGjAiYCGFQ3_E0wQiHgf6IBj1o9r70WVGHc6Z6QLEF2QjqeiVM2G8hErtDSw9AwTa5SQimAF02ANCeUlvTYhqSVNhVDvoCC4kNu2j7ukhSL0BMPTWaw.RB9hH3&b=himB&c=DxtXXHUstC1inGOS_jxD.2sVFqevCradSh.Xm94BcteKSTkO7i1Fb.UlON.POQliWZPyQ_OQ_mYFuRiIqO2siu6D; PH=l=en-US&fn=jtNVocCL8rjwo_ZC.g0w&i=us; SSL=v=1&s=Jdj64mVGj8XhM9mUrT6nsMH2JKUocDy56lEhk4TejzocwGW.KeoBvIuJA7qiu2gbH3296E_lGmajpRLAEGgk6A--&kv=0; T=z=8j5HVB83gMVBJPeylS.MBPfNjU3TwY2NjNPMzYwTjYzNjQxMD&a=QAE&sk=DAAEbtlMwVZfgI&ks=EAAcRzwwMicIOzuaRqmI56Shg--~E&d=c2wBTVRJd09BRXhNVFE0TkRFM09URTBNVE0yTnpJd05UYy0BYQFRQUUBZwFXS1I0WEVQRjM2Q1RQQzRNTEs1WFo0T1BTVQFzY2lkAVdGVWEwei5oQzhrckV2ZTZGc1RuRnpZNVlsQS0BYWMBQUF4YlRnUDcBdGlwAWdCRDAyRAFzYwFkZXNrdG9wX3dlYgFmcwFxeWFaeFFKVXVHQzcBenoBOGo1SFZCQTdF; Y=v=1&n=5ubsj79qthv8i&l=b0jeo0m8bb80ci_rzzq/o&p=f2q0tqu012000000&r=qh&lg=en-US&intl=us; YLS=v=1&p=1&n=1; YP=v=AwAAY&d=AEkAMEYCIQDUtIbFJXe7E6y.E15qm32POwFetETrtMQ1YZ6rlZa_wgIhAMambm6uT_nJEHgAc1GMMNSNN4FVxe2j8nC8.SrNSOmCAA--; ypcdb=f261f1c323b3f72ea6462682beb09b00 ------WebKitFormBoundaryGnuT8YN1W7e2AhNA Content-Disposition: form-data; name="token" gbXnzoLBA7mmTeZhkCrgV.VouKVyUks1VDSp2CYU.uTFCw286lk6aDC2jncmnmaJY.mFANqrWKMwFuvXdormj3QyHqjpQA9FszaD_JYYCMNZdHa9yCK5ScKOX_7lIikHOvuNv339EmtRrz26Mhk1Kk27tHIEpP7xM.LvfhAg6ddXR3..tOj5eAjgCx93j584hwQpl5ObT14mbaXTfCl8aqwmX5xrgvrMsf1sCwUsaEmTuIo1db2CCr61zZ3ro3XMYI__5A8MZ_We9e3RMakoOSJKEi.FdP_6li4n0cjbjkgbIBs2dERkNU5kCBF5QmW8SUefPVvCnhsmSz_dxESDzChfP4Ru31xzS1tv6DGyqTa_NuIJ0AZ1FeUC3XCnAXg5FtrxYjomeHdLxo8EE7TAd16G2RUEkwNgcce1qlQ.y8jyOzXvr6LGj2rBixVSy3AbziI5jw0MwHCWjLHa4qw7l9TvgrYzIFDUsiUnK1RMwYciWuTE2o8x4YCeubg2m.RQLgQSeW1J5mF5cqJ755hznEfceEh5RLKWdSO.qu3k5daEp8IfkpAc9c0fIZd9F90vb0pM6F_k4ebyIbTD8zYye6wLMnhLRW7GgJ_7sFog2irTJ_LEhk2ryLSUMKsVrvxGoc4dHg6Be4U6vTlhXOCRrDazLm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fyjSp_cJsoqrA2FUZ2wqGcLCcDKMHG0Mr_gW2z8gEmZUErJttyz8E6wTlWJtT3LDOqRd5u04K7NWkow5qOzZ6wDVZw62Tem63s8oYgYk_LiAgUtuLhbKY4Mqgrc0DRv1yZ._4vbXI0PNPy27KUzyhQhpNXDxMDV8OhQJ00R84BvQyzivukmfXL9tO3kcdWKoZqICovu_kb7XhiXXYcaFgn_SPegaHoDvU8ZGEhR0Z26kUmhwAd2.nvWR_uV.7RGts.Zi5AaMhZWWmgEe.okGO7E6E.JOJM- ------WebKitFormBoundaryGnuT8YN1W7e2AhNA Content-Disposition: form-data; name="fileData"; filename="s2.jpg" Content-Type: image/jpeg Fiddler uploading via uBot (returns Error uploading file : The remote server returned an error: (500) Internal Server Error.) POST https://groups.yahoo.com/api/v3/groups/chechi/albums/photo?gapi_crumb=4PzlxCEHNCG HTTP/1.1 Content-Type: multipart/form-data; boundary=---------------------------8d23f29c92d8784 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36 Referer: https://groups.yahoo.com/neo/groups/chechi/photos/albums Accept: */* Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*; q=0.7 Host: groups.yahoo.com Cookie: B=fh74v9hai80a0&b=4&d=KDss6AZpYEKnmGR2WVSLmw3AbacOkAEashHobw--&s=7n&i=ip6ajnM6XY6pGPXfoLui; AO=u=1; F=a=kKfVLnsMvS1YU0ejYljnJ8NUqTTLlCbNP9wK7r8hyGDqk3dgnUoRGF51Xr4DTAQePYv3ULI-&b=2xY3; PH=fn=Us91zJo9a4OO3V6ESdAP&l=en-US&i=us; SSL=v=1&s=L.aUanmu8ZC9cWDlPFxQHOJ2jWvWMqzEPsiJxILxG4apRkNBHY4CcS6ctDl6F.6agF8Sk9_rQt6Hg_lqhsqDIg--&kv=0; T=z=KFAJVBKZnNVBFSdx/q.vM2KNjU3TwY2NjNPMzYwTjYzNjQxMD&a=QAE&sk=DAAcXGbu2/PXGb&ks=EAAVZSXopkPc3M.5LO0Z75IdQ--~E&d=c2wBTVRJd09BRXhNVFE0TkRFM09URTBNVE0yTnpJd05UYy0BYQFRQUUBZwFXS1I0WEVQRjM2Q1RQQzRNTEs1WFo0T1BTVQFzY2lkAXNQRjN3c0pwQjAxcjg2WXJlUW9lOTBnMlVKcy0BYWMBQU1fQUVDYlcBdGlwAWdCRDAyRAFzYwFkZXNrdG9wX3dlYgFmcwF5eFhwc05OVkpBRksBenoBS0ZBSlZCQTdF; Y=v=1&n=5ubsj79qthv8i&l=b0jeo0m8bb80ci_rzzq/o&p=f2q0tqu012000000&r=qh&lg=en-US&intl=us; YLS=v=1&p=1&n=1; YP=v=AwAAY&d=AEkAMEYCIQDyC0_B4ce1hEQf1LJlG95DsgqGiF1OSprUii8adMp1jwIhAPrTugXBgu4o9MkSI6nPjgU5nQ0x2EzoYexTxIIy8lOjAA-- Content-Length: 56887 -----------------------------8d23f29c92d8784 Content-Disposition: form-data; name="token" U5wUx0DBA7kQsOxZ5w9vBqJBZ3ZKIkftPAqN9rt4qN_sD_JjlzGpPNbwVaOuUMwfNeZ5AJqkyU_JdxrO8.bF09w2_U1KfmPRcENIwsT520LigMh5qkmsuNhdaYmbg9qfJok2hgQlyoYcVX9gva60rcper9WVejSpdxQOlaEqKaLoMJCR2PivjNBi13jvINp4r0dCcJfmeAd2lo1TU1FW_2y4Mr5YQFDnnLVz349UpBArhuaBytylp2iP01Jyi24GLodKgcbKEG6ilk..nMYFG6OVloTfUMOi0Bn390IsOg_Yyzem9nRCTsl.zAhH_PVhoOZGLC5KIzZ.l3ZV80XN.gBOnhjSoIkEiyHdlvn1X3s27HRssZtr7zoYkjRHEwODMnrueRZxCr2jhnQZweVQdn7_h0IVSuAUdpcQUbEafNAAJEeVnyBK8m_enJZFnjXV2r6QRAcqpXqf5Cnfeg9yYEiFdvU8Qk5E0MJ1DgZUQe_o2A6C8MWy9FiEzunFbSjcLnKRB7IlK1nhPcYdmxOh24hcqziQ32vKt1C4T..TnRE3LHmChsuH2fN_wpXQsLKkr2nUbAcBKXiTCZrhlTzOlw7zIACIecmG34PHaYsEkBzjeEpsYc8jfWlQOPCmCIAfRRmzQ_aPHJOUn6h0xBMVLAXW3DMth6xrK31hBEzyYEocrAQYlDMC6zqc0kpkOlvdqY0O7JVkKmPKwoqywXs_dGcuijDNlISzTva4bCX5r821M0ejSkiMrayPLj3AsJWUeKiZkiULTNJXtGe3IFzTvW.Mslbn3e4z_yb2EDRJnk8eYK1kWc8zK3YKQu5kw1d0shTlGHicBGvscaRPVWYC0eUlKhwiAWJVWSjEHBqNS1NwFRO6Q3YdiRYC42lvaf4W3abWyc2UyyMQIjhcmTxyidWoStSKF08rHLg7Dv95zA5xAMqUd3Wj7lFF2bN4a4LnnEsyNYNEej0yYG669aOrYdGkmUN44lI60xy0ojE6MBa6x_80kgGwcd_uOw0.EHPhu2wbPnE6N79EtVxKLImCmEiSF9R7ik7ETnQFTGs3UlrO_z8Je6tYItoGx_s3zRsyZhuzgS_hIsh6ZA-- -----------------------------8d23f29c92d8784 Content-Disposition: form-data; name="fileData"; filename="c:\s2.jpg" Content-Type: image/jpeg Response for the error is as follows: (JSON) errorMessage=Internal error: Error reading input Seems the difference is in the following values:Good: Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryGnuT8YN1W7e2AhNABad: Content-Type: multipart/form-data; boundary=---------------------------8d23f29c92d8784 Is there a way to modify this using the http post plugin? Thanks Quote Link to post Share on other sites
Bot-Factory 602 Posted April 7, 2015 Report Share Posted April 7, 2015 Having an issue trying to upload a photo to my Yahoo Group, have gone over everything in Fiddler and can only find one discrepancy but no idea how to modify it using this plugin, any help is greatly appreciated Fiddler uploading Via Chrome (successful) POST https://groups.yahoo.com/api/v3/groups/chechi/albums/photo?gapi_crumb=K0GBX9v2RYp HTTP/1.1 Host: groups.yahoo.com Connection: keep-alive Content-Length: 57810 Origin: https://groups.yahoo.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36 Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryGnuT8YN1W7e2AhNA Accept: */* Referer: https://groups.yahoo.com/neo/groups/chechi/photos/albums Accept-Encoding: gzip, deflate Accept-Language: en-US,en;q=0.8 Cookie: AO=u=1; ywandp=1000714451879%3A620760928; V=v=0.7&m=0&ccOptions=%7B%22show%22%3Afalse%2C%22lang%22%3A%22en%22%2C%22fontSize%22%3A24%2C%22fontName%22%3A%22Helvetica%20Neue%2CHelvetica%2CArial%2C_sans%22%2C%22fontColor%22%3A%22%23ffffff%22%2C%22fontOpacity%22%3A1%2C%22fontEffect%22%3A%22none%22%2C%22bgColor%22%3A%22%23000000%22%2C%22bgOpacity%22%3A0.75%7D; DSS=ts=1427969741&cnt=2; U=mt=sTCesp2MhY8DCzhmtwR1gvAJilkua13tlsNk7UP2&ux=spRHVB&un=41bpme9df2h64; ucs=nt=1427972339174&fs=1; B=97bs1p5aa6635&b=4&d=KDss6AZpYEKnmGR2WVSLmw3AbacOkAEashHobw--&s=v7&i=OGH.ny.aVbk8rx6joCyj; F=a=2V4w8tcMvSxS7D_vbmoGu2kI8ky.WcB4f_86pyr8MYkGjAiYCGFQ3_E0wQiHgf6IBj1o9r70WVGHc6Z6QLEF2QjqeiVM2G8hErtDSw9AwTa5SQimAF02ANCeUlvTYhqSVNhVDvoCC4kNu2j7ukhSL0BMPTWaw.RB9hH3&b=himB&c=DxtXXHUstC1inGOS_jxD.2sVFqevCradSh.Xm94BcteKSTkO7i1Fb.UlON.POQliWZPyQ_OQ_mYFuRiIqO2siu6D; PH=l=en-US&fn=jtNVocCL8rjwo_ZC.g0w&i=us; SSL=v=1&s=Jdj64mVGj8XhM9mUrT6nsMH2JKUocDy56lEhk4TejzocwGW.KeoBvIuJA7qiu2gbH3296E_lGmajpRLAEGgk6A--&kv=0; T=z=8j5HVB83gMVBJPeylS.MBPfNjU3TwY2NjNPMzYwTjYzNjQxMD&a=QAE&sk=DAAEbtlMwVZfgI&ks=EAAcRzwwMicIOzuaRqmI56Shg--~E&d=c2wBTVRJd09BRXhNVFE0TkRFM09URTBNVE0yTnpJd05UYy0BYQFRQUUBZwFXS1I0WEVQRjM2Q1RQQzRNTEs1WFo0T1BTVQFzY2lkAVdGVWEwei5oQzhrckV2ZTZGc1RuRnpZNVlsQS0BYWMBQUF4YlRnUDcBdGlwAWdCRDAyRAFzYwFkZXNrdG9wX3dlYgFmcwFxeWFaeFFKVXVHQzcBenoBOGo1SFZCQTdF; Y=v=1&n=5ubsj79qthv8i&l=b0jeo0m8bb80ci_rzzq/o&p=f2q0tqu012000000&r=qh&lg=en-US&intl=us; YLS=v=1&p=1&n=1; YP=v=AwAAY&d=AEkAMEYCIQDUtIbFJXe7E6y.E15qm32POwFetETrtMQ1YZ6rlZa_wgIhAMambm6uT_nJEHgAc1GMMNSNN4FVxe2j8nC8.SrNSOmCAA--; ypcdb=f261f1c323b3f72ea6462682beb09b00 ------WebKitFormBoundaryGnuT8YN1W7e2AhNA Content-Disposition: form-data; name="token" gbXnzoLBA7mmTeZhkCrgV.VouKVyUks1VDSp2CYU.uTFCw286lk6aDC2jncmnmaJY.mFANqrWKMwFuvXdormj3QyHqjpQA9FszaD_JYYCMNZdHa9yCK5ScKOX_7lIikHOvuNv339EmtRrz26Mhk1Kk27tHIEpP7xM.LvfhAg6ddXR3..tOj5eAjgCx93j584hwQpl5ObT14mbaXTfCl8aqwmX5xrgvrMsf1sCwUsaEmTuIo1db2CCr61zZ3ro3XMYI__5A8MZ_We9e3RMakoOSJKEi.FdP_6li4n0cjbjkgbIBs2dERkNU5kCBF5QmW8SUefPVvCnhsmSz_dxESDzChfP4Ru31xzS1tv6DGyqTa_NuIJ0AZ1FeUC3XCnAXg5FtrxYjomeHdLxo8EE7TAd16G2RUEkwNgcce1qlQ.y8jyOzXvr6LGj2rBixVSy3AbziI5jw0MwHCWjLHa4qw7l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.mWchMt_b3b6Fefa5XPec6lFYYy7duvwSDCcoNbKIp2beXBgj.spo_GvvEaWqirz1PB5Ci9oiMZij5IAMnAwSLlgK3foNp43_Ifall48tUUXutOyqV8swp3opGwHwMi41Y5FUvBc5uQbP7WpEfXYLVZqSg081GLGmYGLIK4HuHFgWFg8y_iAM__0l1dpQwBQSmjSZmVU9.fxfyjSp_cJsoqrA2FUZ2wqGcLCcDKMHG0Mr_gW2z8gEmZUErJttyz8E6wTlWJtT3LDOqRd5u04K7NWkow5qOzZ6wDVZw62Tem63s8oYgYk_LiAgUtuLhbKY4Mqgrc0DRv1yZ._4vbXI0PNPy27KUzyhQhpNXDxMDV8OhQJ00R84BvQyzivukmfXL9tO3kcdWKoZqICovu_kb7XhiXXYcaFgn_SPegaHoDvU8ZGEhR0Z26kUmhwAd2.nvWR_uV.7RGts.Zi5AaMhZWWmgEe.okGO7E6E.JOJM- ------WebKitFormBoundaryGnuT8YN1W7e2AhNA Content-Disposition: form-data; name="fileData"; filename="s2.jpg" Content-Type: image/jpeg Fiddler uploading via uBot (returns Error uploading file : The remote server returned an error: (500) Internal Server Error.) POST https://groups.yahoo.com/api/v3/groups/chechi/albums/photo?gapi_crumb=4PzlxCEHNCG HTTP/1.1 Content-Type: multipart/form-data; boundary=---------------------------8d23f29c92d8784 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36 Referer: https://groups.yahoo.com/neo/groups/chechi/photos/albums Accept: */* Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*; q=0.7 Host: groups.yahoo.com Cookie: B=fh74v9hai80a0&b=4&d=KDss6AZpYEKnmGR2WVSLmw3AbacOkAEashHobw--&s=7n&i=ip6ajnM6XY6pGPXfoLui; AO=u=1; F=a=kKfVLnsMvS1YU0ejYljnJ8NUqTTLlCbNP9wK7r8hyGDqk3dgnUoRGF51Xr4DTAQePYv3ULI-&b=2xY3; PH=fn=Us91zJo9a4OO3V6ESdAP&l=en-US&i=us; SSL=v=1&s=L.aUanmu8ZC9cWDlPFxQHOJ2jWvWMqzEPsiJxILxG4apRkNBHY4CcS6ctDl6F.6agF8Sk9_rQt6Hg_lqhsqDIg--&kv=0; T=z=KFAJVBKZnNVBFSdx/q.vM2KNjU3TwY2NjNPMzYwTjYzNjQxMD&a=QAE&sk=DAAcXGbu2/PXGb&ks=EAAVZSXopkPc3M.5LO0Z75IdQ--~E&d=c2wBTVRJd09BRXhNVFE0TkRFM09URTBNVE0yTnpJd05UYy0BYQFRQUUBZwFXS1I0WEVQRjM2Q1RQQzRNTEs1WFo0T1BTVQFzY2lkAXNQRjN3c0pwQjAxcjg2WXJlUW9lOTBnMlVKcy0BYWMBQU1fQUVDYlcBdGlwAWdCRDAyRAFzYwFkZXNrdG9wX3dlYgFmcwF5eFhwc05OVkpBRksBenoBS0ZBSlZCQTdF; Y=v=1&n=5ubsj79qthv8i&l=b0jeo0m8bb80ci_rzzq/o&p=f2q0tqu012000000&r=qh&lg=en-US&intl=us; YLS=v=1&p=1&n=1; YP=v=AwAAY&d=AEkAMEYCIQDyC0_B4ce1hEQf1LJlG95DsgqGiF1OSprUii8adMp1jwIhAPrTugXBgu4o9MkSI6nPjgU5nQ0x2EzoYexTxIIy8lOjAA-- Content-Length: 56887 -----------------------------8d23f29c92d8784 Content-Disposition: form-data; name="token" U5wUx0DBA7kQsOxZ5w9vBqJBZ3ZKIkftPAqN9rt4qN_sD_JjlzGpPNbwVaOuUMwfNeZ5AJqkyU_JdxrO8.bF09w2_U1KfmPRcENIwsT520LigMh5qkmsuNhdaYmbg9qfJok2hgQlyoYcVX9gva60rcper9WVejSpdxQOlaEqKaLoMJCR2PivjNBi13jvINp4r0dCcJfmeAd2lo1TU1FW_2y4Mr5YQFDnnLVz349UpBArhuaBytylp2iP01Jyi24GLodKgcbKEG6ilk..nMYFG6OVloTfUMOi0Bn390IsOg_Yyzem9nRCTsl.zAhH_PVhoOZGLC5KIzZ.l3ZV80XN.gBOnhjSoIkEiyHdlvn1X3s27HRssZtr7zoYkjRHEwODMnrueRZxCr2jhnQZweVQdn7_h0IVSuAUdpcQUbEafNAAJEeVnyBK8m_enJZFnjXV2r6QRAcqpXqf5Cnfeg9yYEiFdvU8Qk5E0MJ1DgZUQe_o2A6C8MWy9FiEzunFbSjcLnKRB7IlK1nhPcYdmxOh24hcqziQ32vKt1C4T..TnRE3LHmChsuH2fN_wpXQsLKkr2nUbAcBKXiTCZrhlTzOlw7zIACIecmG34PHaYsEkBzjeEpsYc8jfWlQOPCmCIAfRRmzQ_aPHJOUn6h0xBMVLAXW3DMth6xrK31hBEzyYEocrAQYlDMC6zqc0kpkOlvdqY0O7JVkKmPKwoqywXs_dGcuijDNlISzTva4bCX5r821M0ejSkiMrayPLj3AsJWUeKiZkiULTNJXtGe3IFzTvW.Mslbn3e4z_yb2EDRJnk8eYK1kWc8zK3YKQu5kw1d0shTlGHicBGvscaRPVWYC0eUlKhwiAWJVWSjEHBqNS1NwFRO6Q3YdiRYC42lvaf4W3abWyc2UyyMQIjhcmTxyidWoStSKF08rHLg7Dv95zA5xAMqUd3Wj7lFF2bN4a4LnnEsyNYNEej0yYG669aOrYdGkmUN44lI60xy0ojE6MBa6x_80kgGwcd_uOw0.EHPhu2wbPnE6N79EtVxKLImCmEiSF9R7ik7ETnQFTGs3UlrO_z8Je6tYItoGx_s3zRsyZhuzgS_hIsh6ZA-- -----------------------------8d23f29c92d8784 Content-Disposition: form-data; name="fileData"; filename="c:\s2.jpg" Content-Type: image/jpeg Response for the error is as follows: (JSON) errorMessage=Internal error: Error reading input Seems the difference is in the following values:Good: Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryGnuT8YN1W7e2AhNABad: Content-Type: multipart/form-data; boundary=---------------------------8d23f29c92d8784 Is there a way to modify this using the http post plugin? Thanks Hello. The boundary is just the "separator".You specify it in the Content-Type header so that the server knows how to split the data sent. But that is correct in both request.BUT, the problem is probably in the cookies. Because when I import your first request into Fiddler and send that request, I also get the 500 Internal Server Error error. So what I would try is:Sniff a good request (browser) in fiddler. try to send that request in fiddler again (composer). And see if you can send the same request twice. If that's the case, you can use that cookie string and try it in ubot studio. Just to see if you can send a successful request via ubot as well. You can also try to remove cookies one by one from a working request. To see which ones are really required. I think there is maybe something missing in the cookies. Hope that helps a bit Dan Quote Link to post Share on other sites
Pete_UK 9 Posted April 16, 2015 Report Share Posted April 16, 2015 How do I get the contents of a 404 page using "$http get" ? EG... This page retrns a customised 404 page that I want to scrape:http://www.disneystore.com/anna-and-elsa-placemat-frozen/mp/1341437/1000349/ Quote Link to post Share on other sites
kev123 132 Posted April 17, 2015 Report Share Posted April 17, 2015 think aymen added a follow error pages command. Quote Link to post Share on other sites
Pete_UK 9 Posted April 17, 2015 Report Share Posted April 17, 2015 I see the "http load error page" command Kev. It doesn't seem to change anything for me though. Aymen, can you explain how this is used? I presume you just set "Yes" or "No" prior to a Get Request. If so, may be there is a bug with it because I never get a full error page loading. Quote Link to post Share on other sites
orbital 15 Posted April 19, 2015 Report Share Posted April 19, 2015 Hey Aymen, It appears the http keep alive isn't getting set plugin command("HTTP post.dll", "http keep alive", "Yes") plugin command("HTTP post.dll", "http auto redirect", "Yes") plugin command("HTTP post.dll", "http settings headers", "Accept Encoding", "gzip, deflate, sdch") plugin command("HTTP post.dll", "http set headers", "Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8") plugin command("HTTP post.dll", "http set headers", "Accept-Language", "en-US,en;q=0.8") set(#get,$plugin function("HTTP post.dll", "$http get", "http://sellercentral.amazon.com/gp/homepage.html", $plugin function("HTTP post.dll", "$http useragent string", "Chrome 32.0 Win7 64-bit"), "", "", ""),"Global")I run this and no matter what mode I use or what cookiecontainer mode I use the keep-alive header never gets set. Is there a workaround for this? Quote Link to post Share on other sites
Aymen 385 Posted April 21, 2015 Author Report Share Posted April 21, 2015 I see the "http load error page" command Kev. It doesn't seem to change anything for me though. Aymen, can you explain how this is used? I presume you just set "Yes" or "No" prior to a Get Request. If so, may be there is a bug with it because I never get a full error page loading.It doesn't work with all the sites , sometimes that's all what the HttpWebRequest class can get! Hey Aymen, It appears the http keep alive isn't getting set plugin command("HTTP post.dll", "http keep alive", "Yes") plugin command("HTTP post.dll", "http auto redirect", "Yes") plugin command("HTTP post.dll", "http settings headers", "Accept Encoding", "gzip, deflate, sdch") plugin command("HTTP post.dll", "http set headers", "Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8") plugin command("HTTP post.dll", "http set headers", "Accept-Language", "en-US,en;q=0.8") set(#get,$plugin function("HTTP post.dll", "$http get", "http://sellercentral.amazon.com/gp/homepage.html", $plugin function("HTTP post.dll", "$http useragent string", "Chrome 32.0 Win7 64-bit"), "", "", ""),"Global")I run this and no matter what mode I use or what cookiecontainer mode I use the keep-alive header never gets set. Is there a workaround for this? Does it happen with all the times , or just one particular site ? Quote Link to post Share on other sites
UBOTEM 18 Posted April 22, 2015 Report Share Posted April 22, 2015 Ahh! think I need an update! I'm on 2.5.5.0 Aymen please PM me an update link, have checked most of my inboxes and can not see any links (Also have no spam filters, so not sure why?) Also where do I look to see what the last release is?(Can you post version number on first post?) Cheers Quote Link to post Share on other sites
ibotubot 3 Posted May 1, 2015 Report Share Posted May 1, 2015 So as it looks it may be what I need. This plugin supports xpath correct? Would I be able to use wildcars within, such as //tr[*]/td[2]/span ? Thanks, Quote Link to post Share on other sites
tripros 16 Posted May 4, 2015 Report Share Posted May 4, 2015 H Aymen,Updated to 2.5.7 and all my bots running http post are showing errors in the code without any changes.Was there a change to the code format or something?Can't seem to pinpoint it. No other changes made, yesterday everything was working, today updated http post to latest and now all bots are showing code errors. Thanks Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 4, 2015 Report Share Posted May 4, 2015 H Aymen,Updated to 2.5.7 and all my bots running http post are showing errors in the code without any changes.Was there a change to the code format or something?Can't seem to pinpoint it. No other changes made, yesterday everything was working, today updated http post to latest and now all bots are showing code errors. Thanks Yes there was, specifically to the text encoder and the http response just search for those in the search bar and see what they do. Those now have been combined where before they were mostly separate. When you see it you will know what I'm talking about. Then just go ahead and open a notepad++ or similar and search for the http post plugin, take a look at the line number and remove the line (keep a backup of the previous version of course first) then replace that node with the new one. That's what I did for about 9 programs or so and it worked pretty well for me. Quote Link to post Share on other sites
tripros 16 Posted May 4, 2015 Report Share Posted May 4, 2015 Thanks for the heads up Nick! Looks like these bots are using the 'container' and 'page scraper' HTTP Post commands which are no longer in the plugin apparently. Probably need to re-write these now to use a different page scraper and variables I'm assuming. Would be great to have a list of all the code references so can copy and paste into the code view since can't even switch to node view to use the nodes automatically. Using notepad as you suggested is great, just don't have all the syntax unless I try all the variations in another bot, then switch to code view and copy them all then switch back Phew! Thanks again Nick! 1 Quote Link to post Share on other sites
ILoveUBot 10 Posted May 7, 2015 Report Share Posted May 7, 2015 I'm just starting to get to grips with this and I've managed to login to twitter and post a tweet - yay! Here's the code: set session() create tweet() define set session { set(#get, $plugin function("HTTP post.dll", "$http get", "https://twitter.com/", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36", "", "", 20), "Global") set(#twitUN, "twitterUsername", "Global") set(#twitPass, "twitterPassword", "Global") set(#authenticitytoken, $plugin function("HTTP post.dll", "$xpath parser index", #get, "//input[@name=\'authenticity_token\']", 0, "value"), "Global") set(#post, $plugin function("HTTP post.dll", "$http post", "https://twitter.com/sessions", "session%5Busername_or_email%5D={#twitUN}&session%5Bpassword%5D={#twitPass}&return_to_ssl=true&scribe_log=&redirect_after_login=%2F&authenticity_token={#authenticitytoken}", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36", "https://twitter.com/", "", 20), "Global") } define create tweet { set(#get, $plugin function("HTTP post.dll", "$http get", "https://twitter.com/", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36", "", "", 20), "Global") set(#status, "This+is+my+twitter+status+message.", "Global") set(#post, $plugin function("HTTP post.dll", "$http post", "https://twitter.com/i/tweet/create", "authenticity_token={#authenticitytoken}&place_id=&status={#status}&tagged_users=", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36", "https://twitter.com", "", 20), "Global") } load html(#get) load html(#post) From what I can tell, the Page Scraper HTTP Post command has been replaced with the $http get function. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 7, 2015 Report Share Posted May 7, 2015 I'm just starting to get to grips with this and I've managed to login to twitter and post a tweet - yay! Here's the code: From what I can tell, the Page Scraper HTTP Post command has been replaced with the $http get function. Great job! Yes you want to use HTTP Get now 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.