{"id":20019550,"url":"https://github.com/namitkumarsingh97/instagram-scraper","last_synced_at":"2025-07-17T16:04:37.953Z","repository":{"id":240340706,"uuid":"802361162","full_name":"namitkumarsingh97/instagram-scraper","owner":"namitkumarsingh97","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-27T11:36:02.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T03:28:17.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/namitkumarsingh97.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-18T04:59:14.000Z","updated_at":"2025-01-27T11:36:05.000Z","dependencies_parsed_at":"2024-05-18T06:29:56.529Z","dependency_job_id":"eab62420-7c5a-4507-8ef0-87c1dc286437","html_url":"https://github.com/namitkumarsingh97/instagram-scraper","commit_stats":null,"previous_names":["namitkumarsingh97/instagram-scraper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/namitkumarsingh97/instagram-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namitkumarsingh97%2Finstagram-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namitkumarsingh97%2Finstagram-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namitkumarsingh97%2Finstagram-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namitkumarsingh97%2Finstagram-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namitkumarsingh97","download_url":"https://codeload.github.com/namitkumarsingh97/instagram-scraper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namitkumarsingh97%2Finstagram-scraper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265625587,"owners_count":23800625,"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":[],"created_at":"2024-11-13T08:27:56.410Z","updated_at":"2025-07-17T16:04:37.935Z","avatar_url":"https://github.com/namitkumarsingh97.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Instagram Scraper\n\nInstagram Scraper is a Node.js application that allows users to scrape posts from public Instagram profiles. It is built using Express.js, body-parser, cors, and Puppeteer\n\n## Table of Contents\n\n- [Features](#features)\n- [Dependencies](#dependencies)\n- [Installation](#installation)\n- [Usage](#usage)\n- [API Endpoint](#api-endpoint)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- Fetch posts from public Instagram profiles.\n- Uses Puppeteer to scrape data from Instagram.\n- Express.js for handling server requests.\n- CORS support for cross-origin requests.\n- Body-parser for parsing JSON request bodies.\n\n## Dependencies\n\nThe project relies on the following npm packages:\n\n- [express](https://www.npmjs.com/package/express): Fast, unopinionated, minimalist web framework for Node.js.\n- [body-parser](https://www.npmjs.com/package/body-parser): Node.js body parsing middleware.\n- [cors](https://www.npmjs.com/package/cors): Middleware for enabling CORS (Cross-Origin Resource Sharing).\n- [puppeteer](https://www.npmjs.com/package/puppeteer): Headless Chrome Node.js API.\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/namitkumarsingh97/instagram-scraper.git\n   cd instagram-scraper\n   ```\n\n2. Install the dependencies:\n\n   ```bash\n   npm install\n   ```\n\n## Usage\n\n1. Start the server:\n\n   ```bash\n   npm start\n   ```\n\n2. The server will be running on `http://localhost:5001`.\n\n## API Endpoint\n\n### Get Posts from Instagram Profile\n\n- **URL**: `/api/getPosts`\n- **Method**: `POST`\n- **Content-Type**: `application/json`\n- **Body Parameters**:\n  - `profile` (string): The URL or username of the public Instagram profile.\n\n#### Request Example\n\n```json\n{\n  \"profile\": \"diljitdosanjh\"\n}\n```\n\n## Contributing\n\n- Contributions are welcome! Please open an issue or submit a pull request for any bugs or enhancements.\n\n1. Fork the repository.\n2. Create a new branch (git checkout -b feature-branch).\n3. Make your changes.\n4. Commit your changes (git commit -m 'Add new feature').\n5. Push to the branch (git push origin feature-branch).\n6. Open a pull request.\n\n## License\n\n- This project is licensed under the ISC License. See the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamitkumarsingh97%2Finstagram-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamitkumarsingh97%2Finstagram-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamitkumarsingh97%2Finstagram-scraper/lists"}