c# moment
This commit is contained in:
parent
adcf39ca4a
commit
13f546fcf5
1 changed files with 1 additions and 1 deletions
|
@ -49,6 +49,6 @@ pg = Puppygirl(
|
||||||
# parsed using the above config
|
# parsed using the above config
|
||||||
parsed = pg.fetch("index.html")
|
parsed = pg.fetch("index.html")
|
||||||
|
|
||||||
using open("dist/index.html", "w") as f:
|
with open("dist/index.html", "w") as f:
|
||||||
f.write(parsed.prettify()) # parsed is a beautifulsoup4 object
|
f.write(parsed.prettify()) # parsed is a beautifulsoup4 object
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue