mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[PR #1201] [CLOSED] Remove/detect empty media extractor directory #4362
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#4362
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1201
Author: @overhacked
Created: 8/4/2023
Status: ❌ Closed
Base:
dev← Head:retry_empty_media📝 Commits (2)
0d21f24Remove/detect empty media extractor directory6224794Media directory is empty if only contains dotfiles📊 Changes
1 file changed (+9 additions, -1 deletions)
View changed files
📝
archivebox/extractors/media.py(+9 -1)📄 Description
If the media extraction fails, try to remove an empty media directory,
ignoring any errors. When retrying extractors (e.g.
--update), detectan empty media directory and run the extractor; recovers from failed
media extractions prior to this commit.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.