Skip to content

Add Allrecipes adapter#6

Open
ankitranjan7 wants to merge 3 commits into
mainfrom
add-allrecipes-adapter-pr-v2
Open

Add Allrecipes adapter#6
ankitranjan7 wants to merge 3 commits into
mainfrom
add-allrecipes-adapter-pr-v2

Conversation

@ankitranjan7

@ankitranjan7 ankitranjan7 commented Jul 3, 2026

Copy link
Copy Markdown

Summary

  • add browser-backed Allrecipes recipe extraction adapter
  • command added:
    • webcmd allrecipes recipe <url>
  • extract recipe JSON-LD/visible page data from recipe URLs
  • normalize HTML entities in returned text
  • keep recipe rows within webcmd row-shape limits by returning 12 top-level fields
  • regenerate cli-manifest.json

Verification

  • webcmd doctor
  • npm run build-manifest
  • npm run typecheck
  • npm run check:silent-column-drop
  • npm run check:typed-error-lint
  • npm test -- clis/allrecipes/allrecipes.test.js
  • npm test
  • live verified:
    • node dist/src/main.js allrecipes recipe https://www.allrecipes.com/recipe/23600/worlds-best-lasagna/ --format json
  • webcmd browser verify --strict-memory allrecipes/recipe passed with a tightened local fixture

Notes

  • Direct server fetch to Allrecipes can hit Cloudflare/browser verification, so this adapter uses browser-backed extraction through the webcmd/Cloak flow.

@ankitranjan7 ankitranjan7 force-pushed the add-allrecipes-adapter-pr-v2 branch from 9b91eab to 71e50be Compare July 3, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant