首次上线,测试版 v0.0.1 | @xrilang

This commit is contained in:
萌狼蓝天 2024-07-22 22:36:56 +08:00
parent 9efc4c13b8
commit feea2c8be2
9 changed files with 32 additions and 7 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
dist/
build/
edgedriver_win64/
chromedriver-win64/
config.ini

View File

@ -1,8 +1,24 @@
## 项目说明
定制项目,定时获取网站中指定信息,提取关键数据,显示出来
支持数据导出为Excel页面打印为PDF
通讯WebSocket
自动化selenium xpath
前端HTML+CSS+JavaScript
## 配置模板
关于配置文件请见https://git.mllt.cc/MengLangStudio/selenium_elm_fengshen/wiki/?action=_pages
## 依赖安装 ## 依赖安装
pip install flask-socketio eventlet pip install flask-socketio eventlet
pip install eventlet pip install eventlet
pip install pipreqs pip install pipreqs
pipreqs ./ pipreqs ./ --force
## 驱动手动下载 ## 驱动手动下载
@ -39,4 +55,7 @@ hiddenimports = collect_submodules('dns')
然后cmd执行 然后cmd执行
pyinstaller -F flask_websoket.py -n "客户端" --add-data 'templates:templates' --add-data 'static:static' --hidden-import=eventlet.hubs.epolls --hidden-import=eventlet.hubs.kqueue --hidden-import=eventlet.hubs.selects --hidden-import=engineio.async_drivers.threading ```
pyinstaller -F flask_websoket.py -n "web" --add-data 'templates:templates' --add-data 'static:static' --hidden-import=eventlet.hubs.epolls --hidden-import=eventlet.hubs.kqueue --hidden-import=eventlet.hubs.selects --hidden-import=engineio.async_drivers.threading
```

View File

@ -5946,7 +5946,7 @@
[], [],
False, False,
False, False,
1721655862, 1721656356,
[('run.exe', [('run.exe',
'C:\\Users\\xrilang\\Desktop\\ele_fengshen\\venv\\Lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe', 'C:\\Users\\xrilang\\Desktop\\ele_fengshen\\venv\\Lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit-intel\\run.exe',
'EXECUTABLE')], 'EXECUTABLE')],

View File

@ -3,8 +3,8 @@ url_base = https://aeolus.ele.me
url_login = https://mozi-login.alibaba-inc.com/?APP_NAME=LPD_TEAM_AEOLUS&BACK_URL= url_login = https://mozi-login.alibaba-inc.com/?APP_NAME=LPD_TEAM_AEOLUS&BACK_URL=
url_home = https://aeolus.ele.me/dashboard url_home = https://aeolus.ele.me/dashboard
url_work = https://r.ele.me/pikipek/schedule.html?platform=fs&subType=team#/group/schedule/work-check?teamId=17407820 url_work = https://r.ele.me/pikipek/schedule.html?platform=fs&subType=team#/group/schedule/work-check?teamId=17407820
account = 17323612594 account =
password = Cjl1111. password =
# 浏览器驱动,暂只支持 firefox edge chrome默认 # 浏览器驱动,暂只支持 firefox edge chrome默认
driver = chrome driver = chrome
driver_path_edge = ./edgedriver_win64/msedgedriver.exe driver_path_edge = ./edgedriver_win64/msedgedriver.exe

4
dist/config.ini vendored
View File

@ -19,6 +19,6 @@ debug = True
key = 5F3EEC36FB021AF31011F2B448AFC064 key = 5F3EEC36FB021AF31011F2B448AFC064
[WebSocket] [WebSocket]
host=127.0.0.1 host=8.137.118.148
port=8868 port=8868
WEBSOCKET_URL = ws://127.0.0.1:8868 WEBSOCKET_URL = ws://8.137.118.148:8868

BIN
dist/客户端.exe vendored

Binary file not shown.

BIN
dist/服务端.exe vendored

Binary file not shown.

View File

@ -1,3 +1,4 @@
eventlet==0.36.1
Flask==3.0.3 Flask==3.0.3
Flask_SocketIO==5.3.6 Flask_SocketIO==5.3.6
python-socketio==5.11.3 python-socketio==5.11.3

BIN
演示视频.mp4 Normal file

Binary file not shown.