Metadata-Version: 2.4
Name: mp4mdl
Version: 0.1.7
Summary: Un outil pour télécharger et gérer des vidéos MP4
Home-page: https://github.com/maddoxtes1/MP4MDL
Author: Maddox
Author-email: maddoxtes@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: urllib3
Requires-Dist: beautifulsoup4
Requires-Dist: ffmpeg-python
Requires-Dist: jsbeautifier
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 🎬 MP4MDL - Video Downloader Library

**MP4MDL** est une bibliothèque Python optimisée pour télécharger des vidéos MP4 depuis divers sites de streaming. Cette bibliothèque fournit une interface simple et efficace pour le téléchargement de vidéos avec suivi de progression et gestion d'erreurs robuste.

## 🌐 Sites Supportés

MP4MDL supporte **12 sites** de streaming populaires:

| # | Site | URL Format | Exemple |
|---|------|-----------|---------|
| 1 | **Sibnet** | `https://video.sibnet.ru/shell.php?videoid=NUM` | `https://video.sibnet.ru/shell.php?videoid=12345` |
| 2 | **Vidmoly** | `https://nomdu.site/embed/NUM` | `https://vidmoly.to/embed/12345` |
| 3 | **Vidmoly.biz** | `https://vidmoly.biz/embed/NUM` | `https://vidmoly.biz/embed/12345` |
| 4 | **Vidmoly.org** | `https://vidmoly.org/embed/NUM` | `https://vidmoly.org/embed/12345` |
| 5 | **Vidmoly.me** | `https://vidmoly.me/embed/NUM` | `https://vidmoly.me/embed/12345` |
| 6 | **Ansembed.net** | `https://ansembed.net/embed/NUM` | `https://ansembed.net/embed/12345` |
| 7 | **Oneupload** | `https://oneupload.to/embed/NUM` | `https://oneupload.to/embed/67890` |
| 8 | **Sendvid** | `https://sendvid.com/watch/NUM` | `https://sendvid.com/watch/12345` |
| 9 | **Uqload.vc** | `https://uqload.com/download-file-NUM.html` | `https://uqload.com/download-file-12345.html` |
| 10 | **Uqload.is** | `https://uqload.com/download-file-NUM.html` | `https://uqload.com/download-file-12345.html` |
| 11 | **Callistanise** | `https://nomdu.site/watch/NUM` | `https://callistanise.com/watch/12345` |
| 12 | **Minochinos** | `https://nomdu.site/watch/NUM` | `https://minochinos.com/watch/12345` |

👉 **Tableau complet:** [🌐 Sites Supportés]([wiki/sitesuporter.md](https://github.com/maddoxtes1/MP4MDL/wiki/2.-%F0%9F%8C%90-Sites-Support%C3%A9s))

## 🚀 Installation Rapide

### 🎬 Prérequis

| Logiciel | Version | Note |
|----------|---------|------|
| Python | 3.6+ | Version minimale requise |
| FFMPEG | Tout | **Obligatoire** pour le traitement vidéo |

### Installation de MP4MDL:

```bash
pip install mp4mdl
```

---

### Installation de FFMPEG

**Windows avec Chocolatey:**
```powershell
choco install ffmpeg -y
```

**Windows sans Chocolatey:**
1. Télécharger depuis [ffmpeg.org](https://ffmpeg.org/download.html)
2. Extraire et ajouter au PATH système
3. Vérifier : `ffmpeg -version`

**Linux:**
```bash
sudo apt-get update
sudo apt-get install ffmpeg
```

**macOS:**
```bash
brew install ffmpeg
```

---

## 📖 Utilisation Rapide

### Exemple Simple

```python
from mp4mdl import mp4mdl

# URL de la vidéo à télécharger
url = "https://video.sibnet.ru/shell.php?videoid=12345"

# Créer un instance du downloader
downloader = mp4mdl(
    download_path=r"F:\temp",           # Dossier temporaire
    final_path=r"F:\final\test.mp4",    # Dossier final
    url=url,                            # URL de la vidéo
    title="test_video"                  # Nom pour le logger
)

# Lancer le téléchargement
status = downloader.download()
print(f"Statut du téléchargement: {status}")
```

### Sortie Possible

- `True` - Téléchargement réussi ✅
- `False` - Échec du téléchargement ❌

---

## 📄 Licence

Cette bibliothèque est sous licence **MIT**. Vous pouvez l'utiliser librement:

- ✅ Usage personnel
- ✅ Modification du code
- ✅ Usage commercial
- ✅ Distribution
- ✅ Usage privé

Aucune attribution requise, mais elle est appréciée !

---

## 🤝 Support

Pour de l'aide supplémentaire:

- **Documentation complète**: [wiki](https://github.com/maddoxtes1/MP4MDL/wiki/1.-MP4MDL-Wiki-%E2%80%90-Accueil)
- **Signaler un bug**: GitHub Issues
