Metadata-Version: 2.1
Name: DDownloader
Version: 0.1.7
Summary: A downloader for DRM-protected content.
Home-page: https://github.com/ThatNotEasy/DDownloader
Author: ThatNotEasy
Author-email: apidotmy@proton.me
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# DDownloader
- DDownloader is a Python library to download HLS and DASH manifests and decrypt media files.

# Features
- Download HLS streams using N_m3u8DL-RE.
- Download DASH manifests and segments.
- Decrypt media files using mp4decrypt.

# Installation
Use the package manager pip to install DDownloader.
```pip install DDownloader```

# Usage

- Download DASH content using the library:

```python
from DDownloader.dash_downloader import DASH

dash_downloader = DASH()
dash_downloader.manifest_url = "https://example.com/path/to/manifest.mpd"  # Set your DASH manifest URL
dash_downloader.output_name = "output.mp4"  # Set desired output name
dash_downloader.decryption_key = "12345:678910"  # Set decryption key if needed
dash_downloader.dash_downloader()
```

- Download HLS content using the library:
```python
from DDownloader.hls_downloader import HLS

hls_downloader = HLS()
hls_downloader.manifest_url = "https://example.com/path/to/manifest.m3u8"  # Set your HLS manifest URL
hls_downloader.output_name = "output.mp4"  # Set desired output name
hls_downloader.decryption_key = "12345:678910"  # Set decryption key if needed
hls_downloader.hls_downloader()  # Call the downloader method
```

# THIS PROJECT STILL IN DEVELOPMENT
