Closed 2fst4u closed 2 years ago
I'm using version 13.3.5 and it seemed to parse this site ok.
Can you provide the version number for recipe-scrapers
?
Put this into the Python console.
>>> import pkg_resources
>>> pkg_resources.require("recipe_scrapers")[0].version
OR on a Linux/Mac command line put this in (you might need to use pip3):
$ pip list | grep recipe-scrapers
What is the answer that comes out?
As an aside: There should be a better way to get this information from a package.
I'm not too sure how to get this from a docker container.
On Mon, 9 Aug 2021, 01:23 Micah Cochran, @.***> wrote:
I'm using version 13.3.5 and it seemed to parse this site ok.
Can you provide the version number for recipe-scrapers?
Put this into the Python console.
import pkg_resources >>> pkg_resources.require("recipe_scrapers")[0].version
OR on a Linux/Mac command line put this in (you might need to use pip3):
$ pip list | grep recipe-scrapers
What is the answer that comes out?
As an aside: There should be a better way to get this information from a package.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hhursev/recipe-scrapers/issues/417#issuecomment-894797213, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUNCRW6QRTQU3INVJVLKGTT32ALLANCNFSM5A7LOCYQ .
What version of Mealie do you have installed?
It may just be that Mealie needs to upgrade to pin to newer version of recipe-scrapers in their pyproject.toml
(that file pins a minimum package version). Has this issue been reported to the Mealie project?
I haven't posted an issue to the main mealie repo, no. I thought this would be the more appropriate place.
Unfortunately I can't upgrade due to a standing issue that has since been closed where upgrades to containers break and can't be used without a clean install and restore from config.
If it works on your end then I guess it's fine. It's just this one time that it had an issue but I haven't tried others from the same site so if it crops up again I'll look into it further.
Thanks!
Pre-filing checks
The URL of the recipe(s) that are not being scraped correctly
The version of Python you're using
3.9.6
The operating system of your environment
Ubuntu 20.04.2 LTS (docker)
The results you expect to see
recipe scraped successfully
The results (including any Python error messages) that you are seeing
However the output data shows the following:
I'm not a whizz at all but it looks like it's picking up everything properly. Any help appreciated!
Can you write Python and would you like to help fix the scraper yourself? We'd be glad for your assistance! We can provide you with guidance and code review in return. If so, tick any of the relevant boxes below:
recipe-scrapers
team try to fix this