A tool to download Tencent documents, currently supports Excel documents.
Project description
TencentDocDownload
腾讯文档下载 目前只支持excel文档
How To Use
from TencentDocDownloader.excel_downloader import download
url = "your-url-goes-here"
download(url)
from TencentDocDownloader.excel_downloader import download
url = "your-url-goes-here"
download(url, to_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后面)相关注释
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tencentdocdownloader-0.1.1.tar.gz.
File metadata
- Download URL: tencentdocdownloader-0.1.1.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1705304c3e4d4539a7efed521216f99b841b61d77f52cb5419e16d4261e6e126
|
|
| MD5 |
a5a1b978d4fad62b526004124a4de445
|
|
| BLAKE2b-256 |
9f04c4324ee2b068083c1eb7a42948284ddbe4f31c6ab252af408a1b4f4fab00
|
File details
Details for the file TencentDocDownloader-0.1.1-py3-none-any.whl.
File metadata
- Download URL: TencentDocDownloader-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc9b18c39605cb6c8634e016b9da4d7f807895b3ee92a1f4de21ecf541fb75eb
|
|
| MD5 |
80100f171e3411a350089338c6f23440
|
|
| BLAKE2b-256 |
659b3e7e42d5101d55c19e224eb879fd3870b38d8e2a4c81f5f8a18ec4398a07
|