{"id":23450761,"url":"https://github.com/basedrhys/github-scraper","last_synced_at":"2025-06-16T23:37:46.664Z","repository":{"id":57434618,"uuid":"206439480","full_name":"basedrhys/github-scraper","owner":"basedrhys","description":"Python package to download GitHub source code for specific file types easily","archived":false,"fork":false,"pushed_at":"2019-09-05T10:25:26.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T20:14:36.516Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/basedrhys.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}},"created_at":"2019-09-05T00:26:04.000Z","updated_at":"2025-02-28T11:19:08.000Z","dependencies_parsed_at":"2022-09-10T01:50:38.670Z","dependency_job_id":null,"html_url":"https://github.com/basedrhys/github-scraper","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/basedrhys%2Fgithub-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedrhys%2Fgithub-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedrhys%2Fgithub-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedrhys%2Fgithub-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basedrhys","download_url":"https://codeload.github.com/basedrhys/github-scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248774968,"owners_count":21159534,"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-12-24T00:14:58.888Z","updated_at":"2025-04-13T20:14:41.485Z","avatar_url":"https://github.com/basedrhys.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-scraper\nSimple python package designed for easy downloading of source code from Github Users.\n\nTerms:\n- **Owner** is used to describe a repository owner/user that created the repository. Owner is GitHubs term so it's used here for consistency\n\n## Installation\n    python3 -m pip install github_scraper\n\n## Usage\nImport and set up the config with username and API token\n\n    \u003e\u003e\u003e import github_scraper as gs\n    \u003e\u003e\u003e config = gs.Config('MY_USERNAME', 'MY_API_KEY')\n\nIt defaults to downloading Java files, but can be configured for other languages\n\n    \u003e\u003e\u003e config = gs.Config('MY_USERNAME', 'MY_API_KEY', repo_language='Python', query_language='python', suffix='.py')\n\nDownloading all Java files from myself\n\n    \u003e\u003e\u003e scraper = gs.FileScraper(config)\n    \u003e\u003e\u003e scraper.download_owner('basedrhys')\n    Scraping owner: basedrhys\n    ...\n\nDownloading all Java files from a specific repo\n\n    \u003e\u003e\u003e owner = gs.Owner('google', config)\n    \u003e\u003e\u003e owner.download_repo('tink')\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasedrhys%2Fgithub-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasedrhys%2Fgithub-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasedrhys%2Fgithub-scraper/lists"}