{"id":17720109,"url":"https://github.com/theden/badfood","last_synced_at":"2025-10-04T13:18:36.490Z","repository":{"id":19732088,"uuid":"87624582","full_name":"TheDen/badfood","owner":"TheDen","description":"Interactive map of restaurants in Sydney that have food penalties 🍕🌯","archived":false,"fork":false,"pushed_at":"2024-10-07T14:02:55.000Z","size":5675,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T03:29:19.053Z","etag":null,"topics":["bad","food","penalty","python","restaurant","spider","sydney"],"latest_commit_sha":null,"homepage":"http://badfood.theden.sh/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheDen.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,"zenodo":null}},"created_at":"2017-04-08T10:00:57.000Z","updated_at":"2024-10-07T14:02:59.000Z","dependencies_parsed_at":"2024-10-26T01:25:19.755Z","dependency_job_id":null,"html_url":"https://github.com/TheDen/badfood","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheDen/badfood","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbadfood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbadfood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbadfood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbadfood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheDen","download_url":"https://codeload.github.com/TheDen/badfood/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheDen%2Fbadfood/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278317318,"owners_count":25967112,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bad","food","penalty","python","restaurant","spider","sydney"],"created_at":"2024-10-25T15:26:06.261Z","updated_at":"2025-10-04T13:18:36.459Z","avatar_url":"https://github.com/TheDen.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![BadFood](images/badfood.png)](https://badfood.theden.sh)\n\n[![Code Style](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat-square)](https://github.com/TheDen/badfood/issues)\n[![License](https://img.shields.io/github/license/theden/badfood?style=flat-square)](/LICENSE)\n![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)\n![Github Pages](https://img.shields.io/badge/GitHub%20Pages-%23222222?style=flat-square\u0026logo=github\u0026logoColor=white)\n![HTML](https://img.shields.io/badge/HTML-%23E34F26?style=flat-square\u0026logo=html5\u0026logoColor=white)\n![Javascript](https://img.shields.io/badge/javascript-%23F7DF1E?style=flat-square\u0026logo=javascript\u0026logoColor=black)\n![CSS](https://img.shields.io/badge/CSS-%231572B6?style=flat-square\u0026logo=CSS3\u0026logoColor=white)\n[![Prettier](https://img.shields.io/badge/Prettier-%23F7B93E.svg?style=flat-square\u0026logo=prettier\u0026logoColor=black)](https://github.com/prettier/prettier)\n[![Website Status](https://img.shields.io/website?label=badfood.theden.sh\u0026style=flat-square\u0026url=https%3A%2F%2Fbadfood.theden.sh%2F)](https://badfood.theden.sh/)\n\n\u003c/div\u003e\n\n[BadFood](http://badfood.theden.sh) shows a map of restaurants in Sydney that have been given a penalty from [The Department of Primary Industries Food Authority](http://www.foodauthority.nsw.gov.au/), specifically from the public [penalty notice](http://www.foodauthority.nsw.gov.au/penalty-notices/default.aspx?template=results) and [prosecutions](http://www.foodauthority.nsw.gov.au/offences/prosecutions) lists.\n\n## Building\n\n### Data Crawler\n\nInstall the python3 requirements\n\n```shell\npip install -r requirements.txt\n```\n\n## Running\n\n### Data Crawling\n\nTo crawl the data from the notice list webpage, and store in in JSON format\n\n```shell\nGOOGLE_API_KEY=\"\u003cYOUR_API_KEY\u003e\" scrapy runspider spiders/spider_notice_list.py -s USER_AGENT='Mozilla/5.0' -o notice_list.json\n```\n\nFor the prosecutions list\n\n```shell\nGOOGLE_API_KEY=\"\u003cYOUR_API_KEY\u003e\" scrapy runspider spiders/spider_prosecutions_list.py -s USER_AGENT='Mozilla/5.0' -o prosecutions_list.json\n```\n\n## Contributing\n\n- Issues and pull requests are welcome!\n- Thanks to [Deedee lee](http://github.com/deedeedeeps) for the BadFood logo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheden%2Fbadfood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheden%2Fbadfood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheden%2Fbadfood/lists"}