MCPcopy
hub / github.com/ltaoo/wx_channels_download

github.com/ltaoo/wx_channels_download @main sqlite

repository ↗ · DeepWiki ↗
4,924 symbols 13,097 edges 174 files 312 documented · 6%
README

微信视频号下载器

体积小、使用简单、支持 macOS 和 Windows 系统。

分享链接在线解析

获取视频号分享链接,如 https://weixin.qq.com/sph/Axv548mzBF 后,可打开下面页面直接获取视频链接

https://sph.litao.workers.dev/

在线解析分享链接

使用说明

下载构建包以管理员身份运行,首次打开会自动安装证书,然后启动服务。

当终端提示「代理服务启动成功」就说明可以使用了。

正常使用

已安装证书会跳过安装证书步骤。

打开微信 PC 端,点击需要下载的视频,在视频下方的操作按钮一栏,会多出一个下载按钮,如下所示

视频下载按钮

如果没有,在页面侧边或底部会有悬浮按钮,拥有相同的功能

首页推荐 视频详情页
首页推荐 视频详情页

等待视频开始播放,然后暂停视频,点击下载按扭即可下载视频。下载成功后,会在上方显示已下载的文件,下载文件名最后面会标志该视频质量。

视频下载成功

下载按钮默认会下载视频号默认质量的视频(即当前播放的视频,一般都是体积最小的),可以在下拉菜单下载其他质量的视频

开发说明

先以 管理员身份 启动终端,然后 go run main.go 即可。

打包

参考 build/build.sh 脚本。

感谢

前端解密部分参考自

https://github.com/kanadeblisst00/WechatVideoSniffer2.0

后端解密代码来自

https://github.com/Hanson/WechatSphDecrypt

⚠️ 免责声明

本项目为开源项目
仅用于技术交流学习和研究的目的
请遵守法律法规,请勿用作任何非法用途
否则造成一切后果自负
若您下载并使用即视为您知晓并同意

Extension points exported contracts — how you extend this code

FetcherManager (Interface)
FetcherManager manage and control the fetcher [4 implementers]
pkg/gopeed/internal/fetcher/fetcher.go
Context (Interface)
(no doc) [5 implementers]
internal/interceptor/proxy/interface.go
FinderAutoDownloadCallback (FuncType)
FinderAutoDownloadCallback 视频号自动下载回调
internal/api/filehelper.go
Server (Interface)
(no doc) [1 implementers]
internal/manager/types.go
Fetcher (Interface)
Fetcher defines the interface for a download protocol. Each download task will have a corresponding Fetcher instance for [2 …
pkg/gopeed/internal/fetcher/fetcher.go
InnerProxy (Interface)
(no doc) [2 implementers]
internal/interceptor/proxy/interface.go
SphAutoDownloadCallback (FuncType)
SphAutoDownloadCallback SPH 自动下载回调
internal/api/filehelper.go
Storage (Interface)
(no doc) [2 implementers]
pkg/gopeed/pkg/download/storage.go

Core symbols most depended-on inside this repo

Set
called by 244
pkg/cache/cache.go
Error
called by 185
internal/officialaccount/client.go
Query
called by 76
pkg/cloudflare/d1/api.go
Get
called by 69
pkg/gopeed/pkg/download/storage.go
Close
called by 60
pkg/gopeed/pkg/download/storage.go
get
called by 55
internal/interceptor/inject/lib/getFeedInfo.js
Register
called by 54
internal/config/schema.go
GetString
called by 52
internal/config/config.go

Shape

Function 2,719
Method 1,699
Struct 309
Class 176
TypeAlias 10
Interface 8
FuncType 3

Languages

TypeScript74%
Go26%

Modules by API surface

internal/interceptor/inject/lib/timeless/0.26.3/timeless.shadcn.umd.min.js1,532 symbols
internal/interceptor/inject/lib/pagespy.min.js862 symbols
internal/interceptor/inject/lib/timeless/0.26.3/timeless.umd.min.js244 symbols
internal/interceptor/inject/lib/recorder.min.js199 symbols
internal/interceptor/inject/src/utils.js126 symbols
internal/interceptor/inject/lib/timeless/0.26.3/timeless.web.umd.min.js109 symbols
internal/interceptor/inject/src/download/core.js104 symbols
internal/interceptor/inject/lib/timeless/0.26.3/timeless.dom.umd.min.js82 symbols
internal/interceptor/inject/lib/axios.min.js73 symbols
internal/officialaccount/client.go65 symbols
internal/interceptor/inject/lib/getFeedInfo.js65 symbols
internal/api/types/types.go61 symbols

Dependencies from manifests, versioned

atomicgo.dev/cursorv0.2.0 · 1×
github.com/GopeedLab/gopeedv0.0.0-0001010100000 · 1×
github.com/JohannesKaufmann/html-to-markdownv1.4.1 · 1×
github.com/Trisia/gosysproxyv1.1.0 · 1×
github.com/adrg/xdgv0.4.0 · 1×
github.com/andybalholm/brotliv1.1.1 · 1×
github.com/andybalholm/cascadiav1.3.2 · 1×
github.com/blang/semverv3.5.1+incompatible · 1×
github.com/bytedance/sonicv1.14.0 · 1×
github.com/bytedance/sonic/loaderv0.3.0 · 1×

For agents

$ claude mcp add wx_channels_download \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact