Skip to content

thecoldstone/Instagram-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Instagram Scrapper

The simple API for web scraping instagram users using Selenium and BeautifulSoap.

Documentation

The syntax of the query

   /?username=...&method=...&[arg1]=...&[arg2]=...&[arg3]=...

After question mark follow arguments:

    * username - your username or someone else's
        
        Optional: False
    
    * method - method to parse instagram page
    
        Supported Methods:
            - Selenium
        In progress:
            - BeautifulSoap
            
        Optional: False
        
    * [limit] - number of posts to crawl
        
         If the limit has been omitted the whole page is going to be crawled
         
         Type: Integer
         Optional: True
         
    * [pwd] - whether the user wants to log in and scrap his own private account
    
        You cannot crawl the page of the private account belonged to another user
        
        Optional: True
        
    * [headless] - to crawl using headless browser
    
        Type: Boolean (1 or 0)
        Optional: True

The output of this API is a json object

   {
      "response": {
        "object": {...},
        "settings": {...}
      }
   }

Requirements

TODO

Ideas to extend the project

    * Extend abilities of this API to crawl more data

About

API for scraping Instagram account

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published