UNPKG

webcrawlerapi-js

Version:
20 lines (19 loc) 467 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HttpStatus = exports.ErrorCode = exports.JobStatus = void 0; exports.JobStatus = { IN_PROGRESS: 'in_progress', NEW: 'new', DONE: 'done' }; exports.ErrorCode = { BLOCKED_BY_ROBOTS_TXT: 'blocked_by_robots_txt' }; exports.HttpStatus = { OK: 200, BAD_REQUEST: 400, UNAUTHORIZED: 401, FORBIDDEN: 403, NOT_FOUND: 404, INTERNAL_SERVER_ERROR: 500 };