从微信公众号视频推送中下载视频。
通过运行以下命令安装所需的包:
pip install -r requirements.txt
usage: wechat_video.py [-h] [--output-dir OUTPUT_DIR] [--output OUTPUT] url
Download videos from video posts by WeChat Official Accounts.
positional arguments:
url URL of the post or album
options:
-h, --help show this help message and exit
--output-dir OUTPUT_DIR, -O OUTPUT_DIR
Output directory
--output OUTPUT, -o OUTPUT
Output file name (in the case of a single file)
你可以在以下这些网址上测试这个项目:
此脚本仅供学习目的。请尊重视频创作者的知识产权。