No project description provided
Project description
MissAV工具箱
安装
pip install missav_toolbox
使用
配置代理
如果使用的clash默认设置,请在系统环境变量中添加http_proxy和https_proxy两个变量,值为http://127.0.0.1:7890
或者添加以下内容
import os
os.environ['http_proxy'] = 'http://127.0.0.1:7890'
os.environ['https_proxy'] = 'http://127.0.0.1:7890'
基础用法
下载封面
from missav_toolbox.missav_cover import CoverDownloader
downloader = CoverDownloader()
downloader.download()
下载视频
from missav_toolbox.missav_video import VideoDownloader
def main(): # 由于视频下载器使用多进程,需要在main函数下执行
downloader = VideoDownloader(keywords='车牌号')
downloader.download()
if __name__ == '__main__':
main()
初始化参数
movie_type: enum
MovieType.professional # 有码
MovieType.fc2 # FC2
sort_by: enum
SortBy.ReleaseDate # 发行日期
SortBy.RecentUpdate # 最近更新
SortBy.TodayViews # 今日观看
SortBy.WeeklyViews # 本周观看
SortBy.MonthlyViews # 本月观看
示例
下载今日观看前十的有码电影封面
from missav_toolbox.missav_cover import CoverDownloader, MovieType, SortBy
downloader = CoverDownloader(movie_type=MovieType.professional, sort_by=SortBy.TodayViews)
downloader.download()
效果
⚠️⚠️⚠️NSFW警告!!!⚠️⚠️⚠️
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
missav_toolbox-1.1.0.tar.gz
(1.7 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file missav_toolbox-1.1.0.tar.gz.
File metadata
- Download URL: missav_toolbox-1.1.0.tar.gz
- Upload date:
- Size: 1.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46ef9b5de041a485a987baeca88e6f284d4c9f1aadce186e7ea2bbe0473a368e
|
|
| MD5 |
2ecc213dcae6bb242cc2a3035fa3400e
|
|
| BLAKE2b-256 |
5aafea9353dd723ed831592a3bc76d47c9a493e9acd0183fbe828bb957204afb
|
File details
Details for the file missav_toolbox-1.1.0-py3-none-any.whl.
File metadata
- Download URL: missav_toolbox-1.1.0-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bd1e8278d8efc69af9dc4d824b430d08e8cf165296964a6eb41c1c7ccd4a633
|
|
| MD5 |
3b18ee15e9e2524f172b65964b119abd
|
|
| BLAKE2b-256 |
bf3ab30c995150ed46f0aec974357c196990d2c49f60193990b278ee3f3eb0f3
|