Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

rodneyshupe/recipe-dl.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recipe-dl.sh

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.sh [-ahjmros] [-i infile] [-o outfile] <URL> [<URL] ...
  -a|--authorize         Force authorization of Cook Illustrated sites
  -h|--help              Display help
  -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|--inputfile infile  (Currently Unsupported) Specify input JSON file infile
  -o|--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

Copy recipe-dl.sh to /opt.

curl https://raw.githubusercontent.com/rodneyshupe/recipe-dl.sh/master/recipe-dl.sh --output /opt/recipe-dl.sh && chmod + x /opt/recipe-dl.sh
curl https://raw.githubusercontent.com/rodneyshupe/recipe-dl.sh/master/rst2recipe.sh --output /opt/recipe-dl.sh && chmod + x /opt/rst2recipe.sh

Create symbolic links to somewhere on the path.

ln -s /opt/rst2recipe.sh /usr/local/bin/rst2recipe
ln -s /opt/rst2recipe.sh /usr/local/bin/rst2recipe

Requirements

The following packages are required:

About

Recipe download script. Will format the recipe into JSON, Markdown, or reStructuredText.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages