Repository navigation
Version 4.2.1 fixes Could not resolve host errors by requiring curl_cffi below 0.17. A run that starts without a network now waits for it instead of exiting. Media downloads can go around a proxy with the new PROXY_MEDIA setting, a failed profile picture check says why it failed and Python 3.15 is officially supported.
Features and improvements:
- NEW:
PROXY_MEDIAsetting - Some proxies refuse Instagram's image server, for example withHTTP 402, so profile pictures, posts, reels and stories could not be downloaded. SetPROXY_MEDIA = False, use--no-proxy-mediaor switch it off in the Web Dashboard to download media without the proxy. Every other Instagram request still uses it. The default is unchanged. With it off, the image server sees your machine's IP address. See Routing Traffic Through a Proxy - IMPROVE: Profile picture errors name the cause -
Error while checking if the profile picture has changedgave no reason, even with--debug. It now names the cause, such as the HTTP status from Instagram's image server or a file error. A failure answered through the proxy says so and itsTo fix:line points at the proxy andPROXY_MEDIA. A failure that lasts is reported once and then once an hour instead of at every check.--debugalso prints the cause of a failed post, reel or story download - IMPROVE: Python 3.15 support - Instagram Monitor is now tested on Python 3.15 on Linux and Windows and PyPI lists it as a supported version. Python 3.10 is still the minimum
- IMPROVE: Faster no-login start - The anonymous profile lookup that Instagram removed is asked once per run instead of three times, which saves two requests and several seconds at startup
Bug fixes:
- BUGFIX:
Could not resolve hostwith curl_cffi 0.17 - curl_cffi 0.17 looks up host names with its own resolver instead of the system one. On some machines that lookup timed out althoughpingworked, so no profile could be loaded. Instagram Monitor now requires curl_cffi below 0.17 andpip install -U instagram_monitorinstalls 0.16.3. If a newer curl_cffi is active anyway, theTo fix:line names the workarounds: curl_cffi 0.16.3,HTTP_BACKEND = "requests"or--http-backend requests. See Connection Errors During Monitoring - BUGFIX: A start without a network no longer ends the run - When Instagram could not be reached or its address could not be resolved at startup, the advice said monitoring would resume on its own, but the run ended. The connectivity check and the first load of the session, profile, followers and followings are now tried again after 1 minute, then at doubling intervals up to 15 minutes. This covers devices that start before their network is up. Other startup failures, such as a missing user or an expired session, still end the run
- BUGFIX: Session check with Instaloader 4.16.1 - Instaloader 4.16.1 has its own session check, which reuses the first start page it read. A later check in the same run did not read Instagram's start page again, so it could miss a session that was signed out in the meantime. Every session check reads the start page again, as with Instaloader 4.16