python main.py --username USERNAME --password PASSWORD --seed SEED
Generates a dynamic analysis of Instagram connections.
To interact with your network, open output/network.html
in your browser.
pip install instaloader kaleido networkx pandas plotly python-dotenv scipy numpy
or
pip install -r requirements.txt
If you're getting tired of entering your username and password, create a .env
file.
.env
USERNAME=your_username
PASSWORD=your_password
SEED=arbitrary_integer
K=value_for_neat_graph
Open up Instagram in your browser. It helps immensely to have an actual session going at the same time the script is executing.
Wrong password or username. Note that Instaloader will not work
when you have a colon (:) in your password. Try running utils.collect_cookies()
to make a session file.