Comments (3)
IDRecorder.txt被作为只写文件流打开了
意外结束时可能不会更新
可能还得判断下它的大小...
5.1版本只只要读取到了ids
就返回ids
这种好像更好不用判断
from tiktokdownloader.
temp 文件夹为下载文件缓存文件夹,程序结束运行会自动清除该文件夹,如果该文件夹存在,说明程序上次异常退出。
from tiktokdownloader.
理解了,我自己是用其他方法管理IDRecorder.txt
的,管理时我删除temp
后正常了
正常使用测试了下好像有点问题
检查完成后会自动创建这个文件夹
代码中有注册退出时执行函数
而命令行好像并没有退出方式?
文档中说Ctrl+C结束,但在我这这样做直接报错了
另外恢复时选yes提示 IDRecorder 已恢复最后一次备份的数据,请重新运行程序!
看了下代码它应该是读取了备份文件的数据,但提示让重新运行...
另外一个非常非常小众的BUG
在环境变量中设置了代理为sock5的话,程序会报错Missing dependencies for SOCKS support.
我设置的是 all_proxy
,它的功能是全局的命令行代理
类似的还有http_proxy
,https_proxy
windows是支持这样设置,搜索了下linux也支持.
设置自带代理可以考虑手动清空这些环境变量
在cmd中是这样设置的set all_proxy=
我不熟悉python,就不搜索python的代码了
from tiktokdownloader.
Related Issues (20)
- 获取作品数据时间好长,5秒起步,有点难等呀 HOT 2
- 大佬能否将本项目提交到docker hub? HOT 3
- 怎么用exe文件获取tiktok关键词搜索的评论呀?用源码一直报错 HOT 3
- 抖音收费视频,电脑网页端无法显示,我的收藏里根本没有,只能在app收藏里显示,请问我付费后,您的软件怎么下载 HOT 1
- 大佬帮忙看下。TIKTOK提取失败 HOT 2
- 作者大大请问我下载代码之后本地跑,引入了cookies之后后续执行老是提示这个网络异常是什么问题呀,我网络正常的 HOT 11
- 请问一下,我启用的是api服务,然后如果用登录后的cookie请求,大概请求多少的数据量会被封? HOT 1
- 闪退 TikTokDownloader_V5.3_WIN_SetUp.exe
- 关于作品多张动图下载 HOT 1
- 关于5.4版本 启动全部功能 HOT 1
- 下载的作品命名能付增加点赞评论和转发数目,比如说像 id+描述+标签+收藏数+转发数 这样的文件命名。 HOT 1
- 我这是缺少什么吗 HOT 1
- 如何获取关注列表保存到文件
- 程序闪退 HOT 1
- python运行5.4输入待采集的作品链接,报错网络异常:0,message=''
- 5.3版本以“4 2 1”模式启动的main.py未将cookie加入请求函数的请求头中 HOT 3
- 采集搜索结果数据没有视频下载链接,是其他还有什么地方需要配置吗? HOT 1
- 终端交互模式 如何返回上一个操作 只能ctrl+c结束吗? HOT 2
- 非直播间的普通视频能否增加清晰度选择功能? HOT 5
- 视频下载不完整,好像是还在缓存_internal\cache\temp 临时目录没有移动到目标目录 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktokdownloader.