mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
10.92k stars 895 forks source link

Skip over already downloaded zip files #4778

Open thegoldenboy542 opened 8 months ago

thegoldenboy542 commented 8 months ago

I have a problem with downloading zip files. Where sometimes my image limits run and I can't download any images till its up. However since I'm downloading through tags, sometimes it redownloads already downloaded files and since I'm downloading them as zip files it downloads these duplicates into the files where metadata is supposed to go, I'm also using download archive but that doesn't work.

This also goes for other sites.

thegoldenboy542 commented 8 months ago

Here's the errors for --download archive

[mangasee][warning] Failed to open download archive at 'E:\' ('PermissionError: [WinError 5] Access is denied: 'E:\'')

[rule34][warning] Failed to open download archive at 'E:\' ('PermissionError: [WinError 5] Access is denied: 'E:\'')

[pixiv][warning] Failed to open download archive at 'E:\' ('PermissionError: [WinError 5] Access is denied: 'E:\'')

[exhentai][warning] Failed to open download archive at 'E:\exhentai' ('PermissionError: [WinError 5] Access is denied: 'E:\\'')

And the line of codes

gallery-dl -d E:\ -i *** -r 2.5M -R -1 --zip --write-tags --write-metadata --write-info-json --download-archive E:\exhentai

gallery-dl -d E:\ -r 2.5M -R -1 --zip --write-tags --write-metadata --write-info-json --download-archive E:\ -i ***

gallery-dl -d E:\ -r 2.5M -R -1 --zip --write-tags --write-metadata --write-info-json --download-archive E:\ -i ***

gallery-dl -d E:\ -u "" -p "" -r 2.5M -R -1 --zip --write-tags --write-metadata --write-info-json --download-archive E:\ -i ***