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

imacros - how to visit each url from file that has SPACES and <> in the adress

Discussion in 'Black Hat SEO' started by iglow, Jan 17, 2010.

  1. iglow

    iglow Elite Member

    Joined:
    Feb 20, 2009
    Messages:
    2,081
    Likes Received:
    856
    Home Page:
    okay question is short. i know how o visits urls from sv file that are in a row but i want to visit adresses like:
    http://blabla.com/zz/?com <php>'blabla=http://zzz.com'</php>
    [notice 2 adresses and a space and <> in a line]
    somehow the usual visiting url doesnt do it [cuts out after http://blabla.com/zz/?com] does somebody have idea how ot make imacors scripting edition paste whole text from the line to the adress bar one by one ?
     
  2. movieman32

    movieman32 Regular Member

    Joined:
    Aug 6, 2008
    Messages:
    371
    Likes Received:
    346
    I think the problem is the <>, Imacros uses <SP> for a spacer and you probably won't be able to use <> for anything else. Just like the single quote ' is use to for remarks.
     
  3. nikhil88

    nikhil88 Regular Member

    Joined:
    Jun 12, 2008
    Messages:
    208
    Likes Received:
    97
    Occupation:
    E&TC Engineering Student
    Location:
    Pune,India
    why dont you modify the file to delimit the urls with commas so as to make it a csv file?
     
  4. Mr.Profit

    Mr.Profit Regular Member

    Joined:
    Dec 22, 2009
    Messages:
    219
    Likes Received:
    471
    Occupation:
    Marketer and SEO
    Location:
    Internet
    Home Page:
    The easiest way to accomplish the task you're talking about is to format the text file like csv file.

    If each and every entry in the file is on line like that:
    Code:
    [URL="http://hiderefer.org/?http://blabla.com/zz/?com"]http://blabla.com/zz/?com[/URL] <php>'blabla=http://zzz.com'</php>
    and there are more than one lines, you should try something like that:
    1. Open the text file in you favorite text editor (advanced one like NotePad++ would be even better)
    2. Go to Edit -> Replace and then:
    2.1. Find what: <php> (if that's the string between <>'s)
    2.2. Replace with: <SP> (by that I mean you just hit space once)
    And then hit the replace button.
    3. After the above actions you should have your file as follows:
    Code:
    URL1<sp>URL2<sp>URL3...........
    
    Now it's time to arrange all the urls into one ROW. You can do this in various ways. Just replace the SPACE's you inserted in the previous step with LINE BREAKS. The best way IMO is Notepad++

    After you have your URLs into one row, jsut save the file as csv, and use it as you already know.

    Hope this helps!

    May the profit be with you,
    Mr.Profit
     
  5. iglow

    iglow Elite Member

    Joined:
    Feb 20, 2009
    Messages:
    2,081
    Likes Received:
    856
    Home Page:
    hey thanx for this, but i think u misunderstood my problem
    i need to write exactly the
    http://blabla.com/zz/?com <php>'blabla=http://zzz.com'</php>
    as the adress to enter [speaking shortly i need imacros to do a bunch of commands on a site for me, which code the whole line makes].

    othjer people say its impossible to have <> somewhere in the url at adress bar?
     
  6. movieman32

    movieman32 Regular Member

    Joined:
    Aug 6, 2008
    Messages:
    371
    Likes Received:
    346
    Ok, I may have figured out a workaround, if you are familiar with using csv files in Imacros.

    Put your URLs (http://blabla.com/zz/?com <php>'blabla=http://zzz.com'</php>) in the csv file (column 1, 2, 3, ...ect) and put the column number in your macros.

    Since I don't have your list of commands I will use this example:

    VERSION BUILD=6230608 RECORDER=FX

    SET !ERRORIGNORE YES
    SET !ERRORCONTINUE YES

    'SET YOUR DATASOURCE
    SET !DATASOURCE C:\macros\_URLS.csv

    'SET NUMBER OF COLUMNS IN CSV FILE
    SET !DATASOURCE_COLUMNS 12

    'Start at line 2 to skip the header in the file
    SET !LOOP 2

    'Increase the current position in the file with each loop
    'NOT NEEDED IF YOU ARE NOT RUNNING A LOOP
    SET !DATASOURCE_LINE {{!LOOP}}

    TAB T=1

    URL GOTO={{!COL1}}

    That should avoid the <> conflict since it is not actually part of the the MACROS and is treated like text.
     
    • Thanks Thanks x 1
  7. iglow

    iglow Elite Member

    Joined:
    Feb 20, 2009
    Messages:
    2,081
    Likes Received:
    856
    Home Page:
    i will test that later on, i was in fast need so a friend made me bot for this, but still woudl eb nice to be able doign it myself iwth imacros ;)
     
  8. mikeyy_

    mikeyy_ Registered Member

    Joined:
    Oct 17, 2009
    Messages:
    59
    Likes Received:
    50
    Occupation:
    Self-employed, entreprenuer.
    Location:
    Underground
    Home Page:
  9. mrwho

    mrwho Junior Member

    Joined:
    Apr 3, 2008
    Messages:
    122
    Likes Received:
    39
    Interested in the same thing, I got a vbs program that creates a csv file and seperates each URL with a comma before moving on the next line. For some reason imacros will only read the first line even when I try to loop it.

    Fixed it myself, my question no longer needs to be answered!
     
    Last edited: Jan 19, 2010
  10. srivegunta9

    srivegunta9 Newbie

    Joined:
    May 15, 2010
    Messages:
    2
    Likes Received:
    0
    anyone please help i am having problem with the script

    VERSION BUILD=6861208
    SET !ERRORIGNORE YES
    SET !ERRORCONTINUE YES
    SET !TIMEOUT 3
    SET !DATASOURCE_LINE {{!LOOP}}
    CMDLINE !DATASOURCE Source.csv
    SET !DATASOURCE Source.csv
    SET !DATASOURCE_COLUMNS 1
    SET !LOOP 1
    URL GOTO={{!COL1}}

    the thin i want to do is just open a set urls more than 100 who is type sites withe my domain in the url

    thank you