Metadata-Version: 2.1
Name: TencentDocDownloader
Version: 0.1.0
Summary: A tool to download Tencent documents, currently supports Excel documents.
Home-page: https://github.com/kuloPo/TencentDocDownload
Author: ChronoWalker
Author-email: terrenceliao@hotmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: openpyxl

# TencentDocDownload
腾讯文档下载 目前只支持excel文档

## 安装依赖
```shell
pip3 install -r requirements.txt
```

## 运行
```shell
python3 excel.py URL_OF_WORK_SHEET
python3 excel.py URL_OF_WORK_SHEET cookie_file_path
```

## 获取cookies
1.针对chrome系列浏览器，安装插件Get cookies.txt，链接 https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid
> (可能需要翻墙)
2.打开chromedevtools(右击->检查)，application，storage，cookies
将对应的值全部复制出来，放到download文件头部`cookie_string = "" #可以手动写死cookies内容`内，并解除（以及user_data后面）相关注释
