Name | requests-anon JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | Execute HTTPS requests to a server using anonymous proxies. |
upload_time | 2024-09-04 09:42:15 |
maintainer | None |
docs_url | None |
author | Nicolò Boschi |
requires_python | <4.0,>=3.9 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# `requests-anon`
Execute HTTPS requests to a server using anonymous proxies.
The intended usage is to by-pass server's IP Blocking while scraping data from API or webpages.
It's important to note that using anonymous proxies is **risky**, **unsafe** and will cause **credentials leaks**.
## Installation
```bash
pip install requests-anon
```
## Usage
```python
import requests
from requests_anon import anon_request
# this one will contact the server directly
response = requests.get("https://google.com")
# this one will contact the server using an anonymous proxy
response = anon_request("get", "https://google.com")
```
## Considerations
The library gets socks5 free proxies from [https://advanced.name/freeproxy](https://advanced.name/freeproxy).
It tries to use the first proxy available, if it fails, it tries the next one; therefore the **latency will be higher** than using a single proxy or no proxy at all.
## Contributing
Any contribution is welcome! Please open a PR with your changes.
Raw data
{
"_id": null,
"home_page": null,
"name": "requests-anon",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Nicol\u00f2 Boschi",
"author_email": "boschi1997@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/59/c2/59c25f6e2df1a34602aecf026fb085b78e7ec91e58ab8db6759c37f2ac21/requests_anon-0.1.1.tar.gz",
"platform": null,
"description": "# `requests-anon`\n\nExecute HTTPS requests to a server using anonymous proxies.\nThe intended usage is to by-pass server's IP Blocking while scraping data from API or webpages.\nIt's important to note that using anonymous proxies is **risky**, **unsafe** and will cause **credentials leaks**.\n\n## Installation\n\n```bash\npip install requests-anon\n```\n\n## Usage\n\n```python\nimport requests\nfrom requests_anon import anon_request\n\n# this one will contact the server directly\nresponse = requests.get(\"https://google.com\")\n# this one will contact the server using an anonymous proxy \nresponse = anon_request(\"get\", \"https://google.com\")\n```\n\n## Considerations\n\nThe library gets socks5 free proxies from [https://advanced.name/freeproxy](https://advanced.name/freeproxy).\nIt tries to use the first proxy available, if it fails, it tries the next one; therefore the **latency will be higher** than using a single proxy or no proxy at all.\n\n## Contributing\nAny contribution is welcome! Please open a PR with your changes.\n",
"bugtrack_url": null,
"license": null,
"summary": "Execute HTTPS requests to a server using anonymous proxies.",
"version": "0.1.1",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d71f30a4d62cb243e280dfde8fb8de8dadeb6f6459c00a7f8dc598415b39e575",
"md5": "2e6609619ecf89dd485dc7fefc0112de",
"sha256": "b173cfd5855472ba5161640dfc7f6db9257fd7a14201366273f707fe56fc6c93"
},
"downloads": -1,
"filename": "requests_anon-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2e6609619ecf89dd485dc7fefc0112de",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 2863,
"upload_time": "2024-09-04T09:42:14",
"upload_time_iso_8601": "2024-09-04T09:42:14.789416Z",
"url": "https://files.pythonhosted.org/packages/d7/1f/30a4d62cb243e280dfde8fb8de8dadeb6f6459c00a7f8dc598415b39e575/requests_anon-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "59c259c25f6e2df1a34602aecf026fb085b78e7ec91e58ab8db6759c37f2ac21",
"md5": "087f03d5a2ed00d0961b3006b91a5bce",
"sha256": "7ff7d5bf3b6ad1d654a02d130963fd4ea800c74b9555f975abd51aec32afc028"
},
"downloads": -1,
"filename": "requests_anon-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "087f03d5a2ed00d0961b3006b91a5bce",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 2254,
"upload_time": "2024-09-04T09:42:15",
"upload_time_iso_8601": "2024-09-04T09:42:15.550870Z",
"url": "https://files.pythonhosted.org/packages/59/c2/59c25f6e2df1a34602aecf026fb085b78e7ec91e58ab8db6759c37f2ac21/requests_anon-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-04 09:42:15",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "requests-anon"
}