Open CodeForg opened 3 years ago
is it happening for all account or one ?
For all
U can help me with that ?
I have the same problem
https://stackoverflow.com/questions/57627864/instagram-user-page-parsing-with-proxy-without-api
probably, it's the restriction when unauthorized/suspicious using Instagram API
the same when proxy: getting response Login HTML page
instead of enriched user data (and json.loads
func throws an exception about unable parsing),
@shurygindv yes @CodeForg there is way to kind of prevent this via login through insta acc but it will still block if too much requests are made so whole thing becomes pointless
Giving code error.I think instagram is blocking suspicious application using the instagram API.
OK what I did to make it work (I'm on termux) if not installed.pip install pipenv pipenv install -r requirements.txt pipenv shell python main.py --user
so how?
Still have the same error (Im also on termux)
Traceback (most recent call last): File "/home/tea_enjoyer/Desktop/osi.ig/main.py", line 16, in
user_info(usrname=args["user"])
File "/home/tea_enjoyer/Desktop/osi.ig/.lib/api.py", line 70, in user_info
js = json.loads(resp_js)
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Not working idk why :( (Can you help please)