https://github.com/isaced/kd77automationworkdaily
<口袋助理> 自动写日报脚本
https://github.com/isaced/kd77automationworkdaily
Last synced: over 1 year ago
JSON representation
<口袋助理> 自动写日报脚本
- Host: GitHub
- URL: https://github.com/isaced/kd77automationworkdaily
- Owner: isaced
- License: mit
- Created: 2016-04-04T14:17:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-05T09:25:25.000Z (over 10 years ago)
- Last Synced: 2025-01-23T00:29:40.457Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 1.46 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# <口袋助理> 自动写日报脚本
自动抓取本地 Git 仓库当天 Commit 信息,组织后通过 Selenium Webdriver 模拟登陆、页面跳转、填写表单并提交到当日日报中。
> 本代码仅供学习研究使用!
### Requirements
- [Selenium](http://www.seleniumhq.org)
- [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/)
- [GitPython](https://github.com/gitpython-developers/GitPython)
> pip install -r requirements.pip
### Show
[](https://asciinema.org/a/41209)
### Dev Log
* 使用 ChromeDriver 解决兼容性以及启动速度慢的问题。
* 使用 WebDriverWait 解决 time.sleep() 不准确的问题
* 兼容 Python2 和 Python3