-
-
Notifications
You must be signed in to change notification settings - Fork 863
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
Is there any way to save 'content' of a post in a separate text file? #5574
Comments
Is the answer going to be like this post: #5556 |
And how can I add that setting to my gallery-dl config file?
|
Yep, something like that. You add it by copy-pasting it into your existing settings and adjusting it: {
"extractor": {
"kemonoparty": {
"metadata": true,
"username": "username",
"password": "password",
"base-directory": "E:/XXX/Picture/Kemono/",
"discord" : {
"directory": ["{author['username']!c}_{subcategory!c}"],
"filename": "{author['username']!c}_{subcategory!c}_{date:%Y.%m.%d}_{filename!C}.{extension}"
},
"postprocessors": [
{
"name" : "metadata",
"event": "post",
"skip": true,
"content-format": "{content|description|''}\n",
"filename": "{username!c}_{subcategory!c}_{date:%Y.%m.%d}_{title!C}.txt"
}
],
"directory": ["{username!c}_{subcategory!c}"],
"filename": "{username!c}_{subcategory!c}_{date:%Y.%m.%d}_{title!C}_{num}.{extension}"
}
}
} |
Thanks! it works, but it copies the exact 'content' with html tags:
|
Or, keep the tags and make a HTML file instead of a TXT one. |
HTML tags can be removed with |
Is there any way to save 'content' of a post in a separate text file?
gallery-dl -K https://kemono.su/patreon/...
The text was updated successfully, but these errors were encountered: