Skip to content

Commit

Permalink
win setup
Browse files Browse the repository at this point in the history
  • Loading branch information
1Danish-00 authored Mar 1, 2022
1 parent fa27c75 commit 4c94d26
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@ But If u installed externally then you have to setup config path.
```py
from htmlwebshot import WebShot, Config
shot = WebShot()
shot.config = Config(wkhtmltopdf="/path/to/wkhtmltopdf", wkhtmltoimage="/path/to/wkhtmltoimage")
shot = WebShot(
quality=80,
config=Config(
wkhtmltopdf="C:\Program Files\wkhtmltopdf\\bin\wkhtmltopdf.exe",
wkhtmltoimage="C:\Program Files\wkhtmltopdf\\bin\wkhtmltoimage.exe",
),
)
```

0 comments on commit 4c94d26

Please sign in to comment.