Skip to main content

A tool for downloading videos from the "MissAV" website.

Project description

There are three ways to run it, you just need to choose one.

This readme is still too ugly. I have to find time to rewrite it.๐Ÿคฌ

1๏ธโƒฃRun with miyuki

pip install miyuki
miyuki --help

2๏ธโƒฃRun with miyuki-cli.py

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

3๏ธโƒฃRun with downloader.py

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

  1. According to the number of CPU logical cores, multi-threaded fragment download.
  2. By default, it supports downloading videos with the highest quality.
  3. You can choose pure python implementation or ffmpeg implementation.
  4. 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.
  5. Support network proxy, if you are from an ancient oriental country, you may need a proxy.
  6. 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.

public_playlist_url.png

[!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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miyuki-0.1.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

miyuki-0.1.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file miyuki-0.1.1.tar.gz.

File metadata

  • Download URL: miyuki-0.1.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for miyuki-0.1.1.tar.gz
Algorithm Hash digest
SHA256 363c6b44755cbf2a48e7403feed98236410d3b7db8b679ff6973f2e5905eb87f
MD5 855bcb78953ff51540cdd4a1d4dd383f
BLAKE2b-256 c72e8968efdfa3b9ae3c8803dd16b4d750c582ff89164ec4681711c6be615b13

See more details on using hashes here.

File details

Details for the file miyuki-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: miyuki-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for miyuki-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58feaf8550daad07a65800a5fee89d4eeb8391effda3b797405e22e0221f2f52
MD5 6634769408c3d41c742cf5269016ee0e
BLAKE2b-256 cbbf54fbff2af7e53c1ea1ecc8f242fe7b27147f867f080c3eb279d2c746f1af

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page