Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Existing files not getting added to download-archive database #6527

Open
drguildo opened this issue Nov 25, 2024 · 1 comment
Open

Existing files not getting added to download-archive database #6527

drguildo opened this issue Nov 25, 2024 · 1 comment

Comments

@drguildo
Copy link

> gallery-dl --version
1.27.7

If I download a gallery (gallery-dl https://foo.com/blah), and then later "download" it again while specifying --download-archive ... (gallery-dl --download-archive blah.sqlite3 https://foo.com/blah), the already-downloaded files don't get added to the database.

My primary use for --download-archive is so that I can delete files and not have gallery-dl download them again the next time I run it on the same gallery (because it's been updated), but this issue means I either need to delete and re-download the file(s) to have them added to the database, or keep the files I don't want to prevent them from being downloaded again, which seems to defeat the purpose of --download-archive.

@mikf
Copy link
Owner

mikf commented Nov 25, 2024

An archive-event option was added in v1.27.2 (ea81fa9) and writing skipped files to archives by default was disabled alongside.

You can re-enable it with -o archive-event=file,skip

Maybe I should revert this change and update the default yet again, given that this at least the third time someone asked/complained about it since it was changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants