pixivflow 2.28.0 → 2.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,6 +40,11 @@ function classifySystemError(error, httpStatus, stage, messageHint) {
|
|
|
40
40
|
if (/telegram|sendMessage|upload/i.test(message)) {
|
|
41
41
|
return { error_type: 'TELEGRAM_UPLOAD_FAILED', retryable: false };
|
|
42
42
|
}
|
|
43
|
+
if (/language filter|skipped:|inconclusive|filtered out|excluded by|excluded from/i.test(message)) {
|
|
44
|
+
// A candidate the target's own rules (language filter / explicit skip)
|
|
45
|
+
// rejected is NOT a system fault: do not count it as a retryable failure.
|
|
46
|
+
return { error_type: 'CANDIDATE_SKIPPED', retryable: false };
|
|
47
|
+
}
|
|
43
48
|
if (typeof status === 'number' && status >= 500) {
|
|
44
49
|
return { error_type: 'NETWORK_TIMEOUT', retryable: true };
|
|
45
50
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type SystemErrorType = 'PIXIV_AUTH_FAILED' | 'PIXIV_RATE_LIMITED' | 'PIXIV_NOT_FOUND' | 'PIXIV_CDN_FORBIDDEN' | 'NETWORK_TIMEOUT' | 'DOWNLOAD_CORRUPTED' | 'IMAGE_PROCESS_FAILED' | 'TELEGRAM_UPLOAD_FAILED' | 'CONFIG_ERROR' | 'INTERNAL_ERROR';
|
|
1
|
+
export type SystemErrorType = 'PIXIV_AUTH_FAILED' | 'PIXIV_RATE_LIMITED' | 'PIXIV_NOT_FOUND' | 'PIXIV_CDN_FORBIDDEN' | 'NETWORK_TIMEOUT' | 'DOWNLOAD_CORRUPTED' | 'IMAGE_PROCESS_FAILED' | 'TELEGRAM_UPLOAD_FAILED' | 'CONFIG_ERROR' | 'CANDIDATE_SKIPPED' | 'INTERNAL_ERROR';
|
|
2
2
|
export interface SystemErrorClassification {
|
|
3
3
|
error_type: SystemErrorType;
|
|
4
4
|
retryable: boolean;
|
package/dist/package.json
CHANGED
package/dist/version.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BUILD = void 0;
|
|
4
4
|
// GENERATED by scripts/write-version.js — do not edit manually.
|
|
5
|
-
exports.BUILD = { version: '2.28.
|
|
5
|
+
exports.BUILD = { version: '2.28.1', commit: '1f5f0c240a38' };
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/dist/webui/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pixivflow",
|
|
3
|
-
"version": "2.28.
|
|
3
|
+
"version": "2.28.1",
|
|
4
4
|
"description": "🎨 Pixiv 下载、筛选与自动收集工具 - 批量下载插画和小说、按标签/热度/日期筛选、定时任务与可靠 HTTP 交付 | Pixiv downloader and automation toolkit with filtering, scheduling and reliable HTTP delivery",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|