Releases: TechShreyash/techzdl
Releases · TechShreyash/techzdl
v1.2.5
[1.2.5] - 2024-07-04
UPDATED
Single Threaded Download Fix:
- Resolved an issue where, if a single threaded download failed, the download would restart from the beginning despite showing continued progress. Now, in case of a failure, a new progress will be created, and the download will restart correctly.
Timeout Argument Removal:
- Removed the timeout argument due to complexities and uncertainties in its implementation with
aiohttp
andcurl_cffi
. The timeout settings will now rely on the default configurations of these respective packages.
Fixed Single Threaded Download, Removed timeout argument
Full Changelog: v1.2.4...v1.2.5
v1.2.4
[1.2.4] - 2024-07-01
ADDED
- Unquoting Filenames: Modifying the percent encoded filenames returned by server or if got from url
Full Changelog: v1.2.3...v1.2.4
v1.2.3
[1.2.3] - 2024-06-29
Added
- Introduced the
download_success
attribute to indicate successful downloads. - Added the
download_error
attribute to capture exceptions during the download process.
Note: The attributes
output_path
,download_success
, anddownload_error
are particularly useful when using the background download mode, as errors raised and the file path cannot be directly accessed.
For more details, check TechZDL Attributes.
Full Changelog: Compare v1.2.2...v1.2.3
v1.2.2
[1.2.2] - 2024-06-28
Changed
- Improved progress update mechanism to only update when progress has increased.
Full Changelog: v1.2.1...v1.2.2
v1.2.1
[1.2.1] - 2024-06-28
Changed
- Updated the import and usage methods for TechZDL. See here for details.
Added
- Introduced a method to stop the running download process. Check out the example here.
- Added background downloading option in the
.start()
method. Explore the demo here. - Enhanced and detailed the documentation for the TechZDL package. Refer to the updated DOCS.md.
Full Changelog: Compare v1.1.7...v1.2.1
v1.1.7
[1.1.7] - 2024-06-25
Added
- New method .get_file_info()
# This script demonstrates how to use the TechZDL package to fetch file information asynchronously.
import asyncio
from techzdl.api import TechZDL
async def main():
techzdl = TechZDL()
downloader = techzdl.get_downloader(url="https://link.testfile.org/bNYZFw")
# Retrieve file information asynchronously
file_info = await downloader.get_file_info()
# Print the retrieved file information
print(f"Filename: {file_info['filename']}")
print(f"Total Size: {file_info['total_size']} bytes")
asyncio.run(main())
Output
Changed
- Docs improved, added various demos
v1.1.6
[1.1.6] - 2024-06-24
Added
- First Release, Includes Base Code