下载Instagram帖子脚本
instasave的Python项目详细描述
从Instagram帖子下载媒体的简单脚本。在
安装
此脚本在Python3.6+上运行,需要以下库:^{
pip install instasave
使用
如果此软件包安装在激活的环境中,则用法为:
^{pr2}$具体选项如下:
usage: __main__.py [-h] -u URL [-l LOG_LEVEL] Downloading media from Instagram posts. optional arguments: -h, --help show this help message and exit -u URL, --url URL Link to the Instagram post you want to download the content of. -l LOG_LEVEL, --logs LOG_LEVEL The base console logging level. Can be 'debug', 'info', 'warning' and 'error'. Defaults to 'info'.
下载的文件将以文件类型(图像/视频)和下载时间戳组成的名称保存在当前目录中。在
警告:滥用此脚本可能会使你的IP被Instagram禁止。在
托多
- [x] 实施适当的日志记录。在
- [x] 做成一个包裹。在
- [x] 使其可作为python模块调用(
python -m instasave ...
)。在
许可证
版权所有©2020 Felix Soubelet。【麻省理工学院执照】【执照】
- 项目
标签: