-
Notifications
You must be signed in to change notification settings - Fork 258
Using Batch Job (Experimental)
Nandaka edited this page Apr 30, 2020
·
10 revisions
- Create batch_job.json in the application folder using your favorite text editor.
- Follow below template
{
"jobs": {
"job-1-member-id-no-tags": {
"job_type": "1",
"member_id": 9459043,
"start_page": 1,
"end_page": 0,
"from_bookmark": false,
"option": {
"filenameFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"filenameMangaFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"filenameInfoFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"filenameMangaInfoFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"avatarNameFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"rootDirectory": "d:/test/"
}
},
"job-1-member-id-with-tags": {
"job_type": "1",
"member_id": 5375435,
"start_page": 1,
"end_page": 0,
"tags": "R-18",
"option": {
"rootDirectory": "d:/test/"
}
},
"job-1-multi-member-id": {
"job_type": "1",
"member_ids": [2344550, 24164271, 544479],
"start_page": 1,
"end_page": 2,
"tags": "R-18",
"option": {
"rootDirectory": "d:/test/"
}
},
"job-2-single-image": {
"job_type": "2",
"image_id": 54973381,
},
"job-2-multi-images": {
"job_type": "2",
"image_ids": [73988118, 57959650, 78942244],
"option": {
"rootDirectory": "d:/test/"
}
},
"job-3-tags-download": {
"job_type": "3",
"tags": "search-tags-here",
"start_page": 1,
"end_page": 0,
"wildcard": true,
"title_caption": false,
"start_date": "2020-12-31",
"end_date": "2020-12-31",
"bookmark_count": 0,
"oldest_first": true,
"type_mode": "a",
"option": {
"filenameFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"filenameMangaFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"filenameInfoFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"filenameMangaInfoFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"avatarNameFormat": "%artist% (%member_id%)/%urlFilename% - %title%",
"useTagsAsDir": false
}
}
}
}
-
rootDirectory
only works forjob_type
= 1 or 2 -
useTagsAsDir
only work forjob_type
= 3