DDownloader 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: DDownloader
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.3
|
4
4
|
Summary: A library to download HLS and DASH manifests and decrypt media files.
|
5
5
|
Author: Pari Malam
|
6
6
|
Author-email: shafiqsamsuri@serasi.tech
|
@@ -22,30 +22,30 @@ Requires-Dist: requests
|
|
22
22
|
|
23
23
|
## Installation
|
24
24
|
|
25
|
-
Use the package manager [pip](https://pypi.org/project/DDownloader/0.1.
|
25
|
+
Use the package manager [pip](https://pypi.org/project/DDownloader/0.1.3/) to install DDownloader.
|
26
26
|
|
27
27
|
```bash
|
28
|
-
pip install DDownloader==0.1.
|
28
|
+
pip install DDownloader==0.1.3
|
29
29
|
```
|
30
30
|
|
31
31
|
## Usage
|
32
32
|
- Download HLS content using the library:
|
33
33
|
```python
|
34
|
-
from
|
34
|
+
from DDownloader import HLSDownloader
|
35
35
|
|
36
36
|
hls_downloader = HLSDownloader("https://example.com/playlist.m3u8")
|
37
37
|
hls_downloader.download_with_n_m3u8dl()
|
38
38
|
```
|
39
39
|
- Download Dash content using the library:
|
40
40
|
```python
|
41
|
-
from
|
41
|
+
from DDownloader import DASHDownloader
|
42
42
|
|
43
43
|
dash_downloader = DASHDownloader("https://example.com/manifest.mpd")
|
44
44
|
dash_downloader.download_with_n_m3u8dl()
|
45
45
|
```
|
46
46
|
- To decrypt media files after downloading:
|
47
47
|
```python
|
48
|
-
from
|
48
|
+
from DDownloader import DecryptDownloader
|
49
49
|
|
50
50
|
decrypt_downloader = DecryptDownloader()
|
51
51
|
decrypt_downloader.set_manifest_url("https://example.com/manifest.mpd")
|
@@ -55,7 +55,7 @@ decrypt_downloader.download_and_decrypt("encrypted_file.mp4", "decrypted_file.mp
|
|
55
55
|
```
|
56
56
|
- Here's a complete example demonstrating the use of all features:
|
57
57
|
```python
|
58
|
-
from
|
58
|
+
from DDownloader import HLSDownloader, DASHDownloader, DecryptDownloader
|
59
59
|
|
60
60
|
# HLS Download Example
|
61
61
|
hls_url = "https://example.com/playlist.m3u8"
|
@@ -2,7 +2,7 @@ DDownloader/__init__.py,sha256=o3loo1Z5ZdvQYZIjgdgZarMVMIz5pHRRZ_x0IXYA6nU,135
|
|
2
2
|
DDownloader/dash_downloader.py,sha256=MTaM_8lmLJ9nFQKY-Q_akr9qsT88nlCy1bODCBV1Io8,1730
|
3
3
|
DDownloader/decrypt_downloader.py,sha256=LdjZkVgyPile6TRueFMNcRdZkkNVwoTL5qNp5i0De_c,1233
|
4
4
|
DDownloader/hls_downloader.py,sha256=OiTw2xdva5eM1QaxKgcRCpvkMaBpdjQrwtYtwvLZm4g,1435
|
5
|
-
DDownloader-0.1.
|
6
|
-
DDownloader-0.1.
|
7
|
-
DDownloader-0.1.
|
8
|
-
DDownloader-0.1.
|
5
|
+
DDownloader-0.1.3.dist-info/METADATA,sha256=hqx_gFsxL7XE_fD9Of1mp5IAre54ioOZvYaMHO35IbU,2487
|
6
|
+
DDownloader-0.1.3.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
7
|
+
DDownloader-0.1.3.dist-info/top_level.txt,sha256=INZYgY1vEHV1MIWTPXKJL8j8-ZXjWb8u4XLuU3S8umY,12
|
8
|
+
DDownloader-0.1.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|