https://github.com/meetmangukiya/instagram-scraper
Scrape the Instagram frontend. Inspired from twitter-scraper by @kennethreitz.
https://github.com/meetmangukiya/instagram-scraper
client instagram instagram-scraper javascript no-authentication python-3-6 requests-html scraping
Last synced: 9 months ago
JSON representation
Scrape the Instagram frontend. Inspired from twitter-scraper by @kennethreitz.
- Host: GitHub
- URL: https://github.com/meetmangukiya/instagram-scraper
- Owner: meetmangukiya
- License: mit
- Archived: true
- Created: 2018-06-23T13:45:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-29T07:33:58.000Z (about 8 years ago)
- Last Synced: 2024-09-29T16:41:56.492Z (almost 2 years ago)
- Topics: client, instagram, instagram-scraper, javascript, no-authentication, python-3-6, requests-html, scraping
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 934
- Watchers: 29
- Forks: 83
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-projects - instagram-scraper - Scrape the Instagram frontend. Inspired from twitter-scraper by @kennethreitz. ⭐945 `Python` (📦 Legacy & Inactive Projects)
README
# Instagram-Scraper
## Installation
This scraper uses `requests_html` which requires python 3.6 or higher runtime.
```bash
pip install -r requirements.txt
```
## Usage
### As library
```python
from instagram_scraper import scrape_instagram
for url, caption, hashtags, mentions in scrape_instagram(['quotes', 'meet'], 5):
print(url, caption, hashtags, mentions)
```
### As script
```bash
python3 instagram_scraper.py --tags software bugs --count 50
```