{"id":13713951,"url":"https://github.com/Syn3rman/instaScrape","last_synced_at":"2025-05-07T00:34:24.625Z","repository":{"id":42821464,"uuid":"200200054","full_name":"Syn3rman/instaScrape","owner":"Syn3rman","description":"Scrape n latest posts from a user's instagram profile","archived":false,"fork":false,"pushed_at":"2022-12-11T00:57:14.000Z","size":1973,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-03T23:29:21.464Z","etag":null,"topics":["docker","go","instagram","instagram-scraper","multiprocessing","node-js","puppeteer","python3"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Syn3rman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-02T08:47:10.000Z","updated_at":"2022-11-20T06:03:24.000Z","dependencies_parsed_at":"2023-01-26T13:30:28.555Z","dependency_job_id":null,"html_url":"https://github.com/Syn3rman/instaScrape","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syn3rman%2FinstaScrape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syn3rman%2FinstaScrape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syn3rman%2FinstaScrape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syn3rman%2FinstaScrape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Syn3rman","download_url":"https://codeload.github.com/Syn3rman/instaScrape/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224551110,"owners_count":17330071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","go","instagram","instagram-scraper","multiprocessing","node-js","puppeteer","python3"],"created_at":"2024-08-02T23:01:48.509Z","updated_at":"2024-11-14T01:30:22.544Z","avatar_url":"https://github.com/Syn3rman.png","language":"JavaScript","readme":"\u003ch3 align=\"center\"\u003eInstaScrape\u003c/h3\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n\n[![made-with-puppeteer](https://img.shields.io/badge/made%20with-puppeteer-red)](https://pptr.dev/)\n![GitHub language count](https://img.shields.io/github/languages/count/Syn3rman/instaScrape)\n![GitHub top language](https://img.shields.io/github/languages/top/Syn3rman/instaScrape?color=green)\n\u003c/br\u003e\n\n\n\n\u003c/div\u003e\n\n------------------------------------------\n\n\u003e Uses headless chrome to scrape specified number of images from instagram for a particular user. Also provides blazing fast download scripts to download the images to your system by leveraging [python's multiprocessing](./download_scripts/dwn.py) and [go routines](download_scripts/main.go).\n\n------------------------------------------\n\n### Features\n\n- [x] Support public profiles\n- [x] Support private profiles\n- [x] Run with docker\n- [x] Go and python scripts to download images\n\n\n### To-do's\n\n- [ ] Implement image download in rust to compare performance.\n- [ ] Try using pyO3 to integrate rust and python to see if there is a significant boost in performance.\n\n### Demo\n\n\u003cdiv align = \"center\"\u003e\n\u003cimg src=\"./assets/scrapingWithDownload.gif\" width=600px/\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cimg src=\"./assets/instaScrape.png\" width=600px/\u003e\n\u003c/div\u003e\n\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch3\u003eTry it out\u003ch3\u003e\n\u003c/div\u003e\n\n### Set up locally using git\n\n```\n$ git clone https://github.com/Syn3rman/instaScrape.git \u0026\u0026 cd instaScrape\n\n$ npm install\n\n$ node run.js\n```\n\n### Or using docker:\n```\n$ docker pull syn3rman/instascrape:latest\n\n$ docker run --rm -it syn3rman/instascrape\n```\n\nNavigate to [localhost](http://localhost:8001/public?handle=9gag\u0026limit=20) and change the get request parameters as required.\n\n### Downloading images to filesystem\n\n```\n$ cd download_scripts\n\nUsing python:\n$ python3 dwn.py\n\nUsing go:\n$ go run main.go\n```\n\n### Performance\n\nWith ~500 image url's, the go script takes around 6-7s to complete while python takes around 12-15s.\n","funding_links":[],"categories":["Repositories"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSyn3rman%2FinstaScrape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSyn3rman%2FinstaScrape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSyn3rman%2FinstaScrape/lists"}