Mart 0 Posted August 3, 2015 Report Share Posted August 3, 2015 I just can't set the cookie for some reason. ui text box("Email",#email)ui text box("Password",#password)set(#start,$plugin function("HTTP post.dll", "$http post", "https://www.pinterest.com/resource/ContextLogResource/create/", "", "", "", "", ""),"Global")set(#load,$plugin function("HTTP post.dll", "$http response headers"),"Global")set(#full cookie,$find regular expression(#load,"(?<=Set-Cookie\\|).*(?=\\b)"),"Global")plugin command("HTTP post.dll", "http set headers", "Accept", "application/json, text/javascript, */*; q=0.01")plugin command("HTTP post.dll", "http set contenttype", "application/x-www-form-urlencoded; charset=UTF-8")plugin command("HTTP post.dll", "http set headers", "Cookie", #full cookie)set(#login,$plugin function("HTTP post.dll", "$http post", "https://www.pinterest.com/resource/UserSessionResource/create/", "source_url=%2Flogin%2F%3Freferrer%3Dhome_page&data=%7B%22options%22%3A%7B%22username_or_email%22%3A%22{#email}%22%2C%22password%22%3A%22{#password}%22%7D%2C%22context%22%3A%7B%7D%7D&module_path=App%3ELoginPage%3ELogin%3EButton(text%3DLog+in%2C+size%3Dlarge%2C+class_name%3Dprimary%2C+type%3Dsubmit)", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0", "https://www.pinterest.com", "", ""),"Global") Quote Link to post Share on other sites
Mart 0 Posted August 26, 2015 Author Report Share Posted August 26, 2015 fixed it now 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.