When check_if_need_download() returns False (CBZ/PDF file already exists),
skip all post-processing steps that require doujinshi_dir to be present
(serializer, generate_doc, generate_html, rm_origin_dir, etc.), as the
directory may have been removed by --rm-origin-dir on a previous run.
However, still write to the download history DB unconditionally so that
records lost due to DB corruption/reset are recovered on the next run.
Fixes#429
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Add --token parameter (takes priority over --cookie)
- Deprecate --cookie and --useragent with warning messages
- Remove --legacy flag and legacy HTML search parser
- Migrate --artist search to use v2 API query syntax (artist:slug)
- Bump version to 2.0.6
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
History reset as part of DMCA compliance. The project has been
refactored into a generic, site-agnostic download framework.
Site-specific logic lives in separate plugin packages.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>