Open take0ut opened 4 years ago
I've done a bit more digging and found that other instagram scraping tools fail on GCP. @althonos Have you run into this issue before? Is there native support for IP proxies in Instalooter?
@althonos Any updates here? Instalooter has been nonfunctional for me for at least a month under the conditions above.
seems to fix itself when you supply login credentials. Maybe Instagram does some gay magic on their side to detect unofficial access to their services, but I'm content with this solution. For anybody that doesn't know how to log in – this is probably not the best way to do it, but I found that this worked:
from instalooter.cli.login import login
login({"--username":"{username}","--password":"{password}","--quiet":False})
If there's a better way to log in, well, too bad.
Library version
What's the installed library version ? Check with
instalooter --version
:Environment
Describe here your environment, including:
Ubuntu 16.04 Python 3.5
Error description - runtime
If you have an issue at runtime, include the required information below:
Profile Looter fails to find users when run on a hosted machine.
I can confirm, however, that the Hashtag looter works flawlessly.
BOTH looters work correctly on locally on Mac OSX.
The problem does not appear to be with my user-agent string—I can successfully handle retrieval using the ProfileLooter from a Docker container running Ubuntu latest.
Here is my user-agent string, as added to
~/.cache/instalooter/2.4.4/user-agent.txt
:Reproducible test case
Are you using the CLI ? If so, include a command that can be used to re-raise the error, with actual arguments anybody can try:
Results in a
user not found
error, which is obviously incorrect, as Nike is a massive international brand.Might Instagram be blocking GCP related IPs somehow?
Are you using the API ? If so, include a small snippet that can be used to re-raise the error:
Expected behaviour
User not found error is raised.
Actual behaviour
Account should be found and files downloaded.