This commit is contained in:
shikong 2024-03-01 18:36:00 +08:00
parent dfede5f6df
commit ae9739f746
5 changed files with 17 additions and 1 deletions

4
.gitignore vendored
View File

@ -1,3 +1,5 @@
/tmp
/driver
*.pyc
*.pyc
screenshot.png
result.png

View File

@ -1,2 +1,14 @@
### 项目依赖安装
```shell
pip install -r requirements.txt
```
### requirements.txt
```shell
pip install pipreqs
pipreqs ./ --encoding=utf8
```
### chrome driver 下载地址
https://googlechromelabs.github.io/chrome-for-testing/#stable

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
Pillow==10.2.0
selenium==4.18.1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 KiB

After

Width:  |  Height:  |  Size: 336 KiB