[GET] iMacros Tumblr Post

demed

Newbie
Joined
Jun 23, 2012
Messages
25
Reaction score
5
Hi guys, this imacros script extract images from tumblr blogs, add tags and post them in your tumblr blog, remember that the limit is 75 post for day.


Instructions:


1.Change the word tag in the url for the tag that you want for example "movies"."
Code:
hxxp://tumblr.com/tagged/tag
"


2.Change the word "yourtumblrurl" for your tumblr blog name.


3. Change the word "tag" after "content=" for the tag that you want .


4.Copy the code and save like a .js file.


The script will stop after 75 posts


Code:
  macro1="CODE:";
  macro1+="SET !TIMEOUT 45\n";
  macro1+="TAB T=1\n";
  macro1+="URL GOTO=hxxp://tumblr.com/tagged/tag\n";
  
  macro2="CODE:";
  macro2+="SET !TIMEOUT 45\n";
  macro2+="SET !REPLAYSPEED MEDIUM\n"; 
  macro2+="SET !ERRORIGNORE YES\n";
  macro2+="TAB T=1\n";
  macro2+="wait seconds=5\n"; 
  macro2+="TAG POS={{loopcounter2}} TYPE=IMG ATTR=CLASS:image EXTRACT=HREF\n";
// 
  macro2+="TAB OPEN\n";
  macro2+="TAB T=2\n";
  macro2+="SET !VAR1 {{!EXTRACT}}\n";
//
  macro2+="URL GOTO=hxxp://tumblr.com/blog/yourtumblrurl/new/photo\n";
  macro2+="TAG POS=1 TYPE=A ATTR=TXT:Use<SP>a<SP>URL<SP>instead\n";
  macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:photo_src CONTENT={{!VAR1}}             \n";
//
//
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag,    \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag1,      \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag2,      \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag3,      \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag4,      \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag5,      \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag6,      \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag7,      \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag8,      \n";
macro2+="SET !REPLAYSPEED FAST                                                                   \n"; 
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag10,     \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag11,     \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag12,     \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag13,     \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag14,     \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag15,     \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag16,     \n";
macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:tag_editor_input CONTENT=tag17,     \n";
//                                                                                        
//                                                                                        
  macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:post_source_url CONTENT=hxxp://yourtumblrurl.tumblr.com\n";
  macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/blog* ATTR=ID:post_three CONTENT=hxxp://yourtumblrurl.tumblr.com\n";
  macro2+="TAG POS=1 TYPE=BUTTON ATTR=ID:save_button\n";                                 
  macro2+="wait seconds=1\n";                                                            
  macro2+="TAB T=2\n";                                                                   
  macro2+="TAB CLOSE\n";                                                                 
  macro2+="TAB T=1\n";                                                                   
                                                                                         
  macro3="CODE:";                                                                        
  macro3+="SET !TIMEOUT 45\n";                                                           
  macro3+="SET !ERRORIGNORE YES\n";                                                      
  macro3+="TAB T=1\n";                                                                   
                                                                                         
   var e;                                                                                
   var f;                                                                                
   var g;                                                                                
                                                                                         
   for(g=1; g<=15; g++)                                                                  
{                                                                                        
    for(e=1; e<=1; e++)                                                                  
    {                                                                                    
    iimSet("loopcounter1", e);                                                           
    iret = iimPlay(macro1);                                                              
                                                                                         
    for(f=1; f<=5; f++)                                                                  
    {                                                                                    
     iimSet("loopcounter2", f);                                                          
     iret = iimPlay(macro2);                                                             
                                                                                         
    }                                                                                    
    }                                                                                    
         iimSet("loopcounter3", g);                                                      
     iret = iimPlay(macro3);                                                             
    }
 
Infinite loop for follow, like and reblog, for stop the script just press the button "stop" on imacros sidebar.

Code:
do
{
  macro1="CODE:";
  macro1+="SET !TIMEOUT 45\n";
  macro1+="TAB T=1\n";
  macro1+="URL GOTO=hxxp:tumblr.com/tagged/tag\n";


   macro2="CODE:";
   macro2+="SET !TIMEOUT 45\n";
   macro2+="SET !REPLAYSPEED MEDIUM\n"; 
   macro2+="SET !ERRORIGNORE YES\n";
   macro2+="TAB T=1\n";
   macro2+="wait seconds=5\n";
   //
   macro2+="TAG POS={{loopcounter2}} TYPE=DIV ATTR=CLASS:user_menu_info\n";
   macro2+="TAG POS={{loopcounter2}} TYPE=DIV ATTR=TXT:Follow\n";
   macro2+="TAG POS={{loopcounter2}} TYPE=A ATTR=ID:like_button_*\n";
   //  
   macro2+="TAG POS={{loopcounter2}} TYPE=A ATTR=CLASS:post_control<SP>reblog_button EXTRACT=HREF\n";
   macro2+="TAB OPEN\n";
   macro2+="TAB T=2\n";
   macro2+="SET !VAR1 {{!EXTRACT}}\n";
   macro2+="URL GOTO={{!VAR1}}\n";
   macro2+="SET !REPLAYSPEED FAST\n"; 
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag1,                 \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag2,                 \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag3,                 \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag4,                 \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag5,                 \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag6,                 \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag7,                 \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag8,                 \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag9,                 \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag10,                \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag11,                \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag12,                \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag13,                \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag14,                \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag15,                \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag16,                \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag17,                \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag18,                \n";
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag19,                \n";
   macro2+="SET !REPLAYSPEED MEDIUM\n";                                                                          
   macro2+="TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/reblog/* ATTR=ID:tag_editor_input CONTENT=tag20,                \n";
   macro2+="TAG POS=1 TYPE=BUTTON ATTR=ID:save_button\n";                                       
   macro2+="wait seconds=1\n";                                                                  
   macro2+="TAB T=2\n";                                                                         
   macro2+="TAB CLOSE\n";                                                                       
   macro2+="TAB T=1\n";                                                                         
                                                                                                
    for(e=1; e<=1; e++)
    {
    iimSet("loopcounter1", e); 
    iret = iimPlay(macro1);
    
    for(f=1; f<=12; f++)
    {
     iimSet("loopcounter2", f); 
     iret = iimPlay(macro2);
     
    }
    }     
    
 
}while(iret!=-101);
 
Does this really work, i have to test it now. Thanks for this great share .
 
Can this pull images from a personal tumblr? Or does it have to be that tagged page?
Thank you
 
This works for Tumblr tagged images, but you can edit this script easily in notepad++ for pull images from personal blogs.
 
I have a custom coded bot per se. If you want me to put the points on your acct, I can do that. You need to give me your username and password though. Otherwise I will have to make a brand new account. PM me either way.
 
Back
Top