ProxyBroker is an open source tool that asynchronously finds public proxies from multiple sources and concurrently checks them

Overview

ProxyBroker

https://img.shields.io/pypi/v/proxybroker.svg?style=flat-square https://img.shields.io/travis/constverum/ProxyBroker.svg?style=flat-square https://img.shields.io/pypi/wheel/proxybroker.svg?style=flat-square https://img.shields.io/pypi/pyversions/proxybroker.svg?style=flat-square https://img.shields.io/pypi/l/proxybroker.svg?style=flat-square

ProxyBroker is an open source tool that asynchronously finds public proxies from multiple sources and concurrently checks them.

https://raw.githubusercontent.com/constverum/ProxyBroker/master/docs/source/_static/index_find_example.gif

Features

  • Finds more than 7000 working proxies from ~50 sources.
  • Support protocols: HTTP(S), SOCKS4/5. Also CONNECT method to ports 80 and 23 (SMTP).
  • Proxies may be filtered by type, anonymity level, response time, country and status in DNSBL.
  • Work as a proxy server that distributes incoming requests to external proxies. With automatic proxy rotation.
  • All proxies are checked to support Cookies and Referer (and POST requests if required).
  • Automatically removes duplicate proxies.
  • Is asynchronous.

Requirements

Installation

To install last stable release from pypi:

$ pip install proxybroker

The latest development version can be installed directly from GitHub:

$ pip install -U git+https://github.com/constverum/ProxyBroker.git

Usage

CLI Examples

Find

Find and show 10 HTTP(S) proxies from United States with the high level of anonymity:

$ proxybroker find --types HTTP HTTPS --lvl High --countries US --strict -l 10

https://raw.githubusercontent.com/constverum/ProxyBroker/master/docs/source/_static/cli_find_example.gif

Grab

Find and save to a file 10 US proxies (without a check):

$ proxybroker grab --countries US --limit 10 --outfile ./proxies.txt

https://raw.githubusercontent.com/constverum/ProxyBroker/master/docs/source/_static/cli_grab_example.gif

Serve

Run a local proxy server that distributes incoming requests to a pool of found HTTP(S) proxies with the high level of anonymity:

$ proxybroker serve --host 127.0.0.1 --port 8888 --types HTTP HTTPS --lvl High

https://raw.githubusercontent.com/constverum/ProxyBroker/master/docs/source/_static/cli_serve_example.gif

Run proxybroker --help for more information on the options available.
Run proxybroker --help for more information on a command.

Basic code example

Find and show 10 working HTTP(S) proxies:

import asyncio
from proxybroker import Broker

async def show(proxies):
    while True:
        proxy = await proxies.get()
        if proxy is None: break
        print('Found proxy: %s' % proxy)

proxies = asyncio.Queue()
broker = Broker(proxies)
tasks = asyncio.gather(
    broker.find(types=['HTTP', 'HTTPS'], limit=10),
    show(proxies))

loop = asyncio.get_event_loop()
loop.run_until_complete(tasks)

More examples.

Documentation

https://proxybroker.readthedocs.io/

TODO

  • Check the ping, response time and speed of data transfer
  • Check site access (Google, Twitter, etc) and even your own custom URL's
  • Information about uptime
  • Checksum of data returned
  • Support for proxy authentication
  • Finding outgoing IP for cascading proxy
  • The ability to specify the address of the proxy without port (try to connect on defaulted ports)

Contributing

  • Fork it: https://github.com/constverum/ProxyBroker/fork
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request!

License

Licensed under the Apache License, Version 2.0

This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.

Comments
  • Error Installing Through pip

    Error Installing Through pip

    I tried to install through pip and received the following error:

    Collecting proxybroker Using cached proxybroker-0.1.2.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-CX9FBL/proxybroker/setup.py", line 10, in VERSION = import(PACKAGE).version File "proxybroker/init.py", line 2 SyntaxError: Non-ASCII character '\xc2' in file proxybroker/init.py on line 3, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

    ----------------------------------------
    

    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-CX9FBL/proxybroker

    invalid 
    opened by 57ra7363m 9
  • TimeoutError is thrown on retrieval of own ip address

    TimeoutError is thrown on retrieval of own ip address

    I encountered a new error stating: "Could not get a external IP.".

    I took a look around to figure out if I can fix it or if I caused the error somehow. To me it looks like proxybroker tries to connect to "http://httpbin.org/ip" but the timeout of 3 seconds fails. I checked whether the mentioned website was working properly. It is up and running with fast response times. I tried running proxybroker on a server, to check whether or not it is a local problem with the same error popping up. The funny thing is sometimes proxybroker actually fetched a few proxies before the following error was thrown.

    Do you have any idea what else could cause this error, but the website? And more important, how to fix this issue?

    Any feedback is appreciated!

    /home/sebastian/PycharmProjects/STW/venv/lib/python3.5/site-packages/aiohttp/client.py:494: DeprecationWarning: Use async with instead
      warnings.warn("Use async with instead", DeprecationWarning)
    Traceback (most recent call last):
      File "/home/sebastian/PycharmProjects/STW/venv/lib/python3.5/site-packages/proxybroker/utils.py", line 101, in set_my_ip
        data = await resp.json()
      File "/home/sebastian/PycharmProjects/STW/venv/lib/python3.5/site-packages/async_timeout/__init__.py", line 44, in __exit__
        raise asyncio.TimeoutError from None
    concurrent.futures._base.TimeoutError
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/home/sebastian/PycharmProjects/testing/test/test_prox2.py", line 19, in <module>
        loop.run_until_complete(tasks)
      File "/usr/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete
        return future.result()
      File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
        raise self._exception
      File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
        result = coro.throw(exc)
      File "/home/sebastian/PycharmProjects/STW/venv/lib/python3.5/site-packages/proxybroker/api.py", line 98, in find
        await set_my_ip(self._timeout, self._loop)
      File "/home/sebastian/PycharmProjects/STW/venv/lib/python3.5/site-packages/proxybroker/utils.py", line 103, in set_my_ip
        raise RuntimeError('Could not get an external IP. Error: %s' % e)
    RuntimeError: Could not get an external IP. Error: 
    Exception ignored in: <coroutine object show at 0x7f9b22cdd150>
    Traceback (most recent call last):
      File "/home/sebastian/PycharmProjects/testing/test/test_prox2.py", line 7, in show
      File "/usr/lib/python3.5/asyncio/queues.py", line 170, in get
      File "/usr/lib/python3.5/asyncio/futures.py", line 227, in cancel
      File "/usr/lib/python3.5/asyncio/futures.py", line 242, in _schedule_callbacks
      File "/usr/lib/python3.5/asyncio/base_events.py", line 497, in call_soon
      File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
      File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
    RuntimeError: Event loop is closed
    
    
    Process finished with exit code 1
    
    bug 
    opened by Sebisnow 8
  • proxy check

    proxy check

    I install proxybroker. then I run command: proxybroker find --types SOCKS5 -o /var/www/html/secret/proxybroker/2019-01-29 and get 366 proxyies. Then I manull check all proxy and get only 17 work proxy. Did I understand correctly that the "find" command does not perform a proxy check?

    question 
    opened by atimofeev86 7
  • DeprecationWarning: The loop argument is deprecated since Python 3.8

    DeprecationWarning: The loop argument is deprecated since Python 3.8

    $proxybroker find --types https --lvl High -l 10
    /home/user/.local/lib/python3.9/site-packages/proxybroker/cli.py:380: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
      proxies = asyncio.Queue(loop=loop)
    /usr/lib/python3.9/asyncio/queues.py:48: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
      self._finished = locks.Event(loop=loop)
    /home/user/.local/lib/python3.9/site-packages/proxybroker/api.py:97: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
      self._on_check = asyncio.Queue(maxsize=max_conn, loop=self._loop)
    /usr/lib/python3/dist-packages/aiohttp/connector.py:964: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
      hosts = await asyncio.shield(self._resolve_host(
    /usr/lib/python3/dist-packages/aiohttp/locks.py:21: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
      self._event = asyncio.Event(loop=loop)
    /usr/lib/python3.9/asyncio/trsock.py:20: DeprecationWarning: Using send() method on sockets returned from get_extra_info('socket') will be prohibited in asyncio 3.9. Please report your use case to bugs.python.org.
      warnings.warn(
    DeprecationWarning: Enable tracemalloc to get the object allocation traceback
    /usr/lib/python3.9/asyncio/trsock.py:20: DeprecationWarning: Using recv() method on sockets returned from get_extra_info('socket') will be prohibited in asyncio 3.9. Please report your use case to bugs.python.org.
      warnings.warn(
    DeprecationWarning: Enable tracemalloc to get the object allocation traceback
    /usr/lib/python3.9/asyncio/trsock.py:20: DeprecationWarning: Using close() method on sockets returned from get_extra_info('socket') will be prohibited in asyncio 3.9. Please report your use case to bugs.python.org.
      warnings.warn(
    DeprecationWarning: Enable tracemalloc to get the object allocation traceback
    
    
    <Proxy RO 0.11s [HTTPS] 84.247.51.123:3128>
    proxies*9```
    opened by adigeefe 5
  • problem in proxybroker

    problem in proxybroker

    I can not install Proxybroker to fix:

    Traceback (most recent call last): File "hackinsta.py", line 10, in from proxybroker import Broker ModuleNotFoundError: No module named 'proxybroker'

    When I try to install, this appears:

    $ pip install proxybroker Collecting proxybroker Using cached proxybroker-0.3.1-py3-none-any.whl Requirement already satisfied: maxminddb==1.3.0 in /data/data/com.termux/files/usr/lib/python3.6/site-packages (from proxybroker) Collecting aiodns==1.1.1 (from proxybroker) Using cached aiodns-1.1.1-py2.py3-none-any.whl Requirement already satisfied: async-timeout==2.0.0 in /data/data/com.termux/files/usr/lib/python3.6/site-packages (from proxybroker) Requirement already satisfied: aiohttp==3.0.1 in /data/data/com.termux/files/usr/lib/python3.6/site-packages (from proxybroker) Collecting pycares>=1.0.0 (from aiodns==1.1.1->proxybroker) Using cached pycares-2.3.0.tar.gz Requirement already satisfied: attrs>=17.4.0 in /data/data/com.termux/files/usr/lib/python3.6/site-packages (from aiohttp==3.0.1->proxybroker) Requirement already satisfied: chardet<4.0,>=2.0 in /data/data/com.termux/files/usr/lib/python3.6/site-packages (from aiohttp==3.0.1->proxybroker) Requirement already satisfied: multidict<5.0,>=4.0 in /data/data/com.termux/files/usr/lib/python3.6/site-packages (from aiohttp==3.0.1->proxybroker) Requirement already satisfied: yarl<2.0,>=1.0 in /data/data/com.termux/files/usr/lib/python3.6/site-packages (from aiohttp==3.0.1->proxybroker) Requirement already satisfied: idna-ssl>=1.0 in /data/data/com.termux/files/usr/lib/python3.6/site-packages (from aiohttp==3.0.1->proxybroker) Requirement already satisfied: idna>=2.0 in /data/data/com.termux/files/usr/lib/python3.6/site-packages (from yarl<2.0,>=1.0->aiohttp==3.0.1->proxybroker) Installing collected packages: pycares, aiodns, proxybroker Running setup.py install for pycares ... error Complete output from command /data/data/com.termux/files/usr/bin/python -u -c "import setuptools, tokenize;file='/data/data/com.termux/files/usr/tmp/pip-build-5tpo61wy/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-mbjj8xfa-record/install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build/lib.linux-armv7l-3.6 creating build/lib.linux-armv7l-3.6/pycares copying pycares/init.py -> build/lib.linux-armv7l-3.6/pycares copying pycares/main.py -> build/lib.linux-armv7l-3.6/pycares copying pycares/errno.py -> build/lib.linux-armv7l-3.6/pycares copying pycares/_version.py -> build/lib.linux-armv7l-3.6/pycares running build_ext building 'pycares._core' extension creating build/temp.linux-armv7l-3.6 creating build/temp.linux-armv7l-3.6/src creating build/temp.linux-armv7l-3.6/deps creating build/temp.linux-armv7l-3.6/deps/c-ares creating build/temp.linux-armv7l-3.6/deps/c-ares/src arm-linux-androideabi-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -Os -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -Os -fPIC -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/data/data/com.termux/files/usr/include/python3.6m -Ideps/c-ares/src -Ideps/c-ares/src/config_linux -c src/pycares.c -o build/temp.linux-armv7l-3.6/src/pycares.o In file included from src/pycares.c:2: In file included from src/pycares.h:7: /data/data/com.termux/files/usr/include/python3.6m/Python.h:39:10: fatal error: 'crypt.h' file not found #include <crypt.h> ^~~~~~~~~ 1 error generated. error: command 'arm-linux-androideabi-clang' failed with exit status 1


    Command "/data/data/com.termux/files/usr/bin/python -u -c "import setuptools, tokenize;file='/data/data/com.termux/files/usr/tmp/pip-build-5tpo61wy/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-mbjj8xfa-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-build-5tpo61wy/pycares/

    If you can help me, I appreciate it.

    @avramit @constverum

    invalid 
    opened by erick08 5
  • pip install version

    pip install version

    pip install proxybroker installs v0.3.1 which fails due to lacking AIOHTTP 3.0.1 as a valid requirement.

    Does the latest version v.0.3.2 need to be pushed to pypi to allow installation using pip?

    Could not find a version that satisfies the requirement aiohttp==3.0.1 (from proxybroker) (from versions: 0.1, 0.2, 0.3, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.16.5, 0.16.6, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.18.4, 0.19.0, 0.20.0, 0.20.1, 0.20.2, 0.21.0, 0.21.1, 0.21.2, 0.21.4, 0.21.5, 0.21.6, 0.22.0a0, 0.22.0b0, 0.22.0b1, 0.22.0b2, 0.22.0b3, 0.22.0b4, 0.22.0b5, 0.22.0b6, 0.22.0, 0.22.1, 0.22.2, 0.22.3, 0.22.4, 0.22.5, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.5, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 2.0.0rc1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.6.post1, 2.0.7, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.3.0a1, 2.3.0a2, 2.3.0a4, 2.3.0, 2.3.1a1, 2.3.1, 2.3.2b2, 2.3.2b3, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10, 3.0.0b0) No matching distribution found for aiohttp==3.0.1 (from proxybroker)

    invalid 
    opened by SPDurkee 4
  • Not work

    Not work

    My run of it: $ proxybroker find --types HTTP HTTPS --lvl High --countri DE CH AT --strict

    .. /python3.6/site-packages/aiohttp/client.py:576: DeprecationWarning: Use async with instead
      warnings.warn("Use async with instead", DeprecationWarning)
    .. /python3.6/site-packages/aiohttp/helpers.py:129: DeprecationWarning: ClientSession.close() is a coroutine
      warnings.warn(self._msg, DeprecationWarning)
    

    ...and the program hangs. Errors like it with other commands, and on run it as framework from a script.

    bug 
    opened by vladiscripts 4
  • proxybroker command is missing

    proxybroker command is missing

    If I install the project with pip install proxybroker, the command proxybroker is missing. If I install the dev. version directly from github, the proxybroker is there.

    Either update the pypi version or mention this strangeness in the documentation. BTW, thanks for the project, it'll be useful for me.

    question 
    opened by jabbalaci 4
  • Fatal Python error: ffi.from_handle() detected that the address passed points to garbage

    Fatal Python error: ffi.from_handle() detected that the address passed points to garbage

    When I execute

    proxybroker find --types HTTP HTTPS --lvl High --countries US --strict -l 10

    I receive

    Fatal Python error: ffi.from_handle() detected that the address passed points to garbage. If it is really the result of ffi.new_handle(), then the Python object has already been garbage collected
    
    Thread 0x00000d08 (most recent call first):
      File "c:\python35\lib\threading.py", line 293 in wait
      File "c:\python35\lib\queue.py", line 164 in get
      File "c:\python35\lib\concurrent\futures\thread.py", line 64 in _worker
      File "c:\python35\lib\threading.py", line 862 in run
      File "c:\python35\lib\threading.py", line 914 in _bootstrap_inner
      File "c:\python35\lib\threading.py", line 882 in _bootstrap
    
    Current thread 0x000052f4 (most recent call first):
      File "c:\python35\lib\site-packages\pycares\_cfficore\__init__.py", line 122 in _sock_state_cb
      File "c:\python35\lib\site-packages\pycares\_cfficore\__init__.py", line 455 in process_fd
      File "c:\python35\lib\site-packages\pycares\_cfficore\__init__.py", line 113 in wrapper
      File "c:\python35\lib\site-packages\aiodns\__init__.py", line 103 in _handle_event
      File "c:\python35\lib\asyncio\events.py", line 125 in _run
      File "c:\python35\lib\asyncio\base_events.py", line 1254 in _run_once
      File "c:\python35\lib\asyncio\base_events.py", line 295 in run_forever
      File "c:\python35\lib\asyncio\base_events.py", line 325 in run_until_complete
      File "c:\python35\lib\site-packages\proxybroker\cli.py", line 310 in cli
      File "C:\Python35\Scripts\proxybroker-script.py", line 9 in <module>
    

    on last version from pip and from this repository.

    Windows 8.1 x64, Python 3.5.1 cffi versions 1.5, 1.6

    opened by rq4w7z 4
  • proxybroker in python windows

    proxybroker in python windows

    Command "/data/data/com.termux/files/usr/bin/python -u -c "import setuptools, tokenize;file='/data/data/com.termux/files/usr/tmp/pip-install-guicszbo/pycares/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-record-es52rl_f/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-install-guicszbo/pycares/ I entered command pip install proxybroker then it shows such error i tried it on 6 devices. Please help me get out of this error

    can i run this code in python in computer?? does it work??

    duplicate invalid 
    opened by mohammadaliazizkhani 3
  • I can't install proxybroker with pip3 install proxybroker (python 3.5.2)

    I can't install proxybroker with pip3 install proxybroker (python 3.5.2)

    when I try to, it says: Could not find a version that satisfies the requirement aiohttp==3.0.1 (from proxybroker) (from versions: 0.1, 0.2, 0.3, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5.0, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.10.0, 0.10.1, 0.10.2, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.15.0, 0.15.1, 0.15.2, 0.15.3, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.16.4, 0.16.5, 0.16.6, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.18.4, 0.19.0, 0.20.0, 0.20.1, 0.20.2, 0.21.0, 0.21.1, 0.21.2, 0.21.4, 0.21.5, 0.21.6, 0.22.0a0, 0.22.0b0, 0.22.0b1, 0.22.0b2, 0.22.0b3, 0.22.0b4, 0.22.0b5, 0.22.0b6, 0.22.0, 0.22.1, 0.22.2, 0.22.3, 0.22.4, 0.22.5, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.5, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 2.0.0rc1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.6.post1, 2.0.7, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.3.0a1, 2.3.0a2, 2.3.0a4, 2.3.0, 2.3.1a1, 2.3.1, 2.3.2b2, 2.3.2b3, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10, 3.0.0b0) No matching distribution found for aiohttp==3.0.1 (from proxybroker)

    opened by ghost 3
  • Not maintained. USE `proxybroker2` INSTEAD.

    Not maintained. USE `proxybroker2` INSTEAD.

    As this project is not maintained by the original developer, we've forked and continued maintaining it in proxybroker2 project since 2020.

    • https://github.com/bluet/proxybroker2
    • https://github.com/constverum/ProxyBroker/pull/161

    If anyone's interested, please join. We need more volunteers. :-)

    opened by bluet 1
  • TypeError: As of 3.10, the *loop* parameter was removed from Queue() since it is no longer necessary

    TypeError: As of 3.10, the *loop* parameter was removed from Queue() since it is no longer necessary

    proxybroker find --types HTTPS SOCKS4 SOCKS5 --lvl High --countries UA --strict -l 100 /run/media/vadiki/D_238_GB_WD/Кибервойска/Анонимность/Proxy/proxy-scraper-checker-main/env/lib/python3.10/site-packages/proxybroker/cli.py:379: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() Traceback (most recent call last): File "/run/media/vadiki/D_238_GB_WD/Кибервойска/Анонимность/Proxy/proxy-scraper-checker-main/env/bin/proxybroker", line 8, in sys.exit(cli()) File "/run/media/vadiki/D_238_GB_WD/Кибервойска/Анонимность/Proxy/proxy-scraper-checker-main/env/lib/python3.10/site-packages/proxybroker/cli.py", line 380, in cli proxies = asyncio.Queue(loop=loop) File "/usr/lib/python3.10/asyncio/queues.py", line 34, in init super().init(loop=loop) File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in init raise TypeError( TypeError: As of 3.10, the loop parameter was removed from Queue() since it is no longer necessary

    opened by sova32 2
  • trabl install end start

    trabl install end start

    1. pip install -U git+https://github.com/constverum/ProxyBroker.git

    DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. Collecting git+https://github.com/constverum/ProxyBroker.git Cloning https://github.com/constverum/ProxyBroker.git to /tmp/pip-req-build-1lmtNa Running command git clone -q https://github.com/constverum/ProxyBroker.git /tmp/pip-req-build-1lmtNa Installing build dependencies ... done Getting requirements to build wheel ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python2 /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpRFg8S1 cwd: /tmp/pip-req-build-1lmtNa Complete output (4 lines): Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 16, in from importlib import import_module ImportError: No module named importlib

    ERROR: Command errored out with exit status 1: /usr/bin/python2 /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpRFg8S1 Check the logs for full command output.

    1. read a little

    3)# pip3 install --upgrade setuptools && pip3 install --upgrade pip Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (59.6.0) Collecting setuptools Downloading setuptools-62.6.0-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 2.8 MB/s eta 0:00:00 Installing collected packages: setuptools Attempting uninstall: setuptools Found existing installation: setuptools 59.6.0 Not uninstalling setuptools at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'setuptools'. No files were found to uninstall. Successfully installed setuptools-62.6.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Requirement already satisfied: pip in /usr/lib/python3/dist-packages (22.1.1) Collecting pip Downloading pip-22.1.2-py3-none-any.whl (2.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 3.5 MB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 22.1.1 Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'pip'. No files were found to uninstall. Successfully installed pip-22.1.2 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv.

    4)replay pip install -U git+https://github.com/constverum/ProxyBroker.git Collecting git+https://github.com/constverum/ProxyBroker.git Cloning https://github.com/constverum/ProxyBroker.git to /tmp/pip-req-build-e4kuzf9q Running command git clone --filter=blob:none --quiet https://github.com/constverum/ProxyBroker.git /tmp/pip-req-build-e4kuzf9q Resolved https://github.com/constverum/ProxyBroker.git to commit d21aae8575fc3a95493233ecfd2c7cf47b36b069 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Requirement already satisfied: aiodns>=2.0.0 in /usr/lib/python3/dist-packages (from proxybroker==0.3.2) (3.0.0) Requirement already satisfied: maxminddb>=1.4.1 in /usr/local/lib/python3.10/dist-packages (from proxybroker==0.3.2) (2.2.0) Requirement already satisfied: attrs==19.1.0 in /usr/local/lib/python3.10/dist-packages (from proxybroker==0.3.2) (19.1.0) Requirement already satisfied: aiohttp>=3.5.4 in /usr/lib/python3/dist-packages (from proxybroker==0.3.2) (3.8.1) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

    conclusion: proxybroker find --types HTTP HTTPS --lvl High --countries US --strict -l 10 /usr/local/lib/python3.10/dist-packages/proxybroker/cli.py:379: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() Traceback (most recent call last): File "/usr/local/bin/proxybroker", line 8, in sys.exit(cli()) File "/usr/local/lib/python3.10/dist-packages/proxybroker/cli.py", line 380, in cli proxies = asyncio.Queue(loop=loop) File "/usr/lib/python3.10/asyncio/queues.py", line 34, in init super().init(loop=loop) File "/usr/lib/python3.10/asyncio/mixins.py", line 17, in init raise TypeError( TypeError: As of 3.10, the loop parameter was removed from Queue() since it is no longer necessary

    what to do how to be. HELP!!!

    opened by rulles22 1
  • I managed to run this on Windows

    I managed to run this on Windows

    I faced "NotImplementedError" and "WinError 10038 An operation was attempted on something that is not a socket" on python versions other than 3.5/3.6.

    # Or simply install python 3.6.13
    conda create --name py36 python=3.6.13
    conda activate py36
    
    pip install --upgrade setuptools maxminddb==1.5.4 proxybroker
    
    opened by PXEiYyMH8F 4
  • TypeError: function() argument 'code' must be code, not str

    TypeError: function() argument 'code' must be code, not str

    Hi im not sure what im doing wrong but proxybroker seems to be broken?

    All ive done was follow the instructions in the readme ..

    `┌──(root💀kali)-[~/Desktop/python] └─# proxybroker find --types HTTP HTTPS --lvl High --countries US --strict -l 10 127 ⨯

    Traceback (most recent call last): File "/usr/local/bin/proxybroker", line 33, in sys.exit(load_entry_point('proxybroker==0.3.2', 'console_scripts', 'proxybroker')()) File "/usr/local/bin/proxybroker", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 972, in _find_and_load_unlocked File "", line 228, in _call_with_frames_removed File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed File "/usr/local/lib/python3.9/dist-packages/proxybroker-0.3.2-py3.9.egg/proxybroker/init.py", line 28, in from .proxy import Proxy # noqa File "/usr/local/lib/python3.9/dist-packages/proxybroker-0.3.2-py3.9.egg/proxybroker/proxy.py", line 16, in from .resolver import Resolver File "/usr/local/lib/python3.9/dist-packages/proxybroker-0.3.2-py3.9.egg/proxybroker/resolver.py", line 9, in import aiohttp File "/usr/lib/python3/dist-packages/aiohttp/init.py", line 6, in from .client import ( File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 35, in from . import hdrs, http, payload File "/usr/lib/python3/dist-packages/aiohttp/http.py", line 7, in from .http_parser import ( File "/usr/lib/python3/dist-packages/aiohttp/http_parser.py", line 15, in from .helpers import NO_EXTENSIONS, BaseTimerContext File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 667, in class CeilTimeout(async_timeout.timeout): TypeError: function() argument 'code' must be code, not str `

    opened by AirHeadsbuirse 1
Owner
Denis
Full Stack Problem Solver
Denis
🔥 Minimal performant package to asynchronously make GET requests.

Minimal performant package to asynchronously make GET requests without any dependencies other than asyncio.

Yannick Perrenet 1 Jun 1, 2022
Python 3 tool for finding unclaimed groups on Roblox. Supports multi-threading, multi-processing and HTTP proxies.

roblox-group-scanner Python 3 tool for finding unclaimed groups on Roblox. Supports multi-threading, multi-processing and HTTP proxies. Usage usage: s

h0nda 43 May 11, 2022
This script aims to make the dynamic public ip of your local server, public.

EZ DDNS CLOUDFLARE This script aims to make the dynamic ip of your local server, public. It does this by regularly updating cloudflare's dns record. B

null 3 Feb 13, 2022
Multiple-requests-poster - A tool to send multiple requests to a particular website written in Python

Multiple-requests-poster - A tool to send multiple requests to a particular website written in Python

RLX 2 Feb 14, 2022
Python tutorial for implementing Oxylabs' Residential Proxies with AIOHTTP

Integrating Oxylabs' Residential Proxies with AIOHTTP Requirements for the Integration For the integration to work you'll need to install aiohttp libr

Oxylabs.io 6 Sep 14, 2022
Aiotor - a pool of proxies, shifting on each request

Aiotor - a pool of proxies, shifting on each request

Leon 32 Dec 26, 2022
test whether http(s) proxies actually hide your ip

Proxy anonymity I made this for other projects, to find working proxies. If it gets enough support and if i have time i might make it into a gui Repos

gxzs1337 1 Nov 9, 2021
This Tool can help enginners and biggener in network, the tool help you to find of any ip with subnet mask that can calucate them and show you ( Availble IP's , Subnet Mask, Network-ID, Broadcast-ID )

This Tool can help enginners and biggener in network, the tool help you to find of any ip with subnet mask that can calucate them and show you ( Availble IP's , Subnet Mask, Network-ID, Broadcast-ID )

null 12 Dec 13, 2022
Qtas(Quite a Storage)is an experimental distributed storage system developed by Q-team in BJFU Advanced Computer Network sources.

Qtas(Quite a Storage)is a experimental distributed storage system developed by Q-team in BJFU Advanced Computer Network sources.

Jiaming Zhang 3 Jan 12, 2022
Qtas(Quite a Storage)is an experimental distributed storage system developed by Q-team in BJFU Advanced Computer Network sources.

Qtas(Quite a Storage)is a experimental distributed storage system developed by Q-team in BJFU Advanced Computer Network sources.

Jiaming Zhang 3 Jan 12, 2022
GitHub action for sspanel automatically checks in to get free traffic quota

SSPanel_Checkin This is a dish chicken script for automatic check-in of sspanel for GitHub action, It is only applicable when there is no verification

FeedCatWithFish 7 Apr 28, 2022
OpenNeoMC:an Open-source Tool for Particle Transport Optimization that Combining OpenMC with NEORL

OpenNeoMC:an Open-source Tool for Particle Transport Optimization that Combining OpenMC with NEORL OpenMC is a community-developed Monte Carlo neutron

null 7 Aug 17, 2022
Nexum is an open-source, remote administration tool written in Python 3

A full-featured remote administration tool written in Python 3. The goal of this project is to make the use of a remote administration tool as simple

z3phyrus 2 Nov 26, 2021
jarbou3 is rat tool coded in python with C&C which can accept multiple connections from clients

jarbou3 Jarbou3 is rat tool with coded in python with C&C which can accept multi

youhacker55 108 Dec 29, 2022
DataShare - Simple library for data sharing between scripts and public functions calling

DataShare - Simple library for data sharing between scripts and public functions calling. Installation. Install code, Delete LICENSE, README, readme.t

Ivan Perzhinsky. 1 Dec 17, 2021
Geowifi 📡 💘 🌎 Search WiFi geolocation data by BSSID and SSID on different public databases.

Geowifi ?? ?? ?? Search WiFi geolocation data by BSSID and SSID on different public databases.

GOΠZO 441 Dec 23, 2022
Public HTTPS access to Home Assistant with Dataplicity service

Custom component for public HTTPS access to Home Assistant with Dataplicity service. Should work on any Linux PC or ARM, not only Raspberry as Dataplicity service said. Don't work on Windows.

Alex X 70 Oct 3, 2022
Ip-Seeker - See Details With Public Ip && Find Web Ip Addresses

IP SEEKER See Details With Public Ip && Find Web Ip Addresses Tool By Heshan >>

M.D.Heshan Sankalpa 1 Jan 2, 2022
A TCP Chatroom built with python and TCP/IP sockets, consisting of a server and multiple clients which can connect with the server and chat with each other.

A TCP Chatroom built with python and TCP/IP sockets, consisting of a server and multiple clients which can connect with the server and chat with each other. It also provides an Admin role with features including kicking and baning of users.

null 3 May 22, 2022