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

I'm SO CLOSE - Need some iMacros PRO Help!

Discussion in 'Other Scripting Languages' started by IncWise, Nov 10, 2015.

Tags:
  1. IncWise

    IncWise Registered Member

    Joined:
    Oct 12, 2015
    Messages:
    58
    Likes Received:
    8
    Location:
    Europe
    Hi,

    i have Facebook group list, with only links. What i need is script visits these sites and extract group name and number of members and export them to the CSV file.. What I've done so far is below:

    Code:
    [COLOR=#373E4D][FONT=helvetica]VERSION BUILD=[/FONT][/COLOR]11.0.246.40[COLOR=#373E4D][FONT=helvetica]51[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]TAB T=1[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]TAB CLOSEALLOTHERS[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]SET !PLAYBACKDELAY 0.2[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]URL GOTO=[/FONT][/COLOR]imacros.net/browser/pro/welcome
    [COLOR=#373E4D][FONT=helvetica]TAB OPEN[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]TAB T=2[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]SET !ERRORIGNORE YES[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]SET !DATASOURCE C:\Users\facebook\Desktop\links.txt[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]SET !LOOP 1[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]SET !DATASOURCE_COLUMNS 1[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]SET !DATASOURCE_LINE {{!LOOP}}[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]TAB T=1[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]URL GOTO={{!COL1}}[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]WAIT SECONDS=5[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:q EXTRACT=TXT[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]TAG POS=1 TYPE=SPAN ATTR=ID:count_text EXTRACT=TXT[/FONT][/COLOR]
    [COLOR=#373E4D][FONT=helvetica]SAVEAS TYPE=EXTRACT FOLDER=C:\Users\facebook\Desktop FILE=Extract_{{!NOW:ddmmyy_hhnnss}}.csv[/FONT][/COLOR]
    It will open links from file and export data to the csv file, but only one time. What i need is that script collects all the data from ALL links and AFTER that export data to CSV file (line by line, comma separated, but it will be more awesome if data is in columns:))

    Need some help from PRO's

    Thanks!
    IncWise
     
  2. mynameisfrankenstein

    mynameisfrankenstein Regular Member

    Joined:
    Apr 2, 2015
    Messages:
    431
    Likes Received:
    344
    Gender:
    Male
    Location:
    BC, Canada
    Are you using the loop input?

    Instead of pressing the Play button to start the macro, you use Play (Loop) button?