Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AirHeadsbuirse opened this issue Dec 23, 2021 · 1 comment
Open

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

AirHeadsbuirse opened this issue Dec 23, 2021 · 1 comment

Comments

@AirHeadsbuirse
Copy link

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
Copy link

bluet commented Aug 20, 2022

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. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants