Google + 1 Imacros script.

Joined
Aug 25, 2014
Messages
4
Reaction score
0
I just started using Imacros and for my first project I am trying to make Google + 1 bot to rate my comments on YouTube. So far I have managed to make a bot that links to the comment, signs into a YouTube account, hits Google + 1 then signs out and repeats the process.

The problem is, I have to link to the comment each time I sign into a new account. So when I want to add a new comment I have to edit the macro and paste the link of the new comment each time it signs in. So if I wanted 30 likes I would have to paste the new link into the macro 30 times each time I want a new comment. (Hope this makes sense)

This makes the bot pretty useless because I can just link all my YouTube accounts together and like the comments myself in almost the same time.

So, I was wondering if there is a way I can make the bot so I only need to enter the URL of the comment once in the macro each time I want a new comment? I just want it to sign into an account, google + 1 the comment then sign out and repeat the process but only have to link to the comment once in the macro. I am not sure if this is possible, but if anyone could help me out I would really appreciate it and will be happy to share the bot once its done.

Thanks :)
 
Last edited:
Check out my giveaway thread OP. :)
I wrote it in Imacros and Javascript

And probably you are not writing scripts, but macros.
macro != script
 
Haha I didn't know if I should write macros or script, like I said I am noob to this. Thanks for clearing that up though :)

Your giveaway looks awesome and I will try it out, but I will still try to make something myself for when you stop doing it.

Could you give me any tips for making the bot so I only need to add the URL in the macros once?

Thanks :)
 
Haha I didn't know if I should write macros or script, like I said I am noob to this. Thanks for clearing that up though :)

Your giveaway looks awesome and I will try it out, but I will still try to make something myself for when you stop doing it.

Could you give me any tips for making the bot so I only need to add the URL in the macros once?

Thanks :)

Probably you already use a datasource for the accounts, so create a new one and include it in your macro. (of course adjust the variable to yourself)

Code:
set numberOfUrls 5
'This variable for how many lines in your url datasource
set !loop 0
set !datasource urls.csv
set !datasource_line eval(" '{{!loop}}' - ( (Math.floor ( '{{!loop}}' / ('{{numberOfUrls}}') ) ) * '{{numberOfUrls}}') + 1; ")
set url {{!col1}}
'your datasource line will be changing like this: 1 2 3 4 5 1 2 3 4 5 etc etc
set !datasource accounts.txt
set !datasource_line eval(" Math.floor( '{{!loop}}' / '{{number_of_urls}}') + 1; ")
'your datasource line will be changing like this: 1 1 1 1 1 2 2 2 2 2 etc etc

I hope that makes sense
 
I guess I have a lot to learn because none of that makes sense to me xD

This is what I have so far -

VERSION BUILD=8820413 RECORDER=FX
TAB T=1
URL GOTO=about:newtab
URL GOTO= COMMENT URL HERE (HAD TO REMOVE DUE TO SPAM FILTER)
TAG POS=1 TYPE=A ATTR=ID:gb_70
TAG POS=1 TYPE=A ATTR=ID:account-chooser-add-account
TAG POS=1 TYPE=INPUT:EMAIL FORM=ID:gaia_loginform ATTR=ID:Email CONTENT=Youtube account here
SET !ENCRYPTION NO
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ID:gaia_loginform ATTR=ID:Passwd CONTENT=nast
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:gaia_loginform ATTR=ID:signIn
TAG POS=2 TYPE=SPAN ATTR=TXT:1
TAG POS=1 TYPE=SPAN ATTR=CLASS:gb_X<SP>gbii&&TXT:
TAG POS=1 TYPE=A ATTR=ID:gb_71
TAG POS=1 TYPE=A ATTR=ID:account-chooser-add-account
TAG POS=1 TYPE=INPUT:EMAIL FORM=ID:gaia_loginform ATTR=ID:Email CONTENT=Youtube account here
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ID:gaia_loginform ATTR=ID:Passwd CONTENT=Berk
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:gaia_loginform ATTR=ID:signIn
URL GOTO= COMMENT URL HERE (HAD TO REMOVE DUE TO SPAM FILTER)
TAG POS=2 TYPE=SPAN ATTR=TXT:1
TAG POS=1 TYPE=SPAN ATTR=CLASS:gb_X<SP>gbii&&TXT:
TAG POS=1 TYPE=A ATTR=ID:gb_71
TAG POS=1 TYPE=A ATTR=ID:account-chooser-add-account
TAG POS=1 TYPE=INPUT:EMAIL FORM=ID:gaia_loginform ATTR=ID:Email CONTENT=Youtube account here
TAG POS=1 TYPE=INPUT:PASSWORD FORM=ID:gaia_loginform ATTR=ID:Passwd CONTENT=pass
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:gaia_loginform ATTR=ID:signIn
URL GOTO= COMMENT URL HERE (HAD TO REMOVE DUE TO SPAM FILTER)
TAG POS=2 TYPE=SPAN ATTR=TXT:2
TAG POS=1 TYPE=SPAN ATTR=CLASS:gb_X<SP>gbii&&TXT:
TAG POS=1 TYPE=A ATTR=ID:gb_71

As you can see it just goes to the comment, signs into an account then likes it and repeats. Is there anyway I could simplify it (for a complete noob) so I would only have to you use the comment URL once?

Thanks for your help so far
 
Back
Top