diff --git a/.gitignore b/.gitignore index b6da025..290b5b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /tmp /driver -*.pyc \ No newline at end of file +*.pyc +screenshot.png +result.png diff --git a/README.MD b/README.MD index e0794f7..bf70f27 100644 --- a/README.MD +++ b/README.MD @@ -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 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c3da3bd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +Pillow==10.2.0 +selenium==4.18.1 diff --git a/result.png b/result.png index 487a295..4b379f5 100644 Binary files a/result.png and b/result.png differ diff --git a/screenshot.png b/screenshot.png index 16190d5..9630179 100644 Binary files a/screenshot.png and b/screenshot.png differ