Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add selenium flow #13

Merged
merged 3 commits into from
May 1, 2023
Merged

Conversation

SozinM
Copy link
Contributor

@SozinM SozinM commented Apr 23, 2023

Improving tool by adding automated Instagram cookie acquisition flow

Team Members

Me

Tool Description

The current flow for acquiring Instagram cookies is rather crude and unrefined, which may deter investigators who find using Google Developer tools inconvenient. To address this issue, I have improved this aspect of the tool by incorporating Selenium, making it more user-friendly.

Installation

Upon merging, the installation process will remain the same as the original tool.
To test the tool from the PR, follow these steps:

Git clone https://github.com/SozinM/instagram-location-search/tree/feature/add-selenium

git clone https://github.com/SozinM/instagram-location-search.git
cd instagram-location-search
git checkout feature/add-selenium
pipenv install
pipenv shell

After that run

cd instagram_locations
python3 instagram_locations.py --lat 32.22 --lng -110.97 --json locs.json --csv locs.csv --map map.html

And follow steps in https://github.com/bellingcat/instagram-location-search/pull/13/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5

Usage

The tool remains compatible with the original version.

Additional Information

In this section, we provide additional information about the tool, including potential next steps for improvement if more time were available:

  1. Implement configurable choices for the Selenium driver (for users who prefer alternatives to Chromium).
  2. Automatically detect and connect to existing system profiles, making the tool even easier to use by utilizing the default logged-in Instagram account.

@msramalho msramalho self-requested a review April 28, 2023 07:55
@msramalho msramalho merged commit f49dfc5 into bellingcat:main May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants