[PR #22] [CLOSED] Check for zero-length files before download; #69

Closed
opened 2026-02-27 19:03:20 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/pull/22
Author: @hyzboy
Created: 8/16/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • 2e21cf6 Check for zero-length files before download; remove empty files to avoid incomplete downloads

📊 Changes

1 file changed (+8 additions, -3 deletions)

View changed files

📝 TwitterXMediaBatchDownloader_Windows.py (+8 -3)

📄 Description

Check for zero-length files before download; remove empty files to avoid incomplete downloads.

If a file already exists but its size is zero, it is likely the result of a previous failed or interrupted download. This change ensures such files are deleted before attempting a new download, preventing the application from skipping incomplete files and improving download reliability.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/pull/22 **Author:** [@hyzboy](https://github.com/hyzboy) **Created:** 8/16/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`2e21cf6`](https://github.com/afkarxyz/Twitter-X-Media-Batch-Downloader/commit/2e21cf6f7a06ad5b2b2252a99c489e9eb56a09d0) Check for zero-length files before download; remove empty files to avoid incomplete downloads ### 📊 Changes **1 file changed** (+8 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `TwitterXMediaBatchDownloader_Windows.py` (+8 -3) </details> ### 📄 Description Check for zero-length files before download; remove empty files to avoid incomplete downloads. If a file already exists but its size is zero, it is likely the result of a previous failed or interrupted download. This change ensures such files are deleted before attempting a new download, preventing the application from skipping incomplete files and improving download reliability. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:03:20 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Twitter-X-Media-Batch-Downloader#69
No description provided.