Skip to main content

Imitating an Internet user by mimicking popular web traffic

Project description

Python >= 3.6

fake_traffic

Imitating an Internet user by mimicking popular web traffic (internet traffic generator).

How it works:

1. you specify the country and language,
while True:
  2. from google trends script gets a list of popular keywords that in real time are searched 
     by people on google search in the specified country in the specified language,
  3. select a random trend, take from there the keywords and urls of related articles,
  4. the selected keywords are searched on google and duckduckgo, the found urls are added 
     to the existing ones,
  5. the script sequentially sends requests to a list of urls,
  6. in each open url, recursive queries to random links are performed to a random depth (1-5).

Install

pip install -U fake_traffic

Dependencies

lxml
requests
google_trends
duckduckgo_search
google_searching

Simple usage

from fake_traffic import fake_traffic

fake_traffic(country='US', language='en-US")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fake_traffic-0.5.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

fake_traffic-0.5-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file fake_traffic-0.5.tar.gz.

File metadata

  • Download URL: fake_traffic-0.5.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for fake_traffic-0.5.tar.gz
Algorithm Hash digest
SHA256 eae1c3f84fc3ea19e86ce127ada46c9c0556c44223fc18dd3fc15ce1042e9991
MD5 7582622887e988a7193a14d961ff6d40
BLAKE2b-256 3984103b9de4f8b885d2035bcadfb869ca7223bc75bda80ac87c4d4b4e163db8

See more details on using hashes here.

File details

Details for the file fake_traffic-0.5-py3-none-any.whl.

File metadata

  • Download URL: fake_traffic-0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for fake_traffic-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9d9c566a1dd276169e82218275fe9b41f7c5a5dbc37fba70532842b04d31f4ad
MD5 0ba115aaba418307b70e2ef87d8d4b56
BLAKE2b-256 60a47c738f7d26cf4b2f0689d13925dd41c3cdb6db5d823c0ac550f34dba773e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page