nextcloud / nextcloud/cookbook
allrecipies.com can no longer be imported
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 641
- Forks
- 113
- Avg merge
- 21h 31m
- Merged PRs (30d)
- 26
Description
Description
Earlier versions of the cookbook app perfectly imported all recipe data from the website https://www.allrecipes.com
Cookbook version 0.11.6 now reports the following error:
Download from https://www.allrecipes.com/creamy-cajun-pasta-recipe-11892221 failed as HTTP status code 402 is not in expected range.
https://www.foodnetwork.com/recipes/giada-de-laurentiis/chicken-florentine-style-recipe-1942850 reports HTTP error 403
https://insanelygoodrecipes.com/chicken-schnitzel-with-noodles/ reports HTTP error 403
Some other recipe sites work well
Reproduction
Steps to reproduce the behavior:
- Go to https://www.allrecipes.com/creamy-cajun-pasta-recipe-11892221
- copy the URL
- switch to the cookbook app and paste the URL in the "Download recipe from URL" box
- See error
Expected behavior
Previous versions imported all the recipe data perfectly including the image, and nutritional data
Actual behavior
A HTTP stat code 402 is displayed and the recipe is not imported
Screenshots
Browser
Firefox 14.0 64bit
Versions
Nextcloud server version: Nextcloud Hub 26 Winter (33.0.0)
Cookbook version: 0.11.6
Database system: MariaDB
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the URL import in the Cookbook app with the listed Allrecipes, Food Network, and Insanely Good Recipes URLs, comparing them with the working Taste of Home example. Start by tracing the URL download and HTTP-status handling; done means the affected recipe sites import their recipe, image, and nutritional data without the reported 402 or 403 errors.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100