{"id":26275186,"url":"https://github.com/simonw/git-scraper-template","last_synced_at":"2025-03-14T10:01:42.484Z","repository":{"id":279532719,"uuid":"939125463","full_name":"simonw/git-scraper-template","owner":"simonw","description":"Template repository for setting up a new git scraper","archived":false,"fork":false,"pushed_at":"2025-02-26T03:50:18.000Z","size":7,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T04:19:20.598Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/simonw.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},"funding":{"github":"simonw"}},"created_at":"2025-02-26T03:08:20.000Z","updated_at":"2025-02-26T03:50:21.000Z","dependencies_parsed_at":"2025-02-26T04:19:22.041Z","dependency_job_id":"d91963cf-3294-4f35-9cee-03c2217f1cf0","html_url":"https://github.com/simonw/git-scraper-template","commit_stats":null,"previous_names":["simonw/git-scraper-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fgit-scraper-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fgit-scraper-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fgit-scraper-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fgit-scraper-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/git-scraper-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243558470,"owners_count":20310573,"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":"2025-03-14T10:01:41.270Z","updated_at":"2025-03-14T10:01:42.309Z","avatar_url":"https://github.com/simonw.png","language":null,"funding_links":["https://github.com/sponsors/simonw"],"categories":["Shell"],"sub_categories":[],"readme":"# git-scraper-template\n\nTemplate repository for setting up a new [Git scraper](https://simonwillison.net/2020/Oct/9/git-scraping/) using GitHub Actions.\n\n## How to use this\n\nVisit https://github.com/simonw/git-scraper-template/generate\n\nPick a name for your new repository, then paste **the URL** of the page you would like to take scrape into the **description field** (including the `http://` or `https://`). JSON works best, but any URL will be fetched and saved.\n\nThen click **Create repository from template**.\n\nYour new repository will be created, and a script will run which will do the following:\n\n- Add a `scrape.sh` script to your repository which uses `curl` via the `./download.sh` script to fetch and save the URL you requested\n- Run that `./scrape.sh` command and commit the result to the repository\n- Configure a schedule to run this script once every 24 hours\n\nYou can edit `scrape.sh` to customize what is scraped, and you can edit `.github/workflows/scrape.yml` to change how often the scraping happens.\n\nIf you want to use Python in your scraper you can uncomment the relevant block in `scrape.yml` and add a `requirements.txt` file to your repository containing any dependencies you need.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fgit-scraper-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fgit-scraper-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fgit-scraper-template/lists"}