Closed rileyyy closed 10 months ago
Thanks a bunch @rileyyy for the thorough testing and suggestions. Much appreciated.
Not a problem! I'll pull down the latest changes later when I have some time and give it another go. Seems like a super handy utility!
Issue encountered
Attempting to save a recipe using the example recipe created the filename with the word recipes at the front:
Expected result
The file should be named
crispy-baked-potato-wedges.md
and located inside therecipes/
directory.You could consider the .replace() function that is built into python as well for name sanitization. e.g.
title = scraper.title().replace(' ', '-') + ".md"