Software or script that opens website for 30secs from a list

The only issue is that iMacros doesn't have multithreading capabilities, so if you want to load 100k urls and stay on the urls for 30 secs, that would take more than a month while running the bot 24/7. Multiple instances can be run of course, but even if you run 4-5 instances simultaneously, it would still take a week 24/7.


Ooooooooooooooh! Multi-thread! Completely slipped my mind. Of course I'd need multithread at 30 seconds a pop!!
 
I have a list of 100,000 URls that I want to open in a browser window for 30 seconds. I'm not bothered about proxies. It just has to register with the analytics on that site/URl.

i.e. I enter the list somewhere and the program opens that URl for 30 seconds, closes it, then moves on to the next one in the list until the list is finished.

Thanks

Do you need a javascript supported script or not?
 
Do you need a javascript supported script or not?
You mean, does the bot browser have to load javascript? I'm guessing so. Like I said, the visit needs to show up in analytics. Is that what you meant?
 
Ok, then zennoposter is the fastest way to go. Python + selenium would be a much slower option and would use a lot of CPU/RAM.
 
I have a list of 100,000 URls that I want to open in a browser window for 30 seconds. I'm not bothered about proxies. It just has to register with the analytics on that site/URl.

i.e. I enter the list somewhere and the program opens that URl for 30 seconds, closes it, then moves on to the next one in the list until the list is finished.

Thanks

I use a really great program someone on here made, he sells it very cheap for the quality, send me a message and ill reply with the link to it, or you can search yourself, its called Traffic Bot
 
Hi there. I know it's an old thread. may be you found what you were looking for but may be someone else could use it also. So I'm sharing little script written in Python. Just save the script in the same folder with your url file (name it for example bot.py) the extension must be .py. then run it from the command line wit the following command
Code:
python bot.py

Code:
# -*- coding:utf-8 -*-

"""
for this script you need python installed on your computer.
also a 3rd party module needs to be installed. But the script takes care of it
Last one to automate web  you need geckodriver for mozilla
search google you can find it on github (different versions available for linux mac and windows)
extract it and copy it under directory C:\
if you're on mac or linux copy it to your root folder you're ready.

"""


import time
import os

try:
    from selenium import webdriver
except:
    os.system('pip install selenium')

url_file = open("name_of_url_file.txt", "r")
driver = webdriver.Firefox()

for url in url_file.readlines():
    driver.get(url)
    time.sleep(30)


driver.close()


Edit: sorry, you need multithreading for this task. I'll update the code
 
Last edited:
Here is the updated code. Hope it helps!

Code:
# -*- coding:utf-8 -*-

"""
for this script you need python installed on your computer.
also a 3rd party module needs to be installed. But the script takes care of it
Last one to automate web  you need geckodriver for mozilla
download it from github.com/mozilla/geckodriver/releases (different versions available for linux mac and windows)
extract it and copy it under directory C:\
if you're on mac or linux copy it to your root folder you're ready.

"""


import time
import os
from multiprocessing import Pool


try:
    from selenium import webdriver
except:
    os.system('pip install selenium')


def open_browser(url):
    driver = webdriver.Firefox()
    driver.get(url)
    time.sleep(10)
    driver.close()


if __name__ == '__main__':
    url_file = open("name_of_url_file.txt", "r")
    
    # define the number of windows you want to open at the same time.
    browser_count = 5
    
    
    p = Pool(browser_count)
    p.map(open_browser, [line for line in url_file.readlines()])
 
Here is the updated code. Hope it helps!

Code:
# -*- coding:utf-8 -*-

"""
for this script you need python installed on your computer.
also a 3rd party module needs to be installed. But the script takes care of it
Last one to automate web  you need geckodriver for mozilla
download it from github.com/mozilla/geckodriver/releases (different versions available for linux mac and windows)
extract it and copy it under directory C:\
if you're on mac or linux copy it to your root folder you're ready.

"""


import time
import os
from multiprocessing import Pool


try:
    from selenium import webdriver
except:
    os.system('pip install selenium')


def open_browser(url):
    driver = webdriver.Firefox()
    driver.get(url)
    time.sleep(10)
    driver.close()


if __name__ == '__main__':
    url_file = open("name_of_url_file.txt", "r")
   
    # define the number of windows you want to open at the same time.
    browser_count = 5
   
   
    p = Pool(browser_count)
    p.map(open_browser, [line for line in url_file.readlines()])

+1 for python solution. Was going to recommend exactly this over a macro because of the multi threading capabilities. Thanks for posting the code!
 
Seems like you need a simple script to open the browser and read the first 20-30 Domains, wait for it to finish loading, clear cookies and move down the list..

Python can get it done easily
 
I've just wrote this, I've not bothered testing, you get the idea...

Code:
public async Task visitwebsite()
{
    var t = new Thread(() => {

        var lines = File.ReadAllLines(fileName);

        foreach (var website in websites){

            using(var visit = await client.getAsync(website)){
                Thread.sleep(30);
            }
        }
    });

    t.start();
}

public void click_button(....)
{
    this.visitwebsite().wait();
}
 
Back
Top