Skip to content

coderjz/gascogne

Repository files navigation

gascogne

Introduction

Fetch recipes from other websites and store in HTML files. This tool was built as I tend to use a lot of recipes from online websites and want an easy way to reference/archive them. Tried copying them into Evernote, but realized it should be straightforward to parse the HTML content and download to a local file.

Supported sites are now in the file (more to be added soon!) https://github.com/coderjz/gascogne/blob/master/sites.py

Usage

python main.py -u URL

  • Downloads the recipe from the given URL and saves it to a file in the directory /output/html
  • Use the -o option to specify a different output directory

python main.py -f FILE

Testing

A few tests are in the test.py file. Use the command: python -m unittest test.py

About

Fetch recipes from other websites and store in HTML files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published