blob: 5c84a403c9e647dfc1f1bad697bd93bf6a24c52d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Web2Recipe
This is a simple Python script to scrap recipes from websites and then generate stylized/non-stylized (no-extra-crap) single page HTML pages
```
usage: web2recipe.py [-h] [-S] [-V] [-U URL]
This program takes the URL of a website with the target recipe, scraps it and
stylises it. If the stylized argument is not passed, then it generates a
vanilla HTML file
optional arguments:
-h, --help show this help message and exit
-S, --stylized generate stylized html
-V, --version show program version
-U URL, --url URL input url
```
### Screenshots
#### Simple
![non-stylized](https://raw.githubusercontent.com/navanchauhan/Web2Recipe/master/assets/ss1.png)
#### Stylized
![stylized](https://raw.githubusercontent.com/navanchauhan/Web2Recipe/master/assets/ss2.png)
#### Stylized (Mobile)
![stylized-mobile](https://raw.githubusercontent.com/navanchauhan/Web2Recipe/master/assets/ss3.png)
### Requirements
* BeutifulSoup4
* Markdown2
### Acknowledgemnts
* Zack Schollz Github: schollz - Ingredients API
* CodePen: oliviale - Recipe Layout CSS
|