Replies: 1 comment 3 replies
-
Does it always hang on the same domain? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a file of 1000 domain names, trying to get the front page of each with the following code. problem is that after about 13 lines, it hangs. if I ctrl-C it, I see a traceback indicating it's stuck in resolv.rb getaddresses.
Is there a way to replace the resolvers with an async one? also, I don't know why it stops after 13, I would think it would print out the first 200 lines because I have a semaphore for 200 at a time. am I doing that wrong?
error when ctrl-C:
Beta Was this translation helpful? Give feedback.
All reactions