Closed AlttiRi closed 2 years ago
Looks working.
Just another question — is --dump-json
working as a planned?
For me the result of it looks strange. Checked with paheal, pixiv, safebooru, sankaku.
For example, the result of --write-info-json
looks fine.
BTW, it also does download the content and using of --write-info-json --no-skip --no-download --simulate
does not help (while it's the suggestion from https://github.com/mikf/gallery-dl/issues/2302). I just get the empty object in info.json
.
Just another question — is
--dump-json
working as a planned?
It works as expected in that it dumps the raw extractor results as a single JSON list to stdout.
The output of a metadata
post processor with "filename": "-"
might be more useful, but there are several years of development between when --dump-json
got implemented and that.
BTW, it also does download the content and using of
--write-info-json --no-skip --no-download --simulate
does not help (while it's the suggestion from #2302). I just get the empty object ininfo.json
.
What do mean? --no-download
as well as --simulate
prevents gallery-dl from actually downloading any files. --write-info-json
on the other hand will always write its results to disk.
You have to manually specify a post processor with the right options if you want it to dump its results to stdout.
I just wanted to get one time json for tests.
--write-info-json --simulate
does not creates info.json
.
--write-info-json --no-download
creates an empty info.json
.
Oh, wait. I, probably, did something wrong that time.
--write-info-json --no-download
works fine. It does that I want.
Sorry to bother.
Yeah, you also even already mentioned it in https://github.com/mikf/gallery-dl/issues/2302#issuecomment-1039144933
For
https://rule34.paheal.net/post/view/3864982
it prints the':' URLs are not supported/enabled
error.