Metadata-Version: 2.4
Name: wibu-downloader
Version: 2.1.1
Summary: yt-dlp extractor for animeinweb.com
Project-URL: Homepage, https://github.com/Asep5K/wibu-downloader
Project-URL: Repository, https://github.com/Asep5K/wibu-downloader
Project-URL: Tracker, https://github.com/Asep5K/wibu-downloader/issues
Author: Asep5K
Author-email: 210173402+Asep5K@users.noreply.github.com
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Keywords: animein,custom extractor,yt-dlp
Requires-Python: >=3.11
Requires-Dist: yt-dlp>=2025.12.08
Description-Content-Type: text/markdown

<div align="center">

[![Python 3.11+](https://img.shields.io/badge/Python-3.13.11+-blue?logo=python?&style=for-the-badge)](https://python.org "Python")
[![PyPI](https://img.shields.io/badge/-PyPI-blue.svg?logo=pypi&labelColor=555555&style=for-the-badge)](https://pypi.org/project/wibu-downloader/ "PyPI")
[![yt-dlp](https://img.shields.io/badge/yt--dlp-2025.12.08+-red?&style=for-the-badge)](https://github.com/yt-dlp/yt-dlp "yt-dlp")
[![License](https://img.shields.io/badge/License-GPLv3-green?&style=for-the-badge)](LICENSE)
[![Issues](https://img.shields.io/github/issues/Asep5K/asepplugins?color=orange&style=for-the-badge)](https://github.com/Asep5K/asepplugins/issues)
[![Piracy Level](https://img.shields.io/badge/Piracy-100%25-black?label=piracy&style=for-the-badge)](https://en.wikipedia.org/wiki/Piracy "Bajakan njir")
[![DMCA Shield](https://img.shields.io/badge/DMCA-Proof-red?label=dmca&style=for-the-badge)](https://www.dmca.com/)

</div>

# yt-dlp animein Extractor

## INSTALASI
**Via PyPI**

    pip install -U wibu-downloader

**Atau**

    python -m pip install -U https://github.com/Asep5K/wibu-downloader/archive/main.zip


## CARA PENGGUNAAN

### ⚠️ sangat di sarankan menggunakan --output '%(playlist_title)s/%(title)s.%(ext)s'

    # Download anime bajakan
    yt-dlp 'animein:Kaifuku Jutsushi no Yarinaoshi' --output '%(playlist_title)s/%(title)s.%(ext)s'

    # Pilih kualitas bajakan
    yt-dlp -f '[height<=1080]' 'animein:Kaifuku Jutsushi no Yarinaoshi' --output '%(playlist_title)s/%(title)s.%(ext)s'

    # Menggunakan link
    yt-dlp 'https://animeinweb.com/anime/1280' --output '%(playlist_title)s/%(title)s.%(ext)s'

    # Pake flag ini biar skip episode yang error:
    yt-dlp --ignore-no-formats-error 'https://animeinweb.com/anime/1280' --output '%(playlist_title)s/%(title)s.%(ext)s'


## TONTON LANGSUNG MENGGUNAKAN MPV!!
### Download [mpv disini](https://github.com/mpv-player/mpv)
**Contoh penggunaan:**

    mpv 'https://animeinweb.com/anime/4347'

    # Ambil hanya resolusi kurang dari atau sama dengan 720p
    mpv --ytdl-format='[height<=720]' 'https://animeinweb.com/anime/4347'


### Jika mengalami error
**Contoh error:**

    $ mpv 'https://animeinweb.com/anime/6222'
        Playing: https://storages.animein.net/Kizoku%20Tensei%3A%20Megumareta%20Umare%20kara%20Saikyou%20no%20Chikara%20wo%20Eru%2F1-1080p-1767541103168.mp4
        [ffmpeg] https: HTTP error 403 Forbidden
        Failed to open https://storages.animein.net/Kizoku%20Tensei%3A%20Megumareta%20Umare%20kara%20Saikyou%20no%20Chikara%20wo%20Eru%2F1-1080p-1767541103168.mp4.
        Playing: https://storages.animein.net/Kizoku%20Tensei%3A%20Megumareta%20Umare%20kara%20Saikyou%20no%20Chikara%20wo%20Eru%2F2-1080p-1768145495797.mp4
        [ffmpeg] https: HTTP error 403 Forbidden
        Failed to open https://storages.animein.net/Kizoku%20Tensei%3A%20Megumareta%20Umare%20kara%20Saikyou%20no%20Chikara%20wo%20Eru%2F2-1080p-1768145495797.mp4.
        Exiting... (Quit)

### Gunakan user-agent

    $ mpv --user-agent='Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36' 'https://animeinweb.com/anime/6222'
        Playing: https://storages.animein.net/Kizoku%20Tensei%3A%20Megumareta%20Umare%20kara%20Saikyou%20no%20Chikara%20wo%20Eru%2F1-1080p-1767541103168.mp4
         ● Video  --vid=1  (h264 1920x1080 23.976 fps) [default]
         ● Audio  --aid=1  (aac 2ch 48000 Hz 192 kbps) [default]
        [modernz] URL detected.
        [modernz] Fetching file size...
        Using hardware decoding (vaapi).
        [autoconvert] Converting vaapi[nv12] -> vaapi[rgb0]
        AO: [pipewire] 48000Hz stereo 2ch floatp
        VO: [dmabuf-wayland] 1920x1080 vaapi[rgb0]
        [modernz] Download size: 258.588 MiB
        AV: 00:00:02 / 00:23:42 (0%) A-V:  0.007 DS: 2.5938/1 Cache: 18s/2MB
        Exiting... (Quit)


### Error `"No video formats found!"`

    [ytdl_hook] ERROR: [animeinweb] 7138: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
    [ytdl_hook] youtube-dl failed: unexpected error occurred
    [cplayer] finished playback, unrecognized file format (reason 4)
    [cplayer] Failed to recognize file format.

### Gunakan flag  `--ytdl-raw-options-append='ignore-no-formats-error='`

    mpv --ytdl-raw-options-append='ignore-no-formats-error=' 'https://animeinweb.com/anime/426'



## ❓ FAQ (Frequently Asked "Gimana nih?!")
Q: Kok masih error "No video formats found"?   
A: [Report bug langsung di sini](https://github.com/Asep5K/wibu-downloader/issues/new) (Kasih URL yang error + log yt-dlp/mpv)

Q: Playlist urutannya aneh?  
A: Udah gw reverse biar episode 1 dulu, kalo masih aneh ya namanya juga API-nya random

Q: Bisa download batch semua episode?  
A: Bisa! Tapi siapin storage & kuota yang banyak ya

## Educational Purpose Only
Code ini dibuat untuk pembelajaran:
- HTTP requests handling
- JSON parsing
- Video format extraction
- Web technology study

## Profit! (for you, not for me 😂)
