Skip to content

Recipe Scraper and Formater - Will format the recipe into JSON, Markdown, or reStructuredText.

License

Notifications You must be signed in to change notification settings

rodneyshupe/recipe-dl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recipe-dl

Recipe download script. Will format the recipe into JSON, Markdown, or reStructuredText. I tend to use more reStructuredText so that is the default output format.

Usage

usage: recipe-dl [-h] [-v] [-a] [-d] [-j] [-m] [-r] [-i INFILE]
                 [-o OUTFILE] [-s]
                 [URL [URL ...]]

positional arguments:
  URL

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -a, --authorize       Force authorization of Cook Illustrated sites
  -d, --debug           Add additional Output
  -v, --verbose         Make output verbose
  -j, --output-json     Output results in JSON format.
  -m, --output-md       Output results in Markdown format.
  -r, --output-rst      Output results in reStructuredText format.
  -i INFILE, --infile INFILE
                        Specify input json file infile.
  -o OUTFILE, --outfile OUTFILE
                        Specify output file outfile.
  -s, --save-to-file    Save output file(s).

Compatibility

Currently this has been tested for the following sites:

Install

Install using pip

pip3 install https://github.com/rodneyshupe/recipe-dl/archive/v0.3.1.tar.gz

About

Recipe Scraper and Formater - Will format the recipe into JSON, Markdown, or reStructuredText.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published