1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can Imacros be used to scrape emails?

Discussion in 'Black Hat SEO Tools' started by makingfastcash22, Sep 17, 2009.

  1. makingfastcash22

    makingfastcash22 Senior Member

    Joined:
    Feb 15, 2009
    Messages:
    1,152
    Likes Received:
    178
    Home Page:
    I am trying to learn how to use imacros and the extraction function, but I am lost. I am not sure of it can even scrape email addresses from websites, and forums.

    Can it so this?
     
  2. nirmar

    nirmar Regular Member

    Joined:
    Jul 23, 2009
    Messages:
    283
    Likes Received:
    108
    Yes Imacros can. Check the sample macros in demo folder in Imacros directory.
     
    • Thanks Thanks x 2
  3. makingfastcash22

    makingfastcash22 Senior Member

    Joined:
    Feb 15, 2009
    Messages:
    1,152
    Likes Received:
    178
    Home Page:
    I'll take a look and see if I can make sense of it.

    Thanks
     
  4. revelation

    revelation Newbie

    Joined:
    May 22, 2009
    Messages:
    29
    Likes Received:
    597
    iMacros can extract things from websites. You just need to look at the code of what it is that you're trying to extract. It might be a class tag or some unique name needed. When you find it, use the EXTRACT command.

    I like to record myself clicking on what I'm trying to extract first in "Click" mode and "HTM" tag mode to see if I can get the unique attribute of what I'm trying to extract.

    Here's an example of what I used to extract Clickbank Info:

    Code:
    VERSION BUILD=6111228 RECORDER=FX
    SET !EXTRACT_TEST_POPUP NO
    TAB T=1
    SET !LOOP 1
    TAG POS={{!LOOP}} TYPE=A ATTR=CLASS:siteHeader EXTRACT=TXT
    SET !DATASOURCE_LINE 1
    SAVEAS TYPE=EXTRACT FOLDER=C:\Users\admin\Documents\iMacros\Datasources FILE=blackhat.csv
    ADD !EXTRACT {{!COL1}}
    TAG POS={{!LOOP}} TYPE=A ATTR=TXT:view<SP>pitch<SP>page EXTRACT=HREF
    SET !DATASOURCE_LINE 1
    SAVEAS TYPE=EXTRACT FOLDER=C:\Users\admin\Documents\iMacros\Datasources FILE=blackhat.csv
    ADD !EXTRACT {{!COL1}}
    You can set the "SET !EXTRACT_TEST_POPUP NO" to YES and it will tell you what it is extracting and you can determine whether or not that's what you're trying to extract or not.

    The problem is extracting to a csv format because it extracts line breaks with #NEXT in it and crap. So, if you want to extract to an Excel file, you will then have to clean it up a bit.
     
    • Thanks Thanks x 3
  5. makingfastcash22

    makingfastcash22 Senior Member

    Joined:
    Feb 15, 2009
    Messages:
    1,152
    Likes Received:
    178
    Home Page:
    Thanks I will see if I can get it to work. Would like to scrape forums ans CL for email addresses.
     
  6. purewealthinc

    purewealthinc Regular Member

    Joined:
    May 3, 2010
    Messages:
    427
    Likes Received:
    383
    Occupation:
    Web Fishing
    Location:
    World Wide Web City
    Hi, I know this is an old post but i have question about imacros mate.. Please help!
    I really want to learn more about iMacros.

    I just started using iMacros for 1 month and i learned a lot specially data extracted like extracting some website, i can extract the whole members of the website if there is a user ID (numbers only)

    Now i want to learn how we can extract alphabets
    like twitter usernames for example, can we extract the twitter usernames using iMacros? I can extract only one username, and i don't know how to LOOP the aplhabets or how to call the iMacros to crawl all members usernames only.. This is what i really want to learn.. to extract usernames in any websites.

    Like this one twitter dot com/Mandru28

    The username is Mandru28 and we there is millions of twitter members. Now i want to learn how to call the iMacros to crawl and extract all those members usernames.

    Need help mate.. I will hit more thanks button for you soon>>> :)
     
    • Thanks Thanks x 1
  7. inspiredandthesleep

    inspiredandthesleep Newbie

    Joined:
    Feb 11, 2016
    Messages:
    20
    Likes Received:
    1
    I'm trying to do this for music blogs. Is there a way to grab any emails with a (at) in them on any web page?
     
  8. childlikecrook545

    childlikecrook545 Newbie

    Joined:
    Jun 5, 2013
    Messages:
    35
    Likes Received:
    9
    iMacros can pretty much do anything as long as you put the time into learn it. Go through the example scripts, each one and see what they are doing. After that you should have a good grip on it.