L
L
lok1012022-01-29 15:08:26
Python
lok101, 2022-01-29 15:08:26

How to disable proxy checking in InstaPy?

I'm trying to use InstaPy with a mobile proxy. The output address is dynamic, changes every 10 minutes and always differs from the input address, but InstaPy, by default, compares the output and input addresses, after which it gives an error:


WARNING [2022-01-29 16:44:02] [account_name] - Expected Proxy IP is "5.34.*.*", and the current IP is "94.25.*.*"
WARNING [2022-01-29 16: 44:02] [account_name] - Try again or disable the Proxy Address on your setup
WARNING [2022-01-29 16:44:02] [account_name] - Aborting connection...
CRITICAL [2022-01-29 16:44 :02] [account_name] Unable to login to Instagram! You will find more information in the logs above.


My question is, how and where can I disable this check or change it in such a way that the output IP address is checked against my real IP, which I will indicate in a separate line somewhere in the code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
y7o4ka, 2022-01-29
@lok101

session = InstaPy(..., want_check_browser=False)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question