asmr.one 音声下载器
Project description
ASMR-Spider
本项目改编自 DiheChen/go-asmr-spider
一个简单的 ASMR 爬虫
TODO
- 多线程下载
- 下载自动分类
使用
音频体积对比模式
支持断点续传
音频时长分析模式
不使用 ffmpeg
和 ffprobe
时仅支持 mp3
wav
flac
格式的音频分析
已知问题
- 未安装 ffmpeg 时可能会报缺少 libsndfile 等运行库, 需要另外安装相关依赖.
Install ffmpeg or libsndfile
Debian/Ubuntu安装
apt update && apt install ffmpeg
或者:
apt update && apt install libsndfile1
ArchLinux安装
pacman -Syu ffmpeg
或者:
pacman -Syu libsndfile
Mac安装
brew install ffmpeg
Windows安装
请参考 ffmpeg Documentation 自行解决
Install
pip install -U asmr-spider
Run
#直接下载, 默认检查重复
asmr RJ373001 RJ385913
#或者
asmr RJ373001 RJ385913 -a checksize
# `asmr` 后面接RJ号, 可输入多个, 使用空格隔开
#通过时长检测重复内容,目前不支持断点续传
asmr RJ373001 RJ385913 -a checktime
#禁用检查, 跳过已存在的文件
asmr RJ373001 RJ385913 -a nocheck
#强制重新下载所有文件
asmr RJ373001 RJ385913 -a redown
配置文件 asmr_spider.yml
保存在命令执行时所在的路径
Import
from asmr_spider import dload
async def demo():
args = ['RJ373001', 'RJ385913']
action = 'checksize' # 'checksize', 'checktime','redown', 'nocheck'
await dload(args, action)
致谢
- 感谢 地河酱, 地河酱yyds🤗
- 感谢 Kotobasutop 对 ASMR-Spider 作出的贡献
- 感谢 asmr.one, 现在每天都有不同的女孩子陪我睡觉。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
asmr_spider-0.3.5.tar.gz
(18.9 kB
view details)
Built Distribution
File details
Details for the file asmr_spider-0.3.5.tar.gz
.
File metadata
- Download URL: asmr_spider-0.3.5.tar.gz
- Upload date:
- Size: 18.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5e9c9e7e314bdf2102699ace06e4e81c4c3003af74f26a8d13afa2bd50c7ddc0
|
|
MD5 |
72487fcb6bbda19a235318ab78210de8
|
|
BLAKE2b-256 |
336fda4c82bc196508b193d2a4a21e5c6a2339286b8859a419073f457f79412e
|
File details
Details for the file asmr_spider-0.3.5-py3-none-any.whl
.
File metadata
- Download URL: asmr_spider-0.3.5-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0961e90ea06ecbf7989de36ca1fc6c3bf7f30a653024e34425981d1c49424e76
|
|
MD5 |
05281a49cd859f7b6d9a99bbf91a32fd
|
|
BLAKE2b-256 |
0032113200c9e5e873b98736e959054cc45fdbde1827458b4df3c740be7336db
|