A package that converts headers and cookies
Project description
Web converter
This is a simple package that converts headers and cookies You can pass a string containing headers and cookies to it, and it will return you a dictionary understandable for the requests module.
Usage:
>>> from web_converter.converter import convert
>>> string = 'Referer: https://github.com/'
>>> example = convert(string)
>>> print(example)
{'Referer': 'https://github.com/'}
>>> print(type(example))
<class 'dict'>
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
web_converter-0.0.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for web_converter-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0ac7abdf198a360c48937546de232271e6ede51a43d8c27188af797f282fdcf |
|
MD5 | 3e516cfb35f8208998a6d4f406a995c8 |
|
BLAKE2b-256 | a2dc3b457e7df8ae0bb5a160b7038d95ee1939e271b0a4ed506f428a59bb91ca |