{"id":17686578,"url":"https://github.com/mwarkentin/shot-scraper-sentry","last_synced_at":"2026-01-11T01:23:37.692Z","repository":{"id":47553695,"uuid":"470640473","full_name":"mwarkentin/shot-scraper-sentry","owner":"mwarkentin","description":"https://sentry.io/welcome/","archived":false,"fork":false,"pushed_at":"2024-10-30T00:13:23.000Z","size":1550781,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-30T02:49:08.769Z","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/mwarkentin.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":"2022-03-16T15:23:25.000Z","updated_at":"2024-10-30T00:13:26.000Z","dependencies_parsed_at":"2023-12-22T02:47:45.416Z","dependency_job_id":"336de535-c96b-422b-bb59-8e3552c6208d","html_url":"https://github.com/mwarkentin/shot-scraper-sentry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"simonw/shot-scraper-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwarkentin%2Fshot-scraper-sentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwarkentin%2Fshot-scraper-sentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwarkentin%2Fshot-scraper-sentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwarkentin%2Fshot-scraper-sentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwarkentin","download_url":"https://codeload.github.com/mwarkentin/shot-scraper-sentry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246379385,"owners_count":20767696,"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-10-24T10:45:18.883Z","updated_at":"2026-01-11T01:23:37.666Z","avatar_url":"https://github.com/mwarkentin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# shot-scraper-template\n\nQuickly create a new GitHub repository that takes automated screenshots of a web page using [shot-scraper](https://github.com/simonw/shot-scraper).\n\nRead more about how this works in [Instantly create a GitHub repository to take screenshots of a web page](https://simonwillison.net/2022/Mar/14/shot-scraper-template/).\n\n[simonw/simonwillison-net-shot](https://github.com/simonw/simonwillison-net-shot) is an example repository created using this template.\n\n## How to get started\n\nVisit https://github.com/simonw/shot-scraper-template/generate\n\n\u003cimg width=\"500\" alt=\"Screenshot of the interface for creating a new repository with this template, showing the URL pasted into the description field\" src=\"https://user-images.githubusercontent.com/9599/158208859-ee12e174-5c5f-40c0-b5f2-e3df15f1ee4f.png\"\u003e\n\nPick a name for your new repository, and paste **the URL** of the page you would like to take screenshots of into the **description field** (including the `http://` or `https://`).\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 `shots.yml` file to your repository containing the URL of the page you requested\n- Take a screenshot of that URL and add that to you repository as a file called `shot.png`\n\nYou can then edit that `shots.yml` file to customize your screenshot, or add more URLs - see below.\n\n## Re-taking the screenshot\n\nTo re-take the screenshot:\n\n- Click \"Actions\"\n- Select the \"Take screenshots\" workflow\n- Click the \"Run workflow\" menu item\n- Click the green \"Run workflow\" button\n\n\u003cimg width=\"600\" alt=\"image\" src=\"https://user-images.githubusercontent.com/9599/158210618-4b361520-4fbb-4a90-ab8c-f729776dd8f0.png\"\u003e\n\n\nThe repository will keep a history of every previous version of each screenshot, which is useful for keeping track of visual changes to a page.\n\n## Configuring the screenshots\n\nThe initial `shots.yml` file in your repository should look like this:\n\n```yaml\n- url: https://simonwillison.net/\n  output: shot.png\n  height: 800\n```\n\nTo change the name of the file that the screenshot is saved to, change `output: shot.png` to a different file name.\n\nTo take a full height image of the page, remove the `height: 800` line.\n\nTo add additional screenshots, add them to the YAML file like this:\n\n```yaml\n- url: https://simonwillison.net/\n  output: shot.png\n  height: 800\n- url: https://www.example.com/\n  output: example.png\n  height: 800\n```\nOther useful options include:\n\n- `wait: 3000` to add a 3 second delay before taking the shot (in case some things need more time to load)\n- `javascript: ...` to execute custom JavaScript before taking the shot - to activate menus or hide elements or similar\n- `quality: 80` to save a smaller, lower quality JPEG image\n\nThis example takes a shot of the LA Times homepage after hiding ads and the terms of service prompt:\n\n```yaml\n- url: https://www.latimes.com/\n  output: latimes.jpg\n  width: 1600\n  height: 1600\n  quality: 80\n  wait: 2000\n  javascript: |\n    document.querySelectorAll(\n      '[data-ad-rendered],#ensNotifyBanner'\n    ).forEach(el =\u003e el.style.display = 'none')\n```\nFurther options are described in the [shot-scraper README file](https://github.com/simonw/shot-scraper#taking-multiple-screenshots).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwarkentin%2Fshot-scraper-sentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwarkentin%2Fshot-scraper-sentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwarkentin%2Fshot-scraper-sentry/lists"}