update readme

This commit is contained in:
Jay Goel 2020-04-19 23:34:36 -04:00
parent 21763caff8
commit f7e863145c
3 changed files with 35 additions and 5 deletions

View file

@ -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 :)

View file

@ -1,4 +1,10 @@
runtime: python37
instance_class: F1
automatic_scaling:
max_instances: 1
max_instances: 1
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto

View file

@ -1,13 +1,13 @@
{% include 'header.html' %}
<h1>Charmless Recipes</h1>
<h1>Plan Old Recipes</h1>
<p>Take a recipe website URL and remove the cruft.</p>
<div style="text-align: center">
<form method="GET" action="/recipe">
<input type="text" name="url" size="100">
<br>
<input type="submit" value="Make it soulless...">
<input type="submit" value="Simplify...">
</form>
</div>