change example-config to json
This commit is contained in:
39
config.json
Normal file
39
config.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"base-directory": "/tmp/",
|
||||
"extractor":
|
||||
{
|
||||
"pixiv":
|
||||
{
|
||||
"directory": ["{category}", "{artist-id}"],
|
||||
"username": "XXX",
|
||||
"password": "XXX"
|
||||
},
|
||||
"nijie":
|
||||
{
|
||||
"cookies":
|
||||
{
|
||||
"NIJIEIJIEID": "XXX",
|
||||
"nijie_email_hash": "XXX",
|
||||
"nijie_login_hash": "XXX"
|
||||
}
|
||||
},
|
||||
"4chan":
|
||||
{
|
||||
"directory": ["{category}", "{board}", "{thread} - {title}"]
|
||||
},
|
||||
"danbooru":
|
||||
{
|
||||
"pattern": ["d(?:anbooru)?[.:-_](\\w.+)"],
|
||||
"filename": "{category}_{id:>07}_{md5}.{extension}"
|
||||
},
|
||||
"gelbooru":
|
||||
{
|
||||
"pattern": ["g(?:elbooru)?[.:-_](\\w.+)"],
|
||||
"filename": "{category}_{id:>07}_{md5}.{extension}"
|
||||
},
|
||||
"e621":
|
||||
{
|
||||
"pattern": ["e(?:621)?[.:-_](\\w.+)"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user