We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For the given code:
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)
I am getting this 10 times:
Exception ignored from cffi callback <function sock_state_cb at 0x000001A7DF3798A0>: Traceback (most recent call last): File "C:\Users\koush\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pycares_init.py", line 99, in sock_state_cb sock_state_cb(socket_fd, readable, writable) File "C:\Users\koush\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\aiodns_init.py", line 111, in _sock_state_cb self.loop.add_reader(fd, self._handle_event, fd, READ) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\asyncio\events.py", line 530, in add_reader raise NotImplementedError NotImplementedError:
how to fix bro? also no proxy is showing
The text was updated successfully, but these errors were encountered:
were you able to solve this problem, if so, how?
Sorry, something went wrong.
Doesn't reproducible error, no problem on Linux for now
No branches or pull requests
For the given code:
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)
I am getting this 10 times:
Exception ignored from cffi callback <function sock_state_cb at 0x000001A7DF3798A0>:
Traceback (most recent call last):
File "C:\Users\koush\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pycares_init.py", line 99, in sock_state_cb
sock_state_cb(socket_fd, readable, writable)
File "C:\Users\koush\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\aiodns_init.py", line 111, in _sock_state_cb
self.loop.add_reader(fd, self._handle_event, fd, READ)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\asyncio\events.py", line 530, in add_reader
raise NotImplementedError
NotImplementedError:
how to fix bro? also no proxy is showing
The text was updated successfully, but these errors were encountered: