💾 Archived View for tilde.cafe › ~winter › gemlog › 2022-02-06_recipeviewer.gmi captured on 2022-03-01 at 15:17:59. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
I made a pretty bad python script to fetch recipes from many websites and display them in the terminal. You can get it with:
git clone https://tilde.cafe/~winter/git/recipe-viewer.git
This was my first time using curses in python so the code is very shoddy - I had a bit of a problem with the first render not working at all, have a look near the bottom of the script and you'll see what I mean (if you know how to fix this please email!).
The library I'm using to get recipes has a bunch of built in scrapers as well as using Recipe Schema data to try its best to extract the information, however some websites have neither. Its developers suggest reporting an issue and/or pull request if you want to add a scraper for such a website.