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

Clickbank Scraper Using iMacros

Discussion in 'Clickbank' started by revelation, Sep 13, 2009.

  1. revelation

    revelation Newbie

    Joined:
    May 22, 2009
    Messages:
    29
    Likes Received:
    597
    I was about to delete this iMacros from my computer and thought it might be useful to someone out there.

    What does it do?
    It extracts the title and Clickbank affiliate link from the Marketplace for 100 search results at a time.

    In the marketplace link, there is: maxResults=10
    You just change this to: maxResults=100

    You can select only a max of 50 in the drop-down but this will show 100 results.

    Then copy and save the following iMacros code into your iMacros folder:

    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}}
    Next, edit the code's folder location to point to the folder where you keep all your iMacros files.

    Then, make a blank .csv Excel spreadsheet and call it blackhat.csv

    In the iMacros "Max:" Play (Loop) area, put in the number 100.

    Hit Play (Loop) and the extraction is underway.

    The results look like this:
    Keyword Elite 2.0: The New Generation Of Keyword Research Software!
    http://zzzzz.bryxen4.hop.clickbank.net/

    I used it to pull every product and every affiliate link from Clickbank.
     
    • Thanks Thanks x 4
  2. doctorwar

    doctorwar Registered Member

    Joined:
    May 25, 2009
    Messages:
    61
    Likes Received:
    28
    Thanks for this, this should save me a lot of time!
     
  3. alisarose69

    alisarose69 Newbie

    Joined:
    Apr 2, 2010
    Messages:
    15
    Likes Received:
    0
    Hi, Thanks a lot for posting this. It keeps saying "SyntaxError: wrong format of SAVEAS command, line: 7" what should i do to fix it?
     
  4. bobis

    bobis Newbie

    Joined:
    Dec 2, 2010
    Messages:
    33
    Likes Received:
    9
    Location:
    Underground
    this code does not work and it does not contain most important thing : csv file with direct links to products, so it is useless