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

[Imacros] Facebook image scraper :D

Discussion in 'Black Hat SEO' started by gowithgaurav, Oct 20, 2012.

  1. gowithgaurav

    gowithgaurav Junior Member

    Joined:
    Dec 10, 2010
    Messages:
    102
    Likes Received:
    89
    Hey guys,

    hardly shared anything on this forum and today i decide to share something :beer:
    I saw many of the people here wanted to get images of facebook fanpages and wanted a bot to do it, infact someone shared it too but it didn`t worked for me :breakpc1:so i decide to make one :cool:

    ok what you need is go to the fanpge photos--> go to the album from where you want to scrape the images from and note the total images present in the album(important)-->click on the first photo and copy its URL-->replace https://www with m in the URL.

    now open imacros for firefox and save this code in a macros (with .iim extension)

    SET !ERRORIGNORE YES
    TAG POS=1 TYPE=IMG ATTR=ALT:photo CONTENT=EVENT:SAVEITEM
    ONDOWNLOAD FOLDER=C:\Users\Administrator\Documents\iMacros\Downloads\download folder FILE={{!LOOP}}.jpg WAIT=YES
    TAG POS=1 TYPE=A ATTR=TXT:Next

    download folder is the place where you want to save the scraped images


    Now run the imacros with loops=photos in the album

    Hurray you scraped the whole album :cool:

    MODS sorry if posted in wrong section :p

    Let me know if you like it then i will share some more imacros bots :cool:
     
    • Thanks Thanks x 4
  2. zoonosis

    zoonosis Newbie

    Joined:
    Mar 21, 2012
    Messages:
    46
    Likes Received:
    58
    Hi
    I followed your instructions and it does not work. Maybe its me??

    Here is my edited imacro
    Im using a Mac so I am assuming that the file path is correct
    There are 69 pictures in the album so I changed the file= bit

    Here is the link..I even change the h**p://www to an m as discussed...it didnt work at first so I just navigated to the album from the main mobile site.
    (ive removed some . so I could post, I cant post links yet)

    h**ps://m facebook com/aboveandbeyond?v=photos&cps&album=a.423318131628.216530.6343611628&refid=17

    SET !ERRORIGNORE YES
    TAG POS=1 TYPE=IMG ATTR=ALT:photo CONTENT=EVENT:SAVEITEM
    ONDOWNLOAD FOLDER=/Users/USERNAME/iMacros/ FILE={{!69}}.jpg WAIT=YES
    TAG POS=1 TYPE=A ATTR=TXT:Next

    I saved the macro and played it.
    No errors came up but it didnt download anything.

    Can you point me in the right direction?
    Thanks
     
  3. codestrapper

    codestrapper Newbie

    Joined:
    Aug 8, 2014
    Messages:
    2
    Likes Received:
    0
    hi! the same problem script is running perfectly but nothing in folder no image at all!