jpbulman / OnlyTheRecipe

Recipe websites have too much clutter, this scrapes *just* the recipe
https://www.onlytherecipe.org/
56 stars 12 forks source link

add support for thefoodcharlatan.com #25

Open dillonstreator opened 2 years ago

dillonstreator commented 2 years ago

Fixes #22

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/jpbulman/only-the-recipe/BDwSyp6fHA5ryFzgSAskjxWgNRNV
✅ Preview: https://only-the-recipe-git-fork-dillonstreator-thefood-3a4054-jpbulman.vercel.app

jpbulman commented 2 years ago

Thanks for the addition! This seems to work great for me after I ran through a couple recipes.

One not necessary, but maybe nice to have, thing is adding ingredient sections (like in this recipe).

It would probably be pretty east to hook this up in the 'annoyingDomains' section and basically use all you have here for the rest of the code, and then just add a selector for the sections.

Let me know if that gives you any trouble and I'd be happy to help!