DDownloader 0.1.8__tar.gz → 0.1.9__tar.gz
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-0.1.8 → ddownloader-0.1.9}/DDownloader/main.py +2 -1
- ddownloader-0.1.9/DDownloader/modules/banners.py +31 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader.egg-info/PKG-INFO +1 -1
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader.egg-info/SOURCES.txt +1 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/PKG-INFO +1 -1
- {ddownloader-0.1.8 → ddownloader-0.1.9}/setup.py +1 -1
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader/__init__.py +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader/modules/__init__.py +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader/modules/dash_downloader.py +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader/modules/hls_downloader.py +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader/modules/streamlink.py +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader.egg-info/dependency_links.txt +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader.egg-info/entry_points.txt +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader.egg-info/requires.txt +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/DDownloader.egg-info/top_level.txt +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/README.md +0 -0
- {ddownloader-0.1.8 → ddownloader-0.1.9}/setup.cfg +0 -0
@@ -1,6 +1,7 @@
|
|
1
1
|
import argparse
|
2
2
|
import logging
|
3
3
|
import coloredlogs
|
4
|
+
from DDownloader.modules.banners import banners
|
4
5
|
from DDownloader.modules.dash_downloader import DASH
|
5
6
|
from DDownloader.modules.hls_downloader import HLS
|
6
7
|
|
@@ -18,7 +19,7 @@ def parse_arguments():
|
|
18
19
|
return parser.parse_args()
|
19
20
|
|
20
21
|
def main():
|
21
|
-
|
22
|
+
banners()
|
22
23
|
args = parse_arguments()
|
23
24
|
|
24
25
|
# Detect DASH or HLS based on URL extension
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import os
|
2
|
+
from sys import stdout
|
3
|
+
from colorama import Fore, Style
|
4
|
+
|
5
|
+
def clear_screen():
|
6
|
+
os.system('cls' if os.name == 'nt' else 'clear')
|
7
|
+
|
8
|
+
def banners():
|
9
|
+
clear_screen()
|
10
|
+
stdout.write(" \n")
|
11
|
+
stdout.write(""+Fore.LIGHTRED_EX +"██████╗ ██████╗ ██████╗ ██╗ ██╗███╗ ██╗██╗ ██████╗ █████╗ ██████╗ █████╗ ███████╗██████╗ \n")
|
12
|
+
stdout.write(""+Fore.LIGHTRED_EX +"██╔══██╗██╔══██╗██╔═══██╗██║ ██║████╗ ██║██║ ██╔═══██╗██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗\n")
|
13
|
+
stdout.write(""+Fore.LIGHTRED_EX +"██║ ██║██║ ██║██║ ██║██║ █╗ ██║██╔██╗ ██║██║ ██║ ██║███████║██║ ██║███████║█████╗ ██████╔╝\n")
|
14
|
+
stdout.write(""+Fore.LIGHTRED_EX +"██║ ██║██║ ██║██║ ██║██║███╗██║██║╚██╗██║██║ ██║ ██║██╔══██║██║ ██║██╔══██║██╔══╝ ██╔══██╗\n")
|
15
|
+
stdout.write(""+Fore.LIGHTRED_EX +"██████╔╝██████╔╝╚██████╔╝╚███╔███╔╝██║ ╚████║███████╗╚██████╔╝██║ ██║██████╔╝██║ ██║███████╗██║ ██║\n")
|
16
|
+
stdout.write(""+Fore.LIGHTRED_EX +"╚═════╝ ╚═════╝ ╚═════╝ ╚══╝╚══╝ ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝\n")
|
17
|
+
stdout.write(""+Fore.YELLOW +"═════════════╦═════════════════════════════════╦══════════════════════════════\n")
|
18
|
+
stdout.write(""+Fore.YELLOW +"╔════════════╩═════════════════════════════════╩═════════════════════════════╗\n")
|
19
|
+
stdout.write(""+Fore.YELLOW +"║ \x1b[38;2;255;20;147m• "+Fore.GREEN+"AUTHOR "+Fore.RED+" |"+Fore.LIGHTWHITE_EX+" PARI MALAM "+Fore.YELLOW+"║\n")
|
20
|
+
stdout.write(""+Fore.YELLOW +"╔════════════════════════════════════════════════════════════════════════════╝\n")
|
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
|
+
stdout.write(""+Fore.YELLOW +"╚════════════════════════════════════════════════════════════════════════════╝\n")
|
23
|
+
print(f"{Fore.YELLOW}[DDownloader] - {Fore.GREEN}Download DASH or HLS streams with decryption keys. - {Fore.RED}[V0.1.9] \n{Fore.RESET}")
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
|
@@ -9,6 +9,7 @@ DDownloader.egg-info/entry_points.txt
|
|
9
9
|
DDownloader.egg-info/requires.txt
|
10
10
|
DDownloader.egg-info/top_level.txt
|
11
11
|
DDownloader/modules/__init__.py
|
12
|
+
DDownloader/modules/banners.py
|
12
13
|
DDownloader/modules/dash_downloader.py
|
13
14
|
DDownloader/modules/hls_downloader.py
|
14
15
|
DDownloader/modules/streamlink.py
|
@@ -6,7 +6,7 @@ long_description = Path("README.md").read_text(encoding="utf-8")
|
|
6
6
|
|
7
7
|
setup(
|
8
8
|
name="DDownloader",
|
9
|
-
version="0.1.
|
9
|
+
version="0.1.9",
|
10
10
|
description="A downloader for DRM-protected content.",
|
11
11
|
long_description=long_description,
|
12
12
|
long_description_content_type="text/markdown",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|