Imacros SHARED code scripts

i can`t grab Mailadresses on fakenamegenerator
Does anybody know the trick ? :-)
My email columne ist filled with #EANF#
 
my first thread here and I ask for help :)

Now this will sound like a dumb question, but how do you make iMacros "click" a link on a page?

I have created the script to scrap data from a profile page let's say, but then I need to click on the "next profile" link and scrap that page too and so on.

The profile URLs are not following any patter, something like .php?name=id# so I can't just use URL GOTO={{!COL}} with an external csv file for all URLs, but they rather are similar to .php?firstname-lastname.

So there's no pattern in there, except the anchor text of the next URL which is "next profile".

Any ideas?
 
my first thread here and I ask for help :)

Now this will sound like a dumb question, but how do you make iMacros "click" a link on a page?

I have created the script to scrap data from a profile page let's say, but then I need to click on the "next profile" link and scrap that page too and so on.

The profile URLs are not following any patter, something like .php?name=id# so I can't just use URL GOTO={{!COL}} with an external csv file for all URLs, but they rather are similar to .php?firstname-lastname.

So there's no pattern in there, except the anchor text of the next URL which is "next profile".

Any ideas?
 
anyone know the script code to change a variable,
for instance,
I need it to go from 1-4000 by itself,
but I dont want to have to manually type 1,2,3,4,5,6,7,8
etc cause that would be a very big imacro file,

anyone know how to do this ?
 
anyone know the imacro code to change a variable,
for instance,
I need it to go from 1-4000 by itself when repeated,
so it would work like this
go to contactpage.com/user2000
where 2000 is the variable that will be from 1-4000 by itself. but I dont want to have to manually type 1,2,3,4,5,6,7,8
etc cause that would be a very time consuming thing,
anyone able to help?
 
I have about 1500 error 404 at my GOOGLE Webmaster tool.
I have download the 404 url via .csv file
Now i need to removed the url....anyone can help me to imacros Removed URL at GOOGLE webmasters...

TQ
 
this is a simple feat \.

remove what you want to remove or add what you want to add.

start with a var that can be altered then spit it back out as what you want.

var this_1="Hay is for hourses";
replace.this_1("\ ","<SP>");
i***isplay(this_1);


Code:
var this_1="Hay is for hourses";
replace.this_1("\ ","<SP>");
i***isplay(this_1);

I will dig up the scripts that I downloaded from the myyearbook and getimacros website.
and will be sharing them here.
Most likely will not be back till night time.
later
 
Last edited:
<html><head></head><body>641933557|966893873|acteha THE</body></html>

^That is the code generated by a captcha solver. on the captcha the numbers and text change obviously every time. I can't seem to find a way though to just get the solved captcha text (acteha THE) to save as !var1 the reason I ask here is due to the actual iopus forum being rather dead.
 
Wow I've used iMacros before, but never noticed it could be so powerfull, btw thanks for the shares...
 
I'm looking for some help on this iMacro script for any champ out there that could help out...

Code:
---Imacro script----
VERSION BUILD=7220523 RECORDER=FX
CMDLINE !DATASOURCE tumblr.txt
SET !DATASOURCE_COLUMNS 1
SET !LOOP 1
SET !DATASOURCE_LINE {{!LOOP}}
TAB T=1
SET !ERRORIGNORE YES
SET !EXTRACT_TEST_POPUP NO
URL GOTO={{!COL1}}
FRAME F=1
TAG POS=1 TYPE=IFRAME ATTR=SRC:[URL]http://assets.tumblr.com/iframe.html?*[/URL] EXTRACT=TXT

TAG POS=1 TYPE=INPUT:IMAGE FORM=ACTION:[URL]http://www.tumblr.com/like/[/URL] ATTR=SRC:[URL]http://assets.tumblr.com/images/iframe_like_alpha.png[/URL]
TAB T=1
URL GOTO=http://fakescience.tumblr.com/post/597833893/how-do-magnets-work
FRAME F=6
TAG POS=1 TYPE=INPUT:IMAGE FORM=ACTION:/like/LFpWLIzG ATTR=SRC:[URL]http://assets.tumblr.com/images/iframe_like_alpha.png[/URL]

Code:
----javascript----

function likeTumblr(url) {
    var iimCode = iMacroEnteteCode();
    iimCode = iimCode + "URL GOTO=" + url + JSNEWLINE;
    iimCode = iimCode + 'SET !EXTRACT NULL' + JSNEWLINE;
    iimCode = iimCode + "TAG POS=1 TYPE=IFRAME ATTR=SRC:[URL]http://assets.tumblr.com/iframe.html?*[/URL] EXTRACT=TXT" + JSNEWLINE;
    iimPlay(iimCode);
    var extract = iimGetLastExtract();
    if (extract != "#EANF#") {
        iimCode = iMacroEnteteCode();
        iimCode = iimCode + "FRAME F=1" + JSNEWLINE;
        iimCode = iimCode + "TAG POS=1 TYPE=INPUT:IMAGE FORM=ACTION:/like/* ATTR=SRC:http://assets.tumblr.com/images/iframe_like_alpha.png" + JSNEWLINE;
        var retcode = iimPlay(iimCode);
        if (retcode < 0) {             
            iimDisplay(iimGetLastError());
            return false;
        }
        else {
            Wait();
            return true;
        }
    }
    else {
        return false;
    }
}

iimDisplay ("Auto Like Tumblr");
 
var fileNameTumblr = 'C:\\Users\\lemoussel\\Documents\\iMacros\\Datasources\\tumblr.txt';
var fileNameKOTumblr = 'C:\\Users\\lemoussel\\Documents\\iMacros\\Datasources\\tumblrKO.txt';
 
var URLs = readLocalFile(fileNameTumblr);
if (URLs != null) {
    var aURLs = URLs.split(/r\n|\r|\n/);
 
    for each (url in aURLs) {
        if (url.length > 0) {
            iimDisplay(url);
            if (likeTumblr(url) === false) {
                saveLocalFile(fileNameKOTumblr, url + JSNEWLINE);
            }
        }
    }
}
 
iimDisplay('');

/*     Write in local file
        */
function saveLocalFile(filename, outputText) {
        var file = Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
        file.initWithPath(filename);
        if (file.exists() === false) {
            file.create(Components.interfaces.nsIFile.NORMAL_FILE_TYPE, 420);
        }
        var outputStream = Components.classes['@mozilla.org/network/file-output-stream;1'].createInstance(Components.interfaces.nsIFileOutputStream);
        outputStream.init(file, 0x04 | 0x10, 420, 0);
        outputStream.write(outputText, outputText.length);
        outputStream.close();
        return true;
}
 
/*     Read in local file
    */
function readLocalFile(filename) {
    try {
        netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    } catch (e) {
        alert("Acune permission pour lire le fichier.");
    }
    var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
    file.initWithPath(filename);
    if (file.exists() === false) {
        alert("Le fichier" + filename + "n'existe pas !!!");
        return null;
    }
    var is = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance(Components.interfaces.nsIFileInputStream);
    is.init(file,0x01, 00004, null);
    var sis = Components.classes["@mozilla.org/scriptableinputstream;1"].createInstance(Components.interfaces.nsIScriptableInputStream);
    sis.init(is);
    var output = sis.read(sis.available());
    return output;
}
 
function Wait() {
   var t = Math.round(10*Math.random());
   iimPlay('CODE:WAIT SECONDS='+t);
}

function iMacroEnteteCode() {
var imacroEnteteCode = "CODE:" + JSNEWLINE;
imacroEnteteCode = imacroEnteteCode + "SET !ERRORIGNORE YES" + JSNEWLINE;
imacroEnteteCode = imacroEnteteCode + "SET !TIMEOUT 10″ + JSNEWLINE;
imacroEnteteCode = imacroEnteteCode + "SET !TIMEOUT_TAG 1″ + JSNEWLINE;
imacroEnteteCode = imacroEnteteCode + "SET !EXTRACT_TEST_POPUP NO" + JSNEWLINE;
return(imacroEnteteCode);
}

---End Javascript---

Any help from anyone would be appreciated.
 
Last edited:
<html><head></head><body>641933557|966893873|acteha THE</body></html>

^That is the code generated by a captcha solver. on the captcha the numbers and text change obviously every time. I can't seem to find a way though to just get the solved captcha text (acteha THE) to save as !var1 the reason I ask here is due to the actual iopus forum being rather dead.

I should be able to help out. PM me the webpage url so I could create a iMacro...
 
yes i have YouLikeHits scripts and bot, search on google for YouLikeHitsBot and you will find my website...

You can also get 50% discount on using 'blackhatseo' code.
 
I will pay for someone to make me a script for this website called ChaCha! PM if you're really good at imacro scripting for more details!
 
Back
Top