DDownloader 0.4.2__tar.gz → 0.4.4__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.
@@ -0,0 +1 @@
1
+ __version__ = "0.4.4"
@@ -23,7 +23,7 @@ def banners():
23
23
  stdout.write(""+Fore.YELLOW +"╔════════════════════════════════════════════════════════════════════════════╝\n")
24
24
  stdout.write(""+Fore.YELLOW +"║ \x1b[38;2;255;20;147m• "+Fore.GREEN+"GITHUB "+Fore.RED+" |"+Fore.LIGHTWHITE_EX+" GITHUB.COM/THATNOTEASY "+Fore.YELLOW+"║\n")
25
25
  stdout.write(""+Fore.YELLOW +"╚════════════════════════════════════════════════════════════════════════════╝\n")
26
- print(f"{Fore.YELLOW}[DDownloader] - {Fore.GREEN}A DRM-Protected & Non-Protected Content Downloader - {Fore.RED}[V0.4.2] \n{Fore.RESET}")
26
+ print(f"{Fore.YELLOW}[DDownloader] - {Fore.GREEN}A DRM-Protected & Non-Protected Content Downloader - {Fore.RED}[V0.4.4] \n{Fore.RESET}")
27
27
 
28
28
  # =========================================================================================================== #
29
29
 
@@ -149,8 +149,6 @@ class DOWNLOADER:
149
149
  command = [
150
150
  yt_dlp_path,
151
151
  "-o", f"\"{output_file}\"", # Output file
152
- "--no-check-certificate", # Bypass certificate verification
153
- "--ignore-errors", # Ignore errors and continue downloading
154
152
  ]
155
153
 
156
154
  # Add cookies if provided
@@ -165,9 +163,9 @@ class DOWNLOADER:
165
163
  "--audio-quality", "0", # Best quality
166
164
  ])
167
165
  else:
168
- # For MP4, download the best video and audio formats and merge them
166
+ # For MP4, download the best quality video and audio formats and merge them
169
167
  command.extend([
170
- "-f", "bv*+ba/b", # Download best video + best audio, or fallback to best combined format
168
+ "-f", "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best", # Prioritize best MP4 video + best M4A audio, fallback to best MP4, then best overall
171
169
  "--merge-output-format", "mp4", # Merge into MP4
172
170
  ])
173
171
 
@@ -21,11 +21,12 @@ binaries = {
21
21
  "https://github.com/ThatNotEasy/DDownloader/raw/refs/heads/main/DDownloader/bin/aria2c.exe",
22
22
  "https://github.com/ThatNotEasy/DDownloader/raw/refs/heads/main/DDownloader/bin/mp4decrypt.exe",
23
23
  "https://github.com/ThatNotEasy/DDownloader/raw/refs/heads/main/DDownloader/bin/shaka-packager.exe",
24
- "https://github.com/ThatNotEasy/DDownloader/raw/refs/heads/main/DDownloader/bin/yt-dlp.exe",
25
- "https://github.com/ThatNotEasy/DDownloader/raw/refs/heads/main/DDownloader/bin/mkvmerge.exe"
24
+ "https://github.com/ThatNotEasy/DDownloader/raw/refs/heads/main/DDownloader/bin/mkvmerge.exe",
25
+ "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp.exe"
26
26
  ],
27
27
  "Linux": [
28
- "https://github.com/ThatNotEasy/DDownloader/raw/refs/heads/main/DDownloader/bin/N_m3u8DL-RE"
28
+ "https://github.com/ThatNotEasy/DDownloader/raw/refs/heads/main/DDownloader/bin/N_m3u8DL-RE",
29
+ "https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp"
29
30
  ]
30
31
  }
31
32
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DDownloader
3
- Version: 0.4.2
3
+ Version: 0.4.4
4
4
  Summary: A downloader for DRM-protected & Non DRM-protected content.
5
5
  License: MIT License
6
6
 
@@ -41,6 +41,7 @@ Requires-Dist: loguru (>=0.6.0)
41
41
  Requires-Dist: pymediainfo (>=6.1.0,<7.0.0)
42
42
  Requires-Dist: requests (>=2.26.0)
43
43
  Requires-Dist: tqdm (>=4.64.0)
44
+ Requires-Dist: yt-dlp (>=2025.10.11.232807.dev0,<2026.0.0.0)
44
45
  Project-URL: Homepage, https://github.com/ThatNotEasy/DDownloader
45
46
  Description-Content-Type: text/markdown
46
47
 
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [project]
6
6
  name = "DDownloader"
7
- version = "0.4.2"
7
+ version = "0.4.4"
8
8
  description = "A downloader for DRM-protected & Non DRM-protected content."
9
9
  readme = { file = "README.md", content-type = "text/markdown" }
10
10
  authors = [
@@ -25,7 +25,7 @@ classifiers = [
25
25
 
26
26
  [tool.poetry]
27
27
  name = "DDownloader"
28
- version = "0.4.2"
28
+ version = "0.4.4"
29
29
  description = "A downloader for DRM-protected & Non DRM-protected content."
30
30
  authors = ["ThatNotEasy <apidotmy@proton.me>"]
31
31
  license = "MIT"
@@ -40,6 +40,7 @@ tqdm = ">=4.64.0"
40
40
  colorama = ">=0.4.5"
41
41
  loguru = ">=0.6.0"
42
42
  pymediainfo = "^6.1.0"
43
+ yt-dlp = "^2025.10.11.232807.dev0"
43
44
 
44
45
  [tool.poetry.scripts]
45
46
  DDownloader = "DDownloader.main:main"
@@ -1 +0,0 @@
1
- __version__ = "0.4.2"
File without changes
File without changes