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

export metadata into txt file #315

Closed
wankio opened this issue Jun 17, 2019 · 5 comments
Closed

export metadata into txt file #315

wankio opened this issue Jun 17, 2019 · 5 comments

Comments

@wankio
Copy link
Contributor

wankio commented Jun 17, 2019

hentai2read, g.e-hentai/exhentai, hitomi.la, nhentai is there have any way to export metadata into one txt file for each queue job ?

g.e-hentai/exhentai . When downloading by https://github.com/ccloli/E-Hentai-Downloader , it have info.txt file contain metadata and DDL
eg : https://pastebin.com/b5iDe0bM

Thank

@mikf
Copy link
Owner

mikf commented Jun 17, 2019

There is --write-metadata (and in general the metadata post-processor), but that creates a metadata file for each downloaded (image) file and not just one per queue job.

@wankio
Copy link
Contributor Author

wankio commented Jun 18, 2019

so is there have anyway to limit it just one-time write, or it can't ? ty

@mikf
Copy link
Owner

mikf commented Jun 18, 2019

It can't really do that, at least not at the moment.

A possible workaround might be to download only the first file with --write-metadata --range 1 to get a single metadata file, and then run gallery-dl a second time without those options to download the entire gallery in full.

@wankio
Copy link
Contributor Author

wankio commented Jun 19, 2019

oh, it's ok. thank :)

@mikf
Copy link
Owner

mikf commented Dec 3, 2022

A --write-info-json command-line option got added in v1.19.0

thank

It's "thanks" or "thank you"

@mikf mikf closed this as completed Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants