AutomationNinja 194 Posted January 5, 2013 Report Share Posted January 5, 2013 How can you scrape data in H*tmail? add item to listpage scrape won't work I was able to scrape a link using add item to listscrape attribute ... but what I want to do is scrape a password in the email text Quote Link to post Share on other sites
VaultBoss 310 Posted January 5, 2013 Report Share Posted January 5, 2013 ... but what I want to do is scrape a password in the email text I just scraped a password in Gmail, using $page scrape and after that manipulating (cleaning) the resulting text a little bit: loop(1) { set(#var_Account_Pass, $page scrape("Password", "Login"), "Global") set(#var_Account_Pass, $replace(#var_Account_Pass, ":", $nothing), "Global") set(#var_Account_Pass, $replace(#var_Account_Pass, "<br>", $nothing), "Global") set(#var_Account_Pass, $trim(#var_Account_Pass), "Global") set(#var_Account_Pass, $substring(#var_Account_Pass, 0, $find index(#var_Account_Pass, " ")), "Global") } In my case the password was actually between the word Password:and a couple lines below, the Login:but there were some bits to be cleaned in between. You'll need to adapt to the structure of your emails' text, of course. 1 Quote Link to post Share on other sites
Twitter Dominator 125 Posted January 5, 2013 Report Share Posted January 5, 2013 i can still scrape attribute , never tried the scrape page on it Quote Link to post Share on other sites
VaultBoss 310 Posted January 5, 2013 Report Share Posted January 5, 2013 The email body I was trying to scrape from was just simple text so there was no way to select any attribute for me. 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.