{"id":25848038,"url":"https://github.com/znx-30/insta-web-scraper","last_synced_at":"2026-05-18T10:09:30.724Z","repository":{"id":277292955,"uuid":"931957986","full_name":"znx-30/Insta-web-scraper","owner":"znx-30","description":"A basic web scraper for Instagram built using R, designed to retrieve user and hashtag metrics such as post count, follower count, and following count. This package is simple, relying on text pattern matching, and may require updates if Instagram changes its page structure.","archived":false,"fork":false,"pushed_at":"2025-02-13T06:12:51.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T10:39:36.334Z","etag":null,"topics":["code","github","instagram","iscraper","osint","programming","r","study","web","webscraping"],"latest_commit_sha":null,"homepage":"","language":"R","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/znx-30.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-13T06:06:05.000Z","updated_at":"2025-02-13T06:12:55.000Z","dependencies_parsed_at":"2025-02-19T09:37:26.959Z","dependency_job_id":null,"html_url":"https://github.com/znx-30/Insta-web-scraper","commit_stats":null,"previous_names":["neurix-0x1a/insta-web-scraper","anil-kb/insta-web-scraper","znx-30/insta-web-scraper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/znx-30/Insta-web-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znx-30%2FInsta-web-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znx-30%2FInsta-web-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znx-30%2FInsta-web-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znx-30%2FInsta-web-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/znx-30","download_url":"https://codeload.github.com/znx-30/Insta-web-scraper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/znx-30%2FInsta-web-scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33174091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["code","github","instagram","iscraper","osint","programming","r","study","web","webscraping"],"created_at":"2025-03-01T10:39:37.398Z","updated_at":"2026-05-18T10:09:30.708Z","avatar_url":"https://github.com/znx-30.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Insta-web-scraper\n\n\n\nA basic web scraper for Instagram using R. This package retrieves user and hashtag metrics from Instagram, such as the number of posts, followers, and following.\n\n## Features\n- **User Metrics:**\n  - Number of posts\n  - Number of followers\n  - Number following\n\n- **Hashtag Metrics:**\n  - Number of posts\n\n## Installation\n\nEnsure you have R installed on your system. Then, install the required dependencies and iscrape using the following commands:\n\n```R\ninstall.packages(c(\"devtools\", \"dplyr\", \"httr\", \"stringr\"), dep = TRUE)\ndevtools::install_github(\"royfrancis/iscrape\")\n```\n\n## Usage\n\n### User Page Metrics\n\nTo retrieve metrics for a user, use the username. Here's an example using the official \"instagram\" account:\n\n```R\nlibrary(iscrape)\n\n# Get user webpage\npu \u003c- get_page_user(\"instagram\")\n\n# Get post count, follower count, and following count\nget_count_post(pu)\nget_count_follower(pu)\nget_count_following(pu)\n```\n\nTo retrieve multiple user metrics at once:\n\n```R\nget_page_info(c(\"instagram\", \"travelandleisure\", \"minimalism\"))\n```\n\n### Hashtag Metrics\n\nRetrieve the number of posts for a given hashtag:\n\n```R\n# Get hashtag webpage\nph \u003c- get_page_hashtag(\"instagram\")\n\n# Get post count for the hashtag\nget_count_hashtag(ph)\n```\n\n## Disclaimer\n\n- Web scraping is discouraged by Instagram. Excessive scraping may result in your IP address being blocked.\n- Using a VPN is recommended.\n- This package was developed for personal use and relies on text pattern matching. Future changes to Instagram's page structure may cause the functions to break.\n- The package is not actively maintained.\n\nA basic web scraper for Instagram using R.\n\n## Support\n\nFeel free to fork or report issues if you encounter any problems\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznx-30%2Finsta-web-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fznx-30%2Finsta-web-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fznx-30%2Finsta-web-scraper/lists"}