InstaPy / instagram-profilecrawl

📝 quickly crawl the information (e.g. followers, tags etc...) of an instagram profile.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

urllib3 MaxRetryError

JayAhn0104 opened this issue · comments

urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host=*******, port=*****): Max retries exceeded with url: /session/76bff13604f5f4f81228a8d8ed1ab627/cookie (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10ca4f2e0>: Failed to establish a new connection: [Errno 61] Connection refused'))

I tried to crawl followers list using "crawl_profile.py".
But there was an error during crawling.
Especially when there were over 1500 followers the error came out(it was successful when there were smaller than 1500 followers).

The error was MaxRetryError from urllib3
I think this error came out because of multiple access tries with same http connection, so the server refuses that connection.

Is there any way to fix it?

p.s Thank you for sharing this great crawler