Imitating an Internet user by mimicking popular web traffic
Project description
fake_traffic
Imitating an Internet user by mimicking popular web traffic
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.2.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file fake_traffic-0.2.tar.gz
.
File metadata
- Download URL: fake_traffic-0.2.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.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02bde136786fdfea6da9a33a14d2aba584e07d1266a622675b0e82462f0f415c |
|
MD5 | 62a02c76b449a56bdb6d388a4b083ee9 |
|
BLAKE2b-256 | 2f3fe5449f2de425d46a2538f63d0d8fdd412d7c3acfea3d1a4944725249bea2 |
File details
Details for the file fake_traffic-0.2-py3-none-any.whl
.
File metadata
- Download URL: fake_traffic-0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca18582a07657308bd0a006115d320085d79939025959832e9575870dbb302be |
|
MD5 | 0b4bd199c1eed35b6d444054d042fbd6 |
|
BLAKE2b-256 | a49c37861b2aedb60377c434d071c6cb3d58873db30b24fefd50e334e7d9b21d |