DDownloader 0.2.1__py3-none-any.whl → 0.2.2__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.
- DDownloader/modules/banners.py +1 -1
- DDownloader-0.2.2.dist-info/LICENSE +21 -0
- DDownloader-0.2.2.dist-info/METADATA +86 -0
- {DDownloader-0.2.1.dist-info → DDownloader-0.2.2.dist-info}/RECORD +7 -6
- DDownloader-0.2.1.dist-info/METADATA +0 -62
- {DDownloader-0.2.1.dist-info → DDownloader-0.2.2.dist-info}/WHEEL +0 -0
- {DDownloader-0.2.1.dist-info → DDownloader-0.2.2.dist-info}/entry_points.txt +0 -0
- {DDownloader-0.2.1.dist-info → DDownloader-0.2.2.dist-info}/top_level.txt +0 -0
DDownloader/modules/banners.py
CHANGED
@@ -20,7 +20,7 @@ def banners():
|
|
20
20
|
stdout.write(""+Fore.YELLOW +"╔════════════════════════════════════════════════════════════════════════════╝\n")
|
21
21
|
stdout.write(""+Fore.YELLOW +"║ \x1b[38;2;255;20;147m• "+Fore.GREEN+"GITHUB "+Fore.RED+" |"+Fore.LIGHTWHITE_EX+" GITHUB.COM/THATNOTEASY "+Fore.YELLOW+"║\n")
|
22
22
|
stdout.write(""+Fore.YELLOW +"╚════════════════════════════════════════════════════════════════════════════╝\n")
|
23
|
-
print(f"{Fore.YELLOW}[DDownloader] - {Fore.GREEN}Download DASH or HLS streams with decryption keys. - {Fore.RED}[V0.2.
|
23
|
+
print(f"{Fore.YELLOW}[DDownloader] - {Fore.GREEN}Download DASH or HLS streams with decryption keys. - {Fore.RED}[V0.2.2] \n{Fore.RESET}")
|
24
24
|
|
25
25
|
|
26
26
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) [2024] [DDownloader]
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following condition:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
20
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
21
|
+
IN THE SOFTWARE.
|
@@ -0,0 +1,86 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: DDownloader
|
3
|
+
Version: 0.2.2
|
4
|
+
Summary: A downloader for DRM-protected content.
|
5
|
+
Author-email: ThatNotEasy <apidotmy@proton.me>
|
6
|
+
License: MIT License
|
7
|
+
|
8
|
+
Copyright (c) [2024] [DDownloader]
|
9
|
+
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
12
|
+
in the Software without restriction, including without limitation the rights
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
15
|
+
furnished to do so, subject to the following condition:
|
16
|
+
|
17
|
+
The above copyright notice and this permission notice shall be included in
|
18
|
+
all copies or substantial portions of the Software.
|
19
|
+
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
25
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
26
|
+
IN THE SOFTWARE.
|
27
|
+
Project-URL: homepage, https://github.com/ThatNotEasy/DDownloader
|
28
|
+
Classifier: Programming Language :: Python :: 3
|
29
|
+
Classifier: Programming Language :: Python :: 3.10
|
30
|
+
Classifier: License :: OSI Approved :: MIT License
|
31
|
+
Classifier: Operating System :: OS Independent
|
32
|
+
Requires-Python: >=3.10
|
33
|
+
Description-Content-Type: text/markdown
|
34
|
+
License-File: LICENSE
|
35
|
+
Requires-Dist: requests>=2.26.0
|
36
|
+
Requires-Dist: coloredlogs>=15.0
|
37
|
+
Requires-Dist: loguru>=0.6.0
|
38
|
+
|
39
|
+
# DDownloader
|
40
|
+
- DDownloader is a Python library to download HLS and DASH manifests and decrypt media files.
|
41
|
+
|
42
|
+
# Features
|
43
|
+
- Download HLS streams using N_m3u8DL-RE.
|
44
|
+
- Download DASH manifests and segments.
|
45
|
+
- Decrypt media files using mp4decrypt.
|
46
|
+
|
47
|
+
# Installation
|
48
|
+
Use the package manager pip to install DDownloader.
|
49
|
+
```pip install DDownloader```
|
50
|
+
|
51
|
+
# Usage
|
52
|
+
|
53
|
+
- Download DASH content using the library:
|
54
|
+
|
55
|
+
```python
|
56
|
+
from DDownloader.dash_downloader import DASH
|
57
|
+
|
58
|
+
dash_downloader = DASH()
|
59
|
+
dash_downloader.manifest_url = "https://example.com/path/to/manifest.mpd" # Set your DASH manifest URL
|
60
|
+
dash_downloader.output_name = "output.mp4" # Set desired output name
|
61
|
+
dash_downloader.decryption_key = "12345:678910" # Set decryption key if needed
|
62
|
+
dash_downloader.dash_downloader()
|
63
|
+
```
|
64
|
+
|
65
|
+
- Download HLS content using the library:
|
66
|
+
```python
|
67
|
+
from DDownloader.hls_downloader import HLS
|
68
|
+
|
69
|
+
hls_downloader = HLS()
|
70
|
+
hls_downloader.manifest_url = "https://example.com/path/to/manifest.m3u8" # Set your HLS manifest URL
|
71
|
+
hls_downloader.output_name = "output.mp4" # Set desired output name
|
72
|
+
hls_downloader.decryption_key = "12345:678910" # Set decryption key if needed
|
73
|
+
hls_downloader.hls_downloader() # Call the downloader method
|
74
|
+
```
|
75
|
+
|
76
|
+
- CLI Usage:
|
77
|
+
```bash
|
78
|
+
DDownloader -h
|
79
|
+
```
|
80
|
+
|
81
|
+
- 
|
82
|
+
|
83
|
+
|
84
|
+
## THIS PROJECT STILL IN DEVELOPMENT
|
85
|
+
|
86
|
+
- Contributions are welcome! Feel free to open issues, create pull requests, or provide suggestions.
|
@@ -2,12 +2,13 @@ DDownloader/__init__.py,sha256=lVZwmZNId0Dai7XBQpxglmJtIxAtZplRHDsvobL2UNo,33
|
|
2
2
|
DDownloader/main.py,sha256=9R2OW58YMZ4ECXbxIHhaZCmTY7ZJ3TU7Lk_S3eVslOI,3650
|
3
3
|
DDownloader/modules/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
4
4
|
DDownloader/modules/args_parser.py,sha256=JsmemrQcxBSz8aWHWTpAO6I4BfGoK6GmJvJFuhRhZ7Y,919
|
5
|
-
DDownloader/modules/banners.py,sha256=
|
5
|
+
DDownloader/modules/banners.py,sha256=_Ln7HObqHUYKTc5BJWMk42wy97m2kUUYoYDE_y7N4Bg,3989
|
6
6
|
DDownloader/modules/dash_downloader.py,sha256=iJWs7qo4qG8vu-7ROFlrurVSo2uvjlOTAOeb_SaXbqo,3230
|
7
7
|
DDownloader/modules/hls_downloader.py,sha256=o7X6_w6gQNxot1NIHm7WYSfPwj7Q5Xbsvo1MCYzma1k,3284
|
8
8
|
DDownloader/modules/streamlink.py,sha256=F8vneSkxgGgqxRBhCHxvID-KwltpDG2QerH6QsAHuxE,506
|
9
|
-
DDownloader-0.2.
|
10
|
-
DDownloader-0.2.
|
11
|
-
DDownloader-0.2.
|
12
|
-
DDownloader-0.2.
|
13
|
-
DDownloader-0.2.
|
9
|
+
DDownloader-0.2.2.dist-info/LICENSE,sha256=cnjTim3BMjb9cVC_b3oS41FESKLuvuDsufVHa_ymZRw,1090
|
10
|
+
DDownloader-0.2.2.dist-info/METADATA,sha256=8WyPTaXcxIM2_DbwepApMEbdT9eurg3C8WAcPYwTvjQ,3402
|
11
|
+
DDownloader-0.2.2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
12
|
+
DDownloader-0.2.2.dist-info/entry_points.txt,sha256=tCZVr_SRONlWlMFsVKgcPj3lxe9gBtWD4GuWukMv75g,54
|
13
|
+
DDownloader-0.2.2.dist-info/top_level.txt,sha256=INZYgY1vEHV1MIWTPXKJL8j8-ZXjWb8u4XLuU3S8umY,12
|
14
|
+
DDownloader-0.2.2.dist-info/RECORD,,
|
@@ -1,62 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: DDownloader
|
3
|
-
Version: 0.2.1
|
4
|
-
Summary: A downloader for DRM-protected content.
|
5
|
-
Home-page: https://github.com/ThatNotEasy/DDownloader
|
6
|
-
Author: ThatNotEasy
|
7
|
-
Author-email: apidotmy@proton.me
|
8
|
-
License: MIT
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
10
|
-
Classifier: Programming Language :: Python :: 3.10
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
12
|
-
Classifier: Operating System :: OS Independent
|
13
|
-
Requires-Python: >=3.10
|
14
|
-
Description-Content-Type: text/markdown
|
15
|
-
Requires-Dist: requests>=2.26.0
|
16
|
-
Requires-Dist: coloredlogs>=15.0
|
17
|
-
Requires-Dist: loguru>=0.6.0
|
18
|
-
|
19
|
-
# DDownloader
|
20
|
-
- DDownloader is a Python library to download HLS and DASH manifests and decrypt media files.
|
21
|
-
|
22
|
-
# Features
|
23
|
-
- Download HLS streams using N_m3u8DL-RE.
|
24
|
-
- Download DASH manifests and segments.
|
25
|
-
- Decrypt media files using mp4decrypt.
|
26
|
-
|
27
|
-
# Installation
|
28
|
-
Use the package manager pip to install DDownloader.
|
29
|
-
```pip install DDownloader```
|
30
|
-
|
31
|
-
# Usage
|
32
|
-
|
33
|
-
- Download DASH content using the library:
|
34
|
-
|
35
|
-
```python
|
36
|
-
from DDownloader.dash_downloader import DASH
|
37
|
-
|
38
|
-
dash_downloader = DASH()
|
39
|
-
dash_downloader.manifest_url = "https://example.com/path/to/manifest.mpd" # Set your DASH manifest URL
|
40
|
-
dash_downloader.output_name = "output.mp4" # Set desired output name
|
41
|
-
dash_downloader.decryption_key = "12345:678910" # Set decryption key if needed
|
42
|
-
dash_downloader.dash_downloader()
|
43
|
-
```
|
44
|
-
|
45
|
-
- Download HLS content using the library:
|
46
|
-
```python
|
47
|
-
from DDownloader.hls_downloader import HLS
|
48
|
-
|
49
|
-
hls_downloader = HLS()
|
50
|
-
hls_downloader.manifest_url = "https://example.com/path/to/manifest.m3u8" # Set your HLS manifest URL
|
51
|
-
hls_downloader.output_name = "output.mp4" # Set desired output name
|
52
|
-
hls_downloader.decryption_key = "12345:678910" # Set decryption key if needed
|
53
|
-
hls_downloader.hls_downloader() # Call the downloader method
|
54
|
-
```
|
55
|
-
|
56
|
-
- CLI Usage:
|
57
|
-
```bash
|
58
|
-
DDownloader -h
|
59
|
-
```
|
60
|
-

|
61
|
-
|
62
|
-
# THIS PROJECT STILL IN DEVELOPMENT
|
File without changes
|
File without changes
|
File without changes
|