luvmedia 0 Posted February 19, 2014 Report Share Posted February 19, 2014 (edited) Hi, I need help from the Ubot community, I am new to Ubot but have played alot with the software and I must say this stuff is addictive However I'm on my first project and I'm pulling my hair out trying to figure out how to scrape an email address from a page, its quite complicated to explain so I produced a 4min video here it is: I hope someone can help me out here, I'm dying to continue with this project. Thanks Edited February 19, 2014 by luvmedia Quote Link to post Share on other sites
Aymen 385 Posted February 19, 2014 Report Share Posted February 19, 2014 did you try Regex?i think you can achieve this by a bit of Regex! Quote Link to post Share on other sites
luvmedia 0 Posted February 19, 2014 Author Report Share Posted February 19, 2014 (edited) I looked into regex and went through all the Regex training materials, however regex looks at the source code right? but how does regex find the area to scrape, can I use a variable in a regex script? hope that makes sense Edited February 19, 2014 by luvmedia Quote Link to post Share on other sites
clintk 2 Posted February 19, 2014 Report Share Posted February 19, 2014 If it's your variable "smart" the determines the name of the email account can't you take the content of "smart" at the time of creation and append .mailparser.jo to it? Then there would be no need to scrape. Quote Link to post Share on other sites
luvmedia 0 Posted February 19, 2014 Author Report Share Posted February 19, 2014 Hi Thanks clintk, Mailparser generates a random email address like ttfghhfruh@mailparser-dot-io, thanks for your nswer though Quote Link to post Share on other sites
UBotDev 276 Posted February 19, 2014 Report Share Posted February 19, 2014 I looked into regex and went through all the Regex training materials, however regex looks at the source code right? but how does regex find the area to scrape, can I use a variable in a regex script? hope that makes senseRegex in general looks at string, which can be anything, even source code as you mention above. To scrape with regex you need to use "scrape attribute" command and select "Regular Expression" instead of "Exact Match"/"Wildcards. And yes, you can use variables inside regex with "$element from text" function, you just need to make sure that variable value is escaped properlly. http://msdn.microsoft.com/en-us/library/4edbef7e(v=vs.110).aspx Quote Link to post Share on other sites
Pete 121 Posted February 19, 2014 Report Share Posted February 19, 2014 Keep it simple scrap them all to a list before you clone the account, then scrap them all after the accounts had been cloned to a second list. Then just compare the two lists Quote Link to post Share on other sites
luvmedia 0 Posted February 19, 2014 Author Report Share Posted February 19, 2014 Thanks everyone for your Help, you guys rock! I can see I'll be here a lot 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.