{"id":16294437,"url":"https://github.com/scriptsmith/instaphyte","last_synced_at":"2026-03-03T23:32:43.911Z","repository":{"id":62571138,"uuid":"166655954","full_name":"ScriptSmith/instaphyte","owner":"ScriptSmith","description":"Fast and simple Instagram hashtag and location scraper","archived":false,"fork":false,"pushed_at":"2024-05-03T19:40:08.000Z","size":18,"stargazers_count":19,"open_issues_count":2,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-26T12:03:36.368Z","etag":null,"topics":["data-mining","instagram","instagram-api","instagram-scraper"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ScriptSmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-01-20T11:58:42.000Z","updated_at":"2025-01-20T12:38:03.000Z","dependencies_parsed_at":"2024-10-27T10:52:37.054Z","dependency_job_id":"92f18594-36a2-41bc-b72b-ffd6d52afd75","html_url":"https://github.com/ScriptSmith/instaphyte","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/ScriptSmith%2Finstaphyte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptSmith%2Finstaphyte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptSmith%2Finstaphyte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ScriptSmith%2Finstaphyte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ScriptSmith","download_url":"https://codeload.github.com/ScriptSmith/instaphyte/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243817206,"owners_count":20352518,"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":["data-mining","instagram","instagram-api","instagram-scraper"],"created_at":"2024-10-10T20:15:21.693Z","updated_at":"2025-03-16T13:31:37.635Z","avatar_url":"https://github.com/ScriptSmith.png","language":"Python","readme":"# Instaphyte\n\n[![Build Status](https://travis-ci.org/ScriptSmith/instaphyte.svg?branch=master)](https://travis-ci.org/ScriptSmith/instaphyte)\n[![Code Quality](https://img.shields.io/codacy/grade/a2322f650025499bb8aee2368ca43207.svg)](https://app.codacy.com/project/ScriptSmith/instaphyte/dashboard)\n[![Code Coverage](https://img.shields.io/codacy/coverage/a2322f650025499bb8aee2368ca43207.svg)](https://app.codacy.com/project/ScriptSmith/instaphyte/dashboard)\n[![License](https://img.shields.io/github/license/scriptsmith/instaphyte.svg)](https://github.com/ScriptSmith/instaphyte/blob/master/LICENSE)\n[![Speed](https://firebasestorage.googleapis.com/v0/b/instagram-speed-test.appspot.com/o/instaphyte.svg?alt=media\u0026token=8e16505d-1259-42a4-90bc-cf8a6d326f55)](https://adamsm.com/instagram-speed-test)\n\nFast and simple Instagram hashtag scraper.\n\nFor a more powerful scraper, try [Instamancer](https://github.com/scriptsmith/instamancer)\n\n## Install\n\n### From this repository\n\n```\ngit clone https://github.com/scriptsmith/instaphyte.git\ncd instaphyte\npip3 install -e .\n```\n\n### From PIP\n\n```\npip install instaphyte\n```\n\n## Usage\n\n### Command Line\n\n```\n$ instaphyte\nusage: instaphyte [-h] [--count COUNT] [--download] [--silent]\n                  [--waitDownload] [--filename FILENAME]\n                  [--filetype {csv,json,both}] [--downdir DOWNDIR]\n                  {hashtag,location} id\n\nScrape Instagram hashtag and location feeds\n\npositional arguments:\n  {hashtag,location}    The type of feed to scrape posts from\n  id                    The id of the feed to scrape posts from\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --count COUNT, -c COUNT\n                        Number for posts to download. 0 to download all\n  --download, -d        Save images from posts\n  --silent              Disable progress output\n  --waitDownload, -w    Only download media once scraping is finished\n  --filename FILENAME, --file FILENAME, -f FILENAME\n                        Name of the output file\n  --filetype {csv,json,both}, --type {csv,json,both}, -t {csv,json,both}\n                        Type of output file\n  --downdir DOWNDIR     Directory to save media\n\n```\n\n\nExample:\n\n```\ninstaphyte hashtag selfie --count=1000 -d\n```\n\n### Module\n\nExample:\n\n```python\nfrom instaphyte import Instagram\n\napi = Instagram()\n\n# Get 1000 posts from #selfie\nfor post in api.hashtag(\"selfie\", 1000):\n    print(post)\n\n# Get all posts tagged as being in London\nfor post in api.location(\"213385402\"):\n    print(post)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptsmith%2Finstaphyte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptsmith%2Finstaphyte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptsmith%2Finstaphyte/lists"}