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, 现在每天都有不同的女孩子陪我睡觉。
Metadata
Release files for asmr-spider 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| asmr_spider-0.3.5.tar.gz | 18.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asmr_spider-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.2 kB
Release files / asmr_spider-0.3.5.tar.gz
| Download URL | asmr_spider-0.3.5.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e9c9e7e314bdf2102699ace06e4e81c4c3003af74f26a8d13afa2bd50c7ddc0
|
|
BLAKE2b-256 checksum How to use checksums |
336fda4c82bc196508b193d2a4a21e5c6a2339286b8859a419073f457f79412e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / asmr_spider-0.3.5-py3-none-any.whl
| Download URL | asmr_spider-0.3.5-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0961e90ea06ecbf7989de36ca1fc6c3bf7f30a653024e34425981d1c49424e76
|
|
BLAKE2b-256 checksum How to use checksums |
0032113200c9e5e873b98736e959054cc45fdbde1827458b4df3c740be7336db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for asmr-spider 0.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.