Metadata-Version: 2.1
Name: ultimatePSUR
Version: 0.1.0
Summary: Ultimate Proxy Scraping, Utilization, and Rotation library
Home-page: https://github.com/lix870/ultimatePSUR
Author: haithem bendjeffal
Author-email: lixlix870@gmail.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: beautifulsoup4

# UltimatePSUR

UltimatePSUR (PROXY SCRAPING UTILIZATION ROTATION) is a comprehensive Python library for scraping, managing, and rotating proxies.

## Features

- Proxy scraping from multiple sources
- Automatic proxy list updating
- Proxy rotation
- Easy integration with existing projects

## Installation

Install UltimatePSUR using pip:
pip install ultimatePSUR
Copy
## Usage

Here's a quick example:

```python
from ultimatePSUR import ProxyRotator

rotator = ProxyRotator()

# Get a random proxy
proxy = rotator.get_proxy()
print(f"Using proxy: {proxy}")

# Rotate to the next proxy
next_proxy = rotator.rotate_proxy(proxy)
print(f"Rotated to proxy: {next_proxy}")

# Use a proxy to make a request
response = rotator.use_proxy('https://example.com')
if response:
    print(response.text)
else:
    print("Failed to fetch the URL")
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.
Copy
7. `requirements.txt`:
requests==2.26.0
beautifulsoup4==4.10.0
Copy
This structure and these files provide a basic implementation of the UltimatePSUR library. The `ProxyScraper` class handles scraping proxies from various sources. The `ProxyManager` class manages the proxy list, including updating and filtering working proxies. The `ProxyRotator` class provides methods for rotating proxies and using them to make requests.

The library includes basic logic for:
- Scraping proxies from multiple sources
- Filtering invalid proxies
- Checking if proxies are working
- Rotating through the proxy list
- Using proxies to make requests with retries
