Closed someonenameguy closed 1 week ago
Use a metadata
post processor to write metadata to disk:
"patreon": {
"cookies": {"sess id here": "sess id here"},
"files": [],
"postprocessors": [
{
"name": "metadata",
"event": "post",
"filename": "{id}.content.txt",
"format": "{content}\n"
}
]
}
gallery-dl [URL] --filter "print(content)" >> text.txt
--filter "num == 1 and print(content)"
would print content
for only the first file, but it would still ignore posts without files.
Thanks! This works.
Use a
metadata
post processor to write metadata to disk:"patreon": { "cookies": {"sess id here": "sess id here"}, "files": [], "postprocessors": [ { "name": "metadata", "event": "post", "filename": "{id}.content.txt", "format": "{content}\n" } ] }
I'm trying to download the text "content" of every post on patreon.
I tried using:
But is seem to still download the images. Then I tried
But some post contained more that one image so the text content is written multiple times.
Am I missing a option or config?