Git Product home page Git Product logo

proxy_master's Introduction

This module provide asynchronously scraping a bunch of http, https, socks4, socks5 proxies from websites such as:

  1. free-proxy-list.net
  2. geonode.com
  3. hidemy.name

Just now proxy-master scraped 23265 proxies from websites above. Count of unique by ip:port is 18383, but some servers support different protocols.

I add more websites to scrap from time to time, BUT looking for help and advices from people with experience

Dependencies

python3.10 and higher. Pattern matching using in project

Will be installed automatically with pip

aiohttp bs4 lxml pycountry aiohttp_socks

Installation

pip install proxy-master

Usage

  1. This will create proxy_master.json in you home directory and return list of proxies.
import proxy_master as pm
proxies = pm.get_proxies(
    protocol='http',
    do_prints=True
)

Then you can test proxies:

working_proxies = pm.test_proxies(
    proxies,
    proxy_protocol: 'http',
    website_protocol: 'http'
)

Features

  • Scrap different type of proxies include https, socks4, socks5
  • Recursively scraping. Use already collected proxies to scrap another website
  • test_public_ip(...) socks4, socks5 using aiohttp-proxy

In plans

proxy_master's People

Contributors

555russich avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

nerdzzydev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.