Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Add domain to UI file download
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules-WinnfieldX committed May 5, 2024
1 parent ed75a94 commit b4157c0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cyberdrop_dl/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "5.2.51"
__version__ = "5.2.52"
2 changes: 1 addition & 1 deletion cyberdrop_dl/downloader/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ async def download(self, media_item: MediaItem) -> None:
headers = copy.deepcopy(self._additional_headers)
headers['Range'] = f'bytes={resume_point}-'

media_item.download_task_id = await self.manager.progress_manager.file_progress.add_task(media_item.filename, media_item.filesize)
media_item.download_task_id = await self.manager.progress_manager.file_progress.add_task(f"({self.domain.upper()}) {media_item.filename}", media_item.filesize)
await self.manager.progress_manager.file_progress.advance_file(media_item.download_task_id, resume_point)

await self.client.download_file(self.manager, self.domain, media_item, partial_file, headers, media_item.download_task_id)
Expand Down
18 changes: 9 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cyberdrop-dl"
version = "5.2.51"
version = "5.2.52"
description = "Bulk downloader for multiple file hosts"
authors = ["Jules Winnfield <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit b4157c0

Please sign in to comment.