Nandaka / PixivUtil2

Download images from Pixiv and more!
http://nandaka.devnull.zone/
BSD 2-Clause "Simplified" License
2.35k stars 257 forks source link

How to download .json file only when images are downloaded previously? #1223

Open GaryRandom opened 1 year ago

GaryRandom commented 1 year ago

Prerequisites

Description

I have question about how to only download .json file when images are already downloaded previously. Do I need to delete all downloaded artwork id from database?

Steps to Reproduce

  1. Download Image only.
  2. Change config.ini to set some json saving flags as True.

Versions

Latest version.

Nandaka commented 1 year ago

Assuming the download location didn't change and the downloaded images still there, you can try to set alwaysCheckFileSize = True and/or checkLastModified = True so it will still check and download the .json

GaryRandom commented 1 year ago

Thank you for your reply!

Assuming the download location didn't change and the downloaded images still there, you can try to set alwaysCheckFileSize = True and/or checkLastModified = True so it will still check and download the .json