Skip to content

[BUG] - Prep Time and Total Time are not imported #5232

Open
@javierlopeza

Description

@javierlopeza

First Check

  • This is not a feature request.
  • I added a very descriptive title to this issue (title field is above this).
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Mealie documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • This issue can be replicated on the demo site (https://demo.mealie.io/).

What is the issue you are experiencing?

I've tried several methods for importing a recipe but non of them are scraping and storing the prepTime and totalTime as expected.

Steps to Reproduce

  1. Try to import from url using: https://www.allrecipes.com/recipe/8443231/easy-3-ingredient-pina-colada/
  2. Check imported recipe: no time is displayed
  3. Check imported recipe's JSON: prepTime and totalTime are null

Please provide relevant logs

INFO     2025-03-18T00:20:59 - HTTP Request: GET https://www.allrecipes.com/recipe/8443231/easy-3-ingredient-pina-colada/ "HTTP/1.1 200 OK"
ERROR    2025-03-18T00:20:59 - Error parsing recipe func_call for 'cookTime'
ERROR    2025-03-18T00:20:59 - Error parsing recipe func_call for 'keywords'
ERROR    2025-03-18T00:20:59 - Error parsing recipe func_call for 'cookTime'
ERROR    2025-03-18T00:20:59 - Error parsing recipe func_call for 'keywords'
WARNING  2025-03-18T00:20:59 - [SCRAPER] Unexpected type or structure for variable time_entry
WARNING  2025-03-18T00:20:59 - [SCRAPER] Unexpected type or structure for variable time_entry
WARNING  2025-03-18T00:20:59 - [SCRAPER] Unexpected type or structure for variable time_entry
WARNING  2025-03-18T00:20:59 - [SCRAPER] Unexpected type or structure for variable time_entry
INFO     2025-03-18T00:20:59 - Image URL: https://www.allrecipes.com/thmb/wFfn4zkae68tn85tx9YDO64yN2Y=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/4PinaColada-2000-f8204d13160c46d9aee049efe3e628ad.jpg
INFO     2025-03-18T00:20:59 - HTTP Request: GET https://www.allrecipes.com/thmb/wFfn4zkae68tn85tx9YDO64yN2Y=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/4PinaColada-2000-f8204d13160c46d9aee049efe3e628ad.jpg "HTTP/1.1 200 OK"
INFO     2025-03-18T00:21:00 - original.jpg minified
INFO     2025-03-18T00:21:00 - Tiny image saved
INFO     2025-03-18T00:21:00 - [162.158.41.78:0] 201 Created "POST /api/recipes/create/url HTTP/1.1"
INFO     2025-03-18T00:21:00 - [162.158.41.78:0] 200 OK "GET /api/recipes/easy-3-ingredient-pina-colada-3 HTTP/1.1"
INFO     2025-03-18T00:21:00 - [162.158.41.78:0] 200 OK "GET /api/organizers/tools?page=1&perPage=-1&orderBy=name&orderDirection=asc HTTP/1.1"
INFO     2025-03-18T00:21:00 - [162.158.41.78:0] 200 OK "GET /api/groups/households/77e7aae3-124e-488a-927f-39ef23f50cfd HTTP/1.1"
INFO     2025-03-18T00:21:00 - [162.158.41.132:0] 200 OK "GET /api/media/recipes/08e0e866-421d-41e6-a29f-cee9e5c40ea1/images/original.webp?rnd=1&version=Dtpm HTTP/1.1"
INFO     2025-03-18T00:21:00 - [162.158.41.78:0] 200 OK "GET /api/households/self/recipes/easy-3-ingredient-pina-colada-3 HTTP/1.1"
INFO     2025-03-18T00:21:00 - [162.158.41.78:0] 200 OK "GET /api/groups/households/77e7aae3-124e-488a-927f-39ef23f50cfd HTTP/1.1"
INFO     2025-03-18T00:21:08 - [127.0.0.1:40418] 200 OK "GET /api/app/about HTTP/1.1"

Mealie Version

Docker image: nighly
Build: eca2ba36c85edc3b3ad235b29aae0d27ed57afeb

Deployment

Docker (Linux)

Additional Deployment Details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions