Easy-to-use sync library for handy parsing of proxies
Project description
Proxy Parser
About
Synchronous library, for convenient and fast parsing of proxies from different sources.
Uses Scrapy as a parser.
At the moment the library does not support automatic proxy check, this option will be added in the asynchronous version of the library.
Installation
Installing the latest version of the library:
pip install proxy-parse
Example
from proxy_parse import ProxyParser
proxy_parser = ProxyParser()
proxies_list = proxy_parser.parse()
If you need, you can add some parameters to the ProxyParser class:
- path_to_file - optional str parameter, the proxies will be saved to a file at the path
- proxy_limit - optional int parameter, the ProxyParser.parse function will return as many proxies as you need
- scrapy_spiders - optional scrapy.Spider list parameter, you can add your own spiders, which will work together with the others
- scrapy_settings - optional dict parameter, you can replace the library rules with your own
Contribution
Any changes from you will be good for the life of the library
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
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 proxy-parse-1.0.1.tar.gz.
File metadata
- Download URL: proxy-parse-1.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.8.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b3e1731cf25e6e22efabd5afaad09b4c70714f0a527574937c42eb6bbd2b2c4
|
|
| MD5 |
78444c93c77de7f03f0fca91dd38723d
|
|
| BLAKE2b-256 |
b07259e1ad8837d31ffe464e354d30161a10ad2f89ddbcd11540ad0d6a52fc46
|
File details
Details for the file proxy_parse-1.0.1-py3-none-any.whl.
File metadata
- Download URL: proxy_parse-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.8.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a3a695e819c089d27bd149248170df37c2ea62bf20f7573f2efe787a451182c
|
|
| MD5 |
49fabc7f365388505d187061807eaae1
|
|
| BLAKE2b-256 |
7f2ff81b904813bdcfb26d70d6a8ef1c6ff0d010525c949f8d04f242c694c33d
|