Imitating an Internet user by mimicking popular web traffic
Project description
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
Release history Release notifications | RSS feed
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.4.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file fake_traffic-0.4.tar.gz
.
File metadata
- Download URL: fake_traffic-0.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95ea4f6ea805a2c4098dac7632929d79040065c46184ebd504ee8f320a967685 |
|
MD5 | 231834a135417d77131343a1b327a592 |
|
BLAKE2b-256 | 85724314c7839662fd66db51ba3b444fe769a8f48b7a244260b621ba6dbdc7a5 |
File details
Details for the file fake_traffic-0.4-py3-none-any.whl
.
File metadata
- Download URL: fake_traffic-0.4-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8daaadfdf071e5f03a085def17b00cfd3bd6675a90575caa24a77801aa2ab609 |
|
MD5 | 7531c8a26be8449ed33ce4e93da00dce |
|
BLAKE2b-256 | 8577473bb3f1d41250db0d547ff7b2b3bc33340da36d1fc3aea31286126ac936 |