{"id":13456620,"url":"https://github.com/bingsanyu/feishu_minutes","last_synced_at":"2025-03-24T11:30:50.101Z","repository":{"id":168321562,"uuid":"610191398","full_name":"bingsanyu/feishu_minutes","owner":"bingsanyu","description":"多线程上传/下载飞书妙记视频\u0026SRT字幕 语音转文字 飞书爬虫","archived":false,"fork":false,"pushed_at":"2025-02-17T14:49:38.000Z","size":2455,"stargazers_count":106,"open_issues_count":0,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T15:34:11.156Z","etag":null,"topics":["aria2","feishu","feishu-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bingsanyu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T09:25:23.000Z","updated_at":"2025-02-17T14:41:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"c65b01c4-c09c-47b4-a9d2-047722946c8a","html_url":"https://github.com/bingsanyu/feishu_minutes","commit_stats":null,"previous_names":["bingsanyu/feishumiaoji","bingsanyu/feishu_minutes"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bingsanyu%2Ffeishu_minutes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bingsanyu%2Ffeishu_minutes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bingsanyu%2Ffeishu_minutes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bingsanyu%2Ffeishu_minutes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bingsanyu","download_url":"https://codeload.github.com/bingsanyu/feishu_minutes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245260714,"owners_count":20586444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aria2","feishu","feishu-api"],"created_at":"2024-07-31T08:01:25.017Z","updated_at":"2025-03-24T11:30:50.095Z","avatar_url":"https://github.com/bingsanyu.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"多线程上传/下载飞书妙记（SRT字幕）\n\n## 使用场景\n\n- 定期下载飞书会议视频与字幕，实现会议的自动备份。\n- 定期检查云端妙记数量，超出限制则删除旧的妙记。\n- 从本地上传视频后导出字幕，实现语音转文字。\n\n## 使用步骤（如果自己运行脚本）\n\n1. 首先安装 requests 库和 tqdm 库 `pip install requests tqdm`。\n  \n2. 打开[飞书妙记主页](https://meetings.feishu.cn/minutes/home)，按F12打开开发者工具，点击`网络`栏，刷新后复制网络请求 *list?size=20\u0026space_name=* 中的`cookie`，粘贴至`config.ini`的`cookie`。\n\n**下载妙记**\n\n3. 根据自身需求修改`config.ini`中的参数。\n4. 执行 `python feishu_downloader.py`。\n\n**上传妙记**\n\n3. 将要上传的视频路径填写到`config.ini`。\n4. 执行 `python feishu_uploader.py`。注意：代码中仅为单个文件的上传。请勿滥用。\n\n## 注意事项\n\n- 下载需要用到aria2，本仓库中给出的是win64版本的，如果你是其他操作系统请在 https://github.com/aria2/aria2/releases 中下载相应版本并替换。\n- `cookie`是以 *minutes_csrf_token=* 为开头的很长的一个字符串。\n- 因[飞书存储空间规则更新](https://www.feishu.cn/announcement/pricing-adjustment2024)后删除妙记不能及时更新额度，且妙记额度不再单独计算，故采用妙记数量（而不是按照已用额度）来判断是否要删除旧妙记。\n- [飞书分片上传文件API](https://open.feishu.cn/document/server-docs/docs/drive-v1/upload/multipart-upload-file-/introduction) 中声明该接口不支持太高的并发且调用频率上限为5QPS，且本人无批量转文字需求，故未对多个文件的同时转写进行尝试。本项目仅为实现上传与下载的自动化。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbingsanyu%2Ffeishu_minutes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbingsanyu%2Ffeishu_minutes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbingsanyu%2Ffeishu_minutes/lists"}