Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.32 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.32 KB

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