constverum / ProxyBroker

Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS :performing_arts:
http://proxybroker.readthedocs.io
Apache License 2.0
3.83k stars 1.08k forks source link

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

Open AirHeadsbuirse opened 2 years ago

AirHeadsbuirse commented 2 years ago

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 `

bluet commented 2 years ago

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

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