diff --git a/README.md b/README.md index c66af08..5d88c18 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,10 @@ This program parses recipes from common websites and displays them using plain-old HTML. -You can use it here: https://plainoldrecipe.appspot.com/ +You can use it here: https://www.plainoldrecipe.com/ + +Screenshots +----------- Home Page: ![Home Page](/screenshots/home.png?raw=true "Home Page") @@ -13,10 +16,31 @@ If you print the recipe, shows with minimal formatting: ![Print View](/screenshots/print.png?raw=true "Print View") Deploy +------ gcloud app deploy -Acknowledgements: +Acknowledgements +---------------- - https://github.com/hhursev/recipe-scrapers - https://evenbettermotherfucking.website/ + +Contributing +------------ + +1. If you want to add a new scraper, please feel free to make a PR. Your diff + should have exactly two files: `parsers/__init__.py` and add a new class + in the `parsers/` directory. + +2. If you want to fix a bug in an existing scraper, please feel free to do so, + and include an example URL which you aim to fix. Your PR should modify exactly + one file, which is the corresponding module in the `parsers/` directory. + +3. If you want to make any other modification or refactor: please create an + issue and ask prior to making your PR. Of course, you are welcome to fork, + modify, and distribute this code with your changes in accorance with the LICENSE. + +4. I don't gaurantee that I will keep this repo up to date, or that I will respond + in any sort of timely fashion! Your best bet for any change is to keep PRs small + and focused on the minimum changeset to add your scraper :) \ No newline at end of file diff --git a/app.yaml b/app.yaml index 681824e..64ace0e 100644 --- a/app.yaml +++ b/app.yaml @@ -1,4 +1,10 @@ runtime: python37 instance_class: F1 automatic_scaling: - max_instances: 1 \ No newline at end of file + max_instances: 1 + +handlers: + - url: /.* + secure: always + redirect_http_response_code: 301 + script: auto \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index be48f5a..f3e91eb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,13 +1,13 @@ {% include 'header.html' %} -

Charmless Recipes

+

Plan Old Recipes

Take a recipe website URL and remove the cruft.


- +