Developer Builds Open-Source Scraper for Canada's Product Recalls Government Database
A developer has built an Apify actor that scrapes Health Canada's official recalls-rappels.canada.ca database, which publishes all product recalls but offers no public JSON API or RSS feed. The scraper works by mimicking a browser User-Agent to bypass the site's 418 response to plain script clients, then paginating through Drupal-powered search results and parsing individual recall detail pages. It covers consumer products, vehicles, food, drugs, and health products, returning clean JSON records with 17 structured fields per recall. The tool was built as an in-house alternative to an existing community actor, ensuring the developer's data pipeline remains independent of third-party maintenance. Detail page requests are deliberately paced and use exponential backoff to avoid overloading the government server.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in