Replies: 1 comment 2 replies
-
|
It would ultimately be better to use a specialized Discord exporter like https://github.com/Tyrrrz/DiscordChatExporter, I think. To do something like this with gallery-dl, use a {
"extractor": {
"discord": {
"postprocessors": {
"name": "metadata@post",
"open": "a",
"filename": "posts.txt",
"format": [
"# {channel_id}/{message_id} by {author}",
"{message}\n"
]
}
}
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given the whole thing going on with discord, I felt it prudent to back up my personal conversations and such with friends. This tool seemed like it would do the job. But I have pretty much no experience with github. Or coding in general. I just stuck the complicated config file, the gallery dl example, where it goes, and after lots of trial and error, used the command
gallery-dl --filter "author == '(myname)'" "(mydiscordchannel)"
Thing is, that only gets me the images and videos, not the actual text messages themselves. How do I get both images and the texts?
The ideal would be having the entire discord channel backed up and looking like it does normally, but I know that's unlikely to be possible. Instead, just having texts and the attached files in chronological order is good enough.
Though now that I think about it, it might be even better to see every text in a channel in one long file, with it mentioning if an attachment was added at any particular place. Probably easier to do the former though.
Beta Was this translation helpful? Give feedback.
All reactions