{"id":31836226,"url":"https://github.com/z-mio/baiduwp-bot","last_synced_at":"2025-10-12T01:28:12.890Z","repository":{"id":181391641,"uuid":"666691454","full_name":"z-mio/baiduwp-bot","owner":"z-mio","description":"一个基于baiduwp-php API的百度网盘解析bot","archived":false,"fork":false,"pushed_at":"2024-01-13T10:07:41.000Z","size":674,"stargazers_count":32,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-01-13T19:32:24.582Z","etag":null,"topics":["bot","python3","telegram-bot"],"latest_commit_sha":null,"homepage":"https://t.me/getletbot","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z-mio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-07-15T08:52:43.000Z","updated_at":"2024-01-13T13:27:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0401f4b-144f-4f58-9e0a-9bd7fb6aec6e","html_url":"https://github.com/z-mio/baiduwp-bot","commit_stats":null,"previous_names":["z-mio/baiduwp-bot"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/z-mio/baiduwp-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fbaiduwp-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fbaiduwp-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fbaiduwp-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fbaiduwp-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z-mio","download_url":"https://codeload.github.com/z-mio/baiduwp-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z-mio%2Fbaiduwp-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009771,"owners_count":26084646,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bot","python3","telegram-bot"],"created_at":"2025-10-12T01:28:11.906Z","updated_at":"2025-10-12T01:28:12.884Z","avatar_url":"https://github.com/z-mio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# baiduwp-bot\r\n一个基于[baiduwp-php](https://github.com/yuantuo666/baiduwp-php) API的百度网盘解析bot\r\n\r\n体验一下：[@getletbot](https://t.me/getletbot)\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003e\u003cb\u003e功能预览\u003c/b\u003e\u003c/summary\u003e\r\n\r\n![enter description here](https://github.com/z-mio/baiduwp-bot/blob/f56f9b9912227d523942e0c732111759a7c7b7a0/image/1.png)\r\n\r\n![enter description here](https://github.com/z-mio/baiduwp-bot/blob/f56f9b9912227d523942e0c732111759a7c7b7a0/image/2.png)\r\n\r\n![enter description here](https://github.com/z-mio/baiduwp-bot/blob/f56f9b9912227d523942e0c732111759a7c7b7a0/image/3.png)\r\n\r\n![enter description here](https://github.com/z-mio/baiduwp-bot/blob/f56f9b9912227d523942e0c732111759a7c7b7a0/image/4.png)\r\n\r\n### 获取单个文件链接\r\n\r\n![enter description here](https://github.com/z-mio/baiduwp-bot/blob/f56f9b9912227d523942e0c732111759a7c7b7a0/image/5.png)\r\n\r\n### 获取当前文件夹下所有文件链接\r\n\r\n![enter description here](https://github.com/z-mio/baiduwp-bot/blob/f56f9b9912227d523942e0c732111759a7c7b7a0/image/6.png)\r\n\r\n![enter description here](https://github.com/z-mio/baiduwp-bot/blob/f56f9b9912227d523942e0c732111759a7c7b7a0/image/7.png)\r\n\r\n![enter description here](https://github.com/z-mio/baiduwp-bot/blob/f56f9b9912227d523942e0c732111759a7c7b7a0/image/8.png)\r\n\r\n\u003c/details\u003e\r\n\r\n\r\n## 1.安装\r\n\r\n\r\n**1.安装 python3-pip**\r\n\r\n```\r\napt install python3-pip\r\n```\r\n\r\n\r\n**2.将项目克隆到本地**\r\n``` \r\ngit clone https://github.com/z-mio/baiduwp-bot.git \u0026\u0026 cd baiduwp-bot \u0026\u0026 pip3 install -r requirements.txt\r\n```\r\n\r\n**3.修改 bot.py 里的配置信息**\r\n\r\n``` python\r\n#########################################\r\n# bot\r\n\r\napi_id = '123456'  # 在 https://my.telegram.org/apps 获取\r\n\r\napi_hash = '6f51a2b93a159b8f8ca07dafed4a776c'  # 在 https://my.telegram.org/apps 获取\r\n\r\nbot_token = '6980461837:AAH2-gGWToP_7hcyhzKbbq04NZYW7YE4i6B'  # 在 https://t.me/BotFather 获取\r\n\r\nmembers = [1447511233, -100123456789]  # 允许使用解析的 用户、群组、频道（群组和频道id需要加上-100）可通过 https://t.me/getletbot 获取id\r\n\r\nbaidu_version: Literal['3', '4'] = '4'  # 你部署的baiduwp-php版本\r\n\r\nbaidu_url = 'https://'  # 你的百度解析地址\r\n\r\nbaidu_password = ''  # 解析密码(不是后台密码)\r\n#########################################\r\n# 代理支持“socks4”、“socks5”和“http”\r\nscheme = ''  # 'http'\r\nhostname = ''  # '127.0.0.1'\r\nport = ''  # '7890'\r\n#########################################\r\n```\r\n\r\n## 2.运行\r\n\r\n**前台启动bot**\r\n\r\n``` \r\npython3 bot.py\r\n```\r\n\r\n\r\n**后台启动bot**\r\n\r\n``` \r\nnohup python3 bot.py \u003e botlog.log 2\u003e\u00261 \u0026\r\n```\r\n\r\n## 3.使用\r\n\r\n发送`/menu`自动设置菜单\r\n\r\n指令：\r\n\r\n``` \r\n/bd - 百度网盘解析\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz-mio%2Fbaiduwp-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz-mio%2Fbaiduwp-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz-mio%2Fbaiduwp-bot/lists"}