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",
"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":
{
"directory": ["Pixiv", "Favorites", "{user[id]}"]
@@ -50,6 +70,15 @@
"wait-max": 5.0
},
"mangadex":
{
"postprocessors": [{
"name": "zip",
"keep-files": false,
"compression": "zip"
}]
},
"flickr":
{
"access-token": "1234567890-abcdef",

View File

@@ -1,8 +1,9 @@
{
"extractor":
{
"archive": null,
"base-directory": "./gallery-dl/",
"postprocessors": null,
"archive": null,
"cookies": null,
"proxy": null,
"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"
"?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.
BROKEN = {
"dokireader", # server down
"whatisthisimnotgoodwithcomputers",
}