Generates random HTTP headers for requests
Project description
randomheader
Generates random HTTP headers for requests
install
pip install randomheader
usage
from randomheader import RandomHeader
rh = RandomHeader()
print(rh.header())
example header
{
"Connection": "keep-alive",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "en-GB,en-US;q=0.9,en;q=0.8",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"X-Forwarded-For": "16.64.120.135",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56",
"Dnt": "0",
"Upgrade-Insecure-Requests": "1",
"Referer": "https://bild.de/"
}
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
randomheader-0.4.tar.gz
(18.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file randomheader-0.4.tar.gz.
File metadata
- Download URL: randomheader-0.4.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c30dc5313d24095eaf2b93494524f85304e41eb2b12060cbe00cca17f7bf481
|
|
| MD5 |
9edbe1637e800f0435420378838f9d5f
|
|
| BLAKE2b-256 |
1dd5e02185babcee496b47ea2f7ba8b53037ec0f61cd3e23286267b7f345785b
|
File details
Details for the file randomheader-0.4-py3-none-any.whl.
File metadata
- Download URL: randomheader-0.4-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bb8b202bdc2630905ad57b00168c7a2f1381d53f81eee33ba442ebf606aca0f
|
|
| MD5 |
f11d4dad7824202702a33fb6d3e8adcb
|
|
| BLAKE2b-256 |
2475533549ce0222ab87521a0d333cc59ad706d9a505222a28e858db8f7648c5
|