add postprocessor config example

This commit is contained in:
Mike Fährmann
2018-06-08 18:29:58 +02:00
parent 2403c405e3
commit 6ac403c5d3
4 changed files with 33 additions and 3 deletions

View File

@@ -15,6 +15,26 @@
"username": "foo", "username": "foo",
"password": "bar", "password": "bar",
"postprocessors": [
{
"name": "classify",
"mapping": {
"images": ["jpg", "png", "gif"],
"ugoira": ["zip", "txt"]
}
},
{
"name": "zip",
"keep-files": true,
"compression": "store"
},
{
"name": "exec",
"async": false,
"command": ["echo", "\n{user[account]} - {id}"]
}
],
"favorite": "favorite":
{ {
"directory": ["Pixiv", "Favorites", "{user[id]}"] "directory": ["Pixiv", "Favorites", "{user[id]}"]
@@ -50,6 +70,15 @@
"wait-max": 5.0 "wait-max": 5.0
}, },
"mangadex":
{
"postprocessors": [{
"name": "zip",
"keep-files": false,
"compression": "zip"
}]
},
"flickr": "flickr":
{ {
"access-token": "1234567890-abcdef", "access-token": "1234567890-abcdef",

View File

@@ -1,8 +1,9 @@
{ {
"extractor": "extractor":
{ {
"archive": null,
"base-directory": "./gallery-dl/", "base-directory": "./gallery-dl/",
"postprocessors": null,
"archive": null,
"cookies": null, "cookies": null,
"proxy": null, "proxy": null,
"skip": true, "skip": true,

View File

@@ -70,7 +70,7 @@ class DanbooruPopularExtractor(booru.PopularMixin, DanbooruExtractor):
("https://danbooru.donmai.us/explore/posts/popular", None), ("https://danbooru.donmai.us/explore/posts/popular", None),
(("https://danbooru.donmai.us/explore/posts/popular" (("https://danbooru.donmai.us/explore/posts/popular"
"?date=2013-06-06+03%3A34%3A22+-0400&scale=week"), { "?date=2013-06-06+03%3A34%3A22+-0400&scale=week"), {
"count": 20, "count": ">= 19",
}), }),
] ]

View File

@@ -22,7 +22,7 @@ TRAVIS_SKIP = {
# temporary issues, etc. # temporary issues, etc.
BROKEN = { BROKEN = {
"dokireader", # server down "whatisthisimnotgoodwithcomputers",
} }