A tool for downloading videos from the "MissAV" website.
Project description
1️⃣Run with Miyuki CLI
Installation
Use pip (or pip3) to install third-party libraries required by downloader.
pip install curl_cffi
Usage
[root@miyuki MissAV-Downloader]# python3 miyuki-cli.py --help
usage: miyuki-cli.py [-h] [-urls [...]] [-auth [...]] [-plist] [-search] [-proxy] [-ffmpeg]
A tool for downloading videos from the "MissAV" website.
Use the -urls parameter to specify the video URLs to download.
Use the -auth parameter to specify the username and password to download the videos collected by the account.
Use the -plist parameter to specify the public playlist URL to download all videos in the list.
Use the -search parameter to search for movie by serial number and download it.
optional arguments:
-h, --help show this help message and exit
-urls [ ...] Movie URLs, separate multiple URLs with spaces
-auth [ ...] Username and password, separate with space
-plist Public playlist url
-search Movie serial number
-proxy HTTP(S) proxy
-ffmpeg Enable ffmpeg processing
Examples:
python miyuki-cli.py -plist https://missav.com/dm132/actresses/JULIA -ffmpeg -proxy localhost:7890
python miyuki-cli.py -auth miyuki@gmail.com miyukiQAQ -ffmpeg -proxy localhost:7890
python miyuki-cli.py -urls https://missav.com/sw-950 -proxy localhost:7890
python miyuki-cli.py -urls https://missav.com/sw-950 -ffmpeg
python miyuki-cli.py -urls https://missav.com/sw-950 https://missav.com/dandy-917
python miyuki-cli.py -urls https://missav.com/sw-950
python miyuki-cli.py -search sw-950
Example
[root@miyuki MissAV-Downloader]# python3 miyuki-cli.py -urls https://missav.com/sw-950 -proxy 192.168.0.102:7890
██████ ██████ ███ █████ ███
░░██████ ██████ ░░░ ░░███ ░░░
░███░█████░███ ████ █████ ████ █████ ████ ░███ █████ ████
░███░░███ ░███ ░░███ ░░███ ░███ ░░███ ░███ ░███░░███ ░░███
░███ ░░░ ░███ ░███ ░███ ░███ ░███ ░███ ░██████░ ░███
░███ ░███ ░███ ░███ ░███ ░███ ░███ ░███░░███ ░███
█████ █████ █████ ░░███████ ░░████████ ████ █████ █████
░░░░░ ░░░░░ ░░░░░ ░░░░░███ ░░░░░░░░ ░░░░ ░░░░░ ░░░░░
███ ░███
░░██████
░░░░░░
Miyuki - 2024-08-13 21:50:03 - INFO - Network proxy enabled.
Miyuki - 2024-08-13 21:50:03 - INFO - Process url: https://missav.com/sw-950
Miyuki - 2024-08-13 21:50:04 - INFO - Match uuid success: f17fa4f3-4e70-428e-b7ad-441455a56027
Progress: [##########----------------------------------------] 588/3074
2️⃣Run with source code
MissAV-Downloader is a python crawler used to download videos from the MissAV website.
function type 1:
️➡️ You customize a list of movie URLs, and the downloader automatically downloads all the movies.
function type 2:
️️➡️ Automatically log in to your MissAV account, get all the videos you marked with a ❤️, and then automatically download them
function type 3:
️➡️ Download all videos in a public playlist (Maybe even any MissAV video collection page)
Features
- According to the number of CPU logical cores, multi-threaded fragment download.
- By default, it supports downloading videos with the highest quality.
- You can choose pure python implementation or ffmpeg implementation.
- After the movie is downloaded, you can choose to send it to a server via SCP, which may be your stash server or the server of other private cinema applications, so that you can build your own movie library.
- Support network proxy, if you are from an ancient oriental country, you may need a proxy.
- It's very simple, you only need to know a little python to play with it.
Installation
Use pip (or pip3) to install third-party libraries required by downloader.
pip install curl_cffi
Usage
Modify the downloader.py source code and run it. This part of the code is at the bottom.
Path: MissAV-Downloader/resources/source_code/downloader.py
For example, you can change the type value to 2, and then modify missav_user_info
and run it. This will log in to your account and automatically download the videos in your video collection. Or simply change movie_urls
to download the video you want.
type = 1
if type == 1:
movie_urls = [
'https://missav.com/dandy-917',
'https://missav.com/sw-950'
]
if type == 2:
missav_user_info = {
'email': 'xxxx@xxxx.com',
'password': 'xxxx'
}
cookie = login_get_cookie(missav_user_info)
movie_urls = get_movie_collections(cookie)
print("your movie urls from your collection (total: " + str(len(movie_urls)) + " movies): ")
for url in movie_urls:
print(url)
if type == 3:
public_list_url = 'https://missav.com/playlists/ewzoukev'
movie_urls = get_public_playlist(public_list_url)
print("your movie urls from public playlist (total: " + str(len(movie_urls)) + " movies): ")
for url in movie_urls:
print(url)
print()
How to download videos from public lists?
Please see the picture below ⬇️
Copy this url and paste it into variable public_list_url
, in type 3.
[!TIP] Maybe even any MissAV video collection page, it could be an actor’s homepage, a label’s homepage, or a search result page, etc.
The following URL is an example: https://missav.com/dm132/actresses/JULIA
If you want to use ffmpeg to synthesize the video.
You need to add a parameter when calling the main function.
This parameter is ffmpeg_action=True
like this:
for url in movie_urls:
print("process url: " + url)
main(url, scp_action=False, ffmpeg_action=True)
print("process url complete: " + url)
[!WARNING] But please note that this will only work if you have the ffmpeg program in your operating system and have configured the ffmpeg environment variables!
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
Built Distribution
File details
Details for the file miyuki-0.1.0.tar.gz
.
File metadata
- Download URL: miyuki-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7995ea3f20ac86dab99cf16b2858e894271f3eebc2ad60f6e227c6b8c8c1c7eb |
|
MD5 | 0ba9847b64423ab70722ca24cf918ddb |
|
BLAKE2b-256 | 6aeab1507bcaf6ddf2cb4f3d2805243fc723f90ca53cfee2d0445581c00bf9f1 |
File details
Details for the file miyuki-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: miyuki-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bc47513421267b8899656221552b47da7afc072ce8f815de07576b6312e62d7 |
|
MD5 | 7af303d47410af96f4254b4a4a89da68 |
|
BLAKE2b-256 | 4ba9c7044b0a99045413e6051dfa68ae283bc14c465866d507f691a48b1d7108 |