Jump to content
UBot Underground

Need a Direction on Scraping Usernames from Emails


Recommended Posts

Hey everyone, Cnotey here. I'm picking up ubot pretty fast since purchasing it a few days ago.

 

I am having an issue with one thing though. I am trying to scrape a username from emails I receive, verify them, and save the usernames to a .CSV file. For some reason I think I don't quite grasp the concept of lists and how to properly use them.

 

Anyways, so I have hundreds of emails that all have the same subject and content, the only thing that changes is the account activation link and the username. The script I set up only seems to scrape one username multiple times.

 

My script looks like the attached file.

 

Can anyone point me in the right direction?

post-6112-0-32600700-1354062413_thumb.png

Link to post
Share on other sites

connect to mail server("IMAP With SSL", "username@gmail.com", "password", "imap.gmail.com", 993) {
   create table from emails(&emails)
}
set(#row, 0, "Global")
loop($table total rows(&emails)) {
   add item to list(%usernames, $table cell(&emails, #row, "edit this to what ever is correct"), "Delete", "Global")
   increment(#row)
}

 

I think all you're really missing is a loop and incrementing the row. This should give you an idea at the very least on how to deal with it.

  • Like 1
Link to post
Share on other sites

Of course. Not sure how I didn't see that. Thank you for your help. I must be getting too glazed over with all the ubotting I've been doing since I bought it. It's addictive. I've even made bots for non-IM related stuff haha.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...