Skip to content

iterweb/async_traffic_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Async Traffic Bot

I wrote this programme just for fun. It's async programme for rising website traffic.

How it work

The script will generate random header, screen resolution, referrer and geolocation (need proxies). After going to site, bot will be try to get all links on the page and follow to the received random link, it can be repeated from 2 to 5 times.

Requirements

  • Chromium based browser
  • python 3.7+
  • pip install -r requirements.txt

Using

from rate_up import RateUp

app = RateUp()

# how long bot will be on page (optional)
app.min_time = 40 # default 62 sec
app.max_time = 120 # default 146 sec

app.browser_path = 'full_path_to\chrome.exe'

# generate headers list
headers = app.generate_header_list(2000)

# path to your proxy file (need pass one or more files)
proxy_list = app.get_proxy(
    socks5=r'path_to\socks5.txt',
    socks4=r'path_to\socks4.txt',
    http=r'path_to\http_https.txt',
    unknown=r'path_to\unknown_protocol.txt'
)
print(proxy_list)

# target urls list
urls = [
    'http://example.com',
    'http://example.com/index/article/0-5',
]

app.start(proxy_list, headers, urls)

if you want using your own referrer list or expand the existing:

from rate_up import RateUp

app = RateUp()

# for new list
app.change_referrer(new='site-1.com, site-2.com')

# for expand list
app.change_referrer(expand='site-1.com, site-2.com')

# show the list what is using to generate the header (referrer, cache_control, accept, accept_encoding, user_agent)
app.show_header_data('referrer')

Additional tools (if you need)

I am not responsible for the use of this script!