Skip to content

DEAN-Cherry/FTencentDoc

Repository files navigation

FTencentDoc

一个腾讯文档自动签到的简单实现

Requirements

使用项目内的requirements.txt安装依赖

pip install -r requirements.txt

Usage

只需项目目录中运行即可

python main.py

for those who use Windows, you need to use ./

python ./main.py

And here is a more general way is to run the script

<path of python.exe> <path to main.py>

Register

运行项目内的register.py即可

python register.py

图片

Info

main.py 为主程序

localConfig.json 为配置文件

trivial.ipynb 为测试文件, Jupyter Notebook 格式

logs 为日志文件夹,每天运行会生成一个日志文件,该文件夹必须存在于项目目录下,否则程序会报错

requirements.txt 为依赖文件

其中,localConfig.json 的配置如下

{
  "whereami": "<your location>",
  "reference_pos": [
    "<row number of the reference position>",
    "<column number of the reference position>"
  ],
  "doc_url": "<doc url>",
  "user": {
    "<user name in utf-8>": "<distance to the reference position>",
    "\u5510\u6d77\u6210": 1,
    "\u674e\u6587\u950b": 2,
    "\u9ad8\u6cfd\u68ee": -2,
    "\u5362\u56fd\u6d69": 13
  },
  "cookies": ["<your cookies>"]
}

具体函数的作用请参考代码,所有函数列表如下 图片

Others

图片

具备Log 图片

About

一个腾讯文档自动签到的简单实现

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages