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

[FEATURE REQUEST] Download only metadata #394

Open
lambdareader opened this issue Feb 25, 2025 · 2 comments
Open

[FEATURE REQUEST] Download only metadata #394

lambdareader opened this issue Feb 25, 2025 · 2 comments

Comments

@lambdareader
Copy link

It would be nice to add a feature to only download metadata. For example --only-meta.
Since metadata sometimes changes (titles, tags, favorites) I redownload the metadata again every so often. It would be nice to add the option so someone doesn't have to hack the code to only download metadata (in json or comicinfo or txt like the options already are).

Although I recognize that not a lot of people may use this.
So please feel free to close this issue if it is to much work or you are not interested.
Thanks for your work!

@RicterZ
Copy link
Owner

RicterZ commented Feb 25, 2025 via email

@RicterZ
Copy link
Owner

RicterZ commented Feb 25, 2025

According my test, the option --meta will re-fetch the metadata from nhentai.net and generate a new metadata file without downloading the full doujin, the re-generated metadata files including info.txt, metadata.json but not including ComicInfo.xml.

The logic of this program is, if pdf/cbz/images files exist, it will not re-download the image files.

My command is nhentai --id 558413 --output /tmp/ --format %i --meta

So let's find the real feature you want:

  1. Re-generate the ComicInfo.xml
  2. For some reasons, the program will re-download the full doujin, so you need this option to avoide the downloading process.

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