-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/sqlite-db #83
Open
fcmyoo
wants to merge
11
commits into
dreammis:main
Choose a base branch
from
fcmyoo:feature/sqlite-db
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+3,139
−337
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 🛠️ 在 `conf.py` 中更新了配置,增加了更健壮的路径处理,并添加了 TencentConfig 类 - 📂 改进了示例上传脚本,优化了路径管理和错误处理 - 🛠️ 增强了 `base_social_media.py` 和 `files_times.py` 中的工具函数 - 📦 更新了 requirements,增加了 Flask 和 Gevent - 🔄 重构了腾讯上传器,增加了更灵活的账户处理和 AI 生成的标签 - ⬇️ 添加了动态 stealth.min.js 下载机制
- 🚀 重构 `upload` 方法,支持多账号并发上传 - 🔍 新增 `detect_upload_status` 方法,改进上传状态检测 - 🖼️ 实现 `upload_cover` 方法,支持自定义封面上传 - 📍 添加位置信息和好友标记功能 - 🔒 优化 cookie 验证和账号信息获取流程 - 🛠️ 增加错误处理和重试机制 - 📊 新增账号信息获取方法,提供更多上传前的账号信息
- 🔑 实现交互式 Cookie 获取和管理脚本 - 🚀 支持添加新账号、更新指定账号或批量更新 Cookie - 🛠️ 使用 argparse 添加命令行参数支持 - 📂 优化 Cookie 文件管理和存储路径 - 🔄 增加并发 Cookie 验证和更新功能
- 🚀 实现 `find_video_assets()` 方法,支持灵活的视频资源查找 - 📄 新增 `load_video_info()` 函数,从 JSON 配置文件加载视频信息 - 🔄 重构上传流程,支持单线程和多线程上传模式 - 🛠️ 优化错误处理和日志记录 - 📦 增加对封面、标签和好友标记的支持 - 🔍 提供更灵活的账号管理和 Cookie 验证机制
- 记录视频号、抖音、快手和小红书的定时发布时间限制 - 创建 README.MD 文档说明各平台发布规则
- 更新 `__main__` 部分,默认使用特定账号名称进行单线程上传 - 移除不必要的 `sys` 导入
- 添加 `sqlite_logger` 到日志模块 - 实现 `SQLiteHelper` 类,提供同步 SQLite 数据库操作 - 实现 `AsyncSQLiteHelper` 类,提供异步 SQLite 数据库操作 - 支持线程安全、事务处理、参数化查询和批量操作 - 提供连接管理、查询、执行和表操作等常用方法
- 🔄 新增 `batch_cookie_auth()` 函数,支持并发验证多个账号的 Cookie 有效性 - 🛠️ 重构 `cookie_auth()` 方法,优化 Cookie 验证逻辑 - 📝 改进代码格式和可读性,使用更现代的 Python 语法 - 🔍 优化错误处理和日志记录
- 🗃️ 实现 `SocialMediaDB` 类,提供社交媒体账号信息的数据库管理功能 - 📊 支持账号信息的增删改查、状态管理和 Cookie 文件关联 - 🔍 添加账号和 Cookie 验证机制,确保数据完整性 - 📈 提供平台统计功能,支持获取账号、视频和粉丝数据 - 🛡️ 实现错误处理和日志记录,增强模块的健壮性
- 🏗️ 将腾讯视频上传器拆分为多个模块:account.py, cookie.py, video.py, utils.py - 🔄 重构代码结构,提高代码可读性和可维护性 - 🗃️ 集成社交媒体数据库,实现账号和 Cookie 的自动管理 - 🔍 优化账号信息获取、Cookie 验证和上传流程 - 📦 更新 __init__.py,提供更清晰的模块导入
- 新增视频管理工具项目概述和详细文档 - 扩展 README 内容,包括项目愿景、功能地图和使用场景 - 更新 requirements.txt,升级依赖库版本 - 添加新的技术栈和开发规范说明
非常感谢,我刚看到,我空一点review下。感谢为社区贡献 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
__main__
部分,默认使用特定账号名称进行单线程上传sys
导入