Skip to content

SvetlanaM/instagram-to-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scrape data from Instagram

This is the very first version of this code. This code scrapes data from Instagram social network. Since Instagram, changed review requirements for API usage, it is not so easy get any data from this social network.

Requirements

  1. Python 3.4 || Python 3.5
  2. pip - tool for installing and managing Python packages
  3. virtualenv (not required) - tool to keep the dependencies required by different projects in separate places

Installation

  1. Create virtual environment in your project folder
  2. Install required libraries and packages pip install -r requirements.txt
  3. Create csv folder in your project
  4. Run code: python main.py
  5. Enter the name of the instagram account (example: swetus).

Error messages

  1. The server could not fulfill the request.
  2. We failed reach the server.
  3. Data in older format.
  4. No instagram account found.

ToDo

  1. Support for code in older format
  2. Exception for private accounts
  3. Download comments from post detail