{"id":40759786,"url":"https://github.com/johnsliao/instagram_influencer_scraper","last_synced_at":"2026-01-21T16:52:26.470Z","repository":{"id":50201264,"uuid":"156142162","full_name":"johnsliao/instagram_influencer_scraper","owner":"johnsliao","description":"Scrape handle and name from posts from Instagram based on #hashtag","archived":false,"fork":false,"pushed_at":"2021-06-01T22:53:48.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-03-08T13:02:59.966Z","etag":null,"topics":["bot","ig","influencers","instagram","python","scraper","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","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/johnsliao.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":"2018-11-05T01:12:31.000Z","updated_at":"2018-11-07T16:30:26.000Z","dependencies_parsed_at":"2022-08-03T22:00:18.375Z","dependency_job_id":null,"html_url":"https://github.com/johnsliao/instagram_influencer_scraper","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/johnsliao/instagram_influencer_scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsliao%2Finstagram_influencer_scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsliao%2Finstagram_influencer_scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsliao%2Finstagram_influencer_scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsliao%2Finstagram_influencer_scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnsliao","download_url":"https://codeload.github.com/johnsliao/instagram_influencer_scraper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnsliao%2Finstagram_influencer_scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28636094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"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":["bot","ig","influencers","instagram","python","scraper","selenium"],"created_at":"2026-01-21T16:52:25.788Z","updated_at":"2026-01-21T16:52:26.458Z","avatar_url":"https://github.com/johnsliao.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Instagram Influencer Scraper\r\n\r\n## What is this\r\nThis script scrapes `handle` and `name` from top posts on Instagram based on #hashtags using selenium webdriver\r\n\r\n### How it works\r\n1. Logs in\r\n2. Find instagram top posts by provided #hashtag\r\n3. Navigate to each `@handle` and saves `@handle`, `name` in a file\r\n\r\n## Set up\r\n- Python 3.x+\r\n- `pip`\r\n\r\n1. `pip install -r requirements.txt`\r\n2. Download [chromedriver](http://chromedriver.chromium.org/). Place in root directory.\r\n3. Create `influencers` and `tags` file (no extension) in root directory\r\n4. Set `IG_USERNAME` and `IG_PASSWORD` environment variables\r\n5. `$ python app.py`\r\n\r\n`tags` file should look like:\r\n```\r\ngaming\r\nmensfashion\r\n```\r\n \r\nResults will be stored in `influencers` file. E.g.\r\n```\r\npewdiepie,PewDiePie\r\nmarkiplier,Markiplier\r\n```\r\n## Configuration\r\n1. `MAX_HANDLE_ATTEMPTS` set to `25` by default. Sets the number of posts the script will scrape in a single run.  \r\n2. `MINIMUM_FOLLOWER_COUNT` set to `10000` by default. Sets the minimum number of followers for influencer to be recorded.\r\n\r\n## Features\r\n- Duplicate `@handle`s will not be saved to `influencers` file\r\n\r\n## Please note\r\n- Emojis/special characters in names are ignored when saving to `influencers`\r\n- Commas in names are replaced as a space\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnsliao%2Finstagram_influencer_scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnsliao%2Finstagram_influencer_scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnsliao%2Finstagram_influencer_scraper/lists"}