Giter Club home page Giter Club logo

Comments (4)

jayaddison avatar jayaddison commented on July 29, 2024

Takk, @fakethinkpad85 - is there a problem with the already ICA scraper here?

from recipe-scrapers.

jayaddison avatar jayaddison commented on July 29, 2024

Sorry, @fakethinkpad85 - I was too brief and unclear with that question.

Recent versions of recipe-scrapers have support for the ICA recipe website, so the following should work in Python:

Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from recipe_scrapers import scrape_me
>>> s = scrape_me('https://www.ica.se/recept/spaghetti-och-kottfarssas-712805/')
>>> s.title()
'Spaghetti och köttfärssås'
>>> s.ingredients()
['500 g nötfärs', '1 gul lök (skalad och hackad)', '2 vitlöksklyftor (skalade och finhackade)', '2 morötter (skalade och rivna)', '2 msk matolja', '1/2 dl tomatpuré', '500 g krossade tomater', '2 dl hönsbuljong', '2 msk kinesisk soja', 'salt och svartpeppar', '4 portioner spaghetti', 'parmesan', 'körsbärstomater']

That said, there's always a chance of bugs and problems in the code: please let us know if you find any, and we'll do our best to help.

I haven't had a chance to look into the other issue you opened yet, but will try to soon.

from recipe-scrapers.

fakethinkpad85 avatar fakethinkpad85 commented on July 29, 2024

It seems to all be my bad @jayaddison, after testing again it seems to be working flawlessly. Not sure if i had the link mixed up with another site or if it was just a temporary local fluke. none the less I´m sorry for the late reply.

from recipe-scrapers.

jayaddison avatar jayaddison commented on July 29, 2024

No problem - both of those can happen to anyone! - thanks for letting me know, glad to hear that it's working well.

from recipe-scrapers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.