Add web scraper, database resources, and allergen data for food allergen collection - #130
Draft
mishmanners with Copilot wants to merge 7 commits into
Draft
Add web scraper, database resources, and allergen data for food allergen collection#130mishmanners with Copilot wants to merge 7 commits into
mishmanners with Copilot wants to merge 7 commits into
Conversation
Owner
|
@copilot I want to add anything you find in these links to the main json database. |
Co-authored-by: mishmanners <36594527+mishmanners@users.noreply.github.com>
Co-authored-by: mishmanners <36594527+mishmanners@users.noreply.github.com>
…gic, use HTTPS Co-authored-by: mishmanners <36594527+mishmanners@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Collect and scrape known databases for food types
Add web scraper and database resources for food allergen collection
Oct 27, 2025
Co-authored-by: mishmanners <36594527+mishmanners@users.noreply.github.com>
Contributor
Author
I've added the allergens from the database research to Added 7 new allergen categories:
Also added dietary restriction variants: sesame_free, wheat_free, sulphites_free Updated existing categories: Separated molluscs from shellfish, added brazil nuts to nut allergens. The database now covers allergen requirements for US, EU, AU/NZ, and Canada. See Commit: 5931be8 Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Copilot
AI
changed the title
Add web scraper and database resources for food allergen collection
Add web scraper, database resources, and allergen data for food allergen collection
Oct 27, 2025
Added mussels, oysters, and clams to seafood list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements automated scraping infrastructure for the 7 allergen databases listed in the issue (Healthline, Food Safety AU, FARRP InformAll, AllergenOnline, Food Standards AU/NZ, COMPARE, Global Nutrition Report) and adds comprehensive allergen data to the main database.
Core Implementation
scripts/scrape-allergen-databases.js: Extensible scraper using axios 1.12.0 + cheerio_data/scraped-allergens.json(structured data) and_data/scraping-summary.md(summary)npm run scrape_data/allergen-database-resources.md: Reference documentationscripts/README.md: Scraper usage and extension guide_data/database.json: Updated with allergen data from database research_data/allergens-added-summary.md: Documentation of all allergen additions with sources and reasoningExample Usage
Security
Network Considerations
Scraper requires external network access. In sandboxed environments, use the reference documentation for manual collection.
Fixes #12
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.