Skip to content

Installation

Download repository using git

git clone https://github.com/DEENUU1/metaspy.git

Configuration

Create dotenv file and add required data

cp .env_example .env 

Install all requirements

pip install -r requirements.txt

Change directory to metaspy to run commands

cd metaspy

Check general commands

Check available commands for Facebook

Check available commands for Instagram

Instagram configuration

To use Instagram scraper go to the .env file and add your sessionid To get your sessionid: 1. Go to your browser where you are already logged in to you account 2. Press F12 and 3. Go to the "Data" 4. In the sidebar on your left there is a label "Cookies" and choose cookies for Instagram. 5. Then find sessionid and copy the value.

GUIDE

Tests

# To run pytest use this command
pytest