<taskId> kennzeichnen erforderliche Platzhalter.
Befehlsgruppen
| Ziel | Befehle | Anleitung |
|---|---|---|
| Installieren und authentifizieren | auth, doctor | Authentifizierung |
| Browser auswählen | browser | Browser-Modi |
| Aufgaben verwalten | task, task-group | Aufgaben und Gruppen |
| Vorlagen verwenden | template, template-task | Vorlagen verwenden |
| Aus einer URL erstellen | detect | Aufgaben aus einer URL erstellen |
| Lokal ausführen | run, local | Lokale Läufe |
| In der Cloud ausführen | cloud, schedule | Cloud-Läufe und Zeitpläne |
| Daten prüfen und exportieren | data | Daten und Export |
| Automatisieren | capabilities, --json, --jsonl | Automatisierung und Agenten |
Hilfe und Diagnose
octoparse --help
octoparse --version
octoparse capabilities --json
octoparse doctor --json
octoparse browser status --json
Authentifizierung
octoparse auth login
octoparse auth login --oauth
octoparse auth login <apiKey>
octoparse auth login --stdin
octoparse auth status --json
octoparse auth info --json
octoparse auth logout
Aufgaben und Gruppen
octoparse task list [--page <n>] [--page-size <n>] [--limit <n>] [--keyword <text>] [--task-group <groupId>] [--template-id <id>] [--json]
octoparse task show <taskId> [--json]
octoparse task copy <taskId> [--task-group <groupId>] [--json]
octoparse task rename <taskId> --name <name> --yes [--json]
octoparse task move <taskId> --task-group <groupId> --yes [--json]
octoparse task delete <taskId> --yes [--json]
octoparse task inspect <taskId> [--task-file <file.json|file.xml|file.otd>] [--json]
octoparse task validate <taskId> [--task-file <file.json|file.xml|file.otd>] [--json]
octoparse task-group list [--json]
octoparse task-group create <name> [--json]
octoparse task-group update <groupId> --name <name> --yes [--json]
octoparse task-group delete <groupId> --yes [--json]
octoparse task-group set-default <groupId> --yes [--json]
Vorlagen
octoparse template search <keyword> [--page <n>] [--page-size <n>] [--sort <n>] [--json]
octoparse template view <templateId> [--json]
octoparse template version <templateId> [--json]
octoparse template-task create <templateId> [--name <taskName>] [--task-group <groupId>] [--param key=value]... [--params <json>|--params-file <file>] [--dry-run] [--json]
octoparse template-task update <taskId> [--params <json>|--params-file <file>] --yes [--json]
Erkennung und Browser
octoparse detect <url> --auto [--goal <text>] [--output task.json] [--json]
octoparse detect <url> --manual [--goal <text>] [--output task.json]
octoparse detect <url> --agent --agent-command <cmd> [--goal <text>] [--run-sample <n>] [--json]
octoparse browser use independent|user [--browser-id chrome|edge] [--profile <name>] [--json]
octoparse browser status [--browser-id chrome|edge] [--profile <name>] [--json]
octoparse browser profiles [--browser-id chrome|edge] [--json]
octoparse browser install [--browser-id chrome|edge] [--profile <name>] [--force-close] [--json]
Lokale Läufe
octoparse run <taskId> [--task-file <file>] [--output <dir>] [--max-rows <n>] [--detach] [--headless] [--json|--jsonl]
octoparse local status <taskId> [--output <dir>] [--json]
octoparse local pause <taskId> [--json]
octoparse local resume <taskId> [--json]
octoparse local stop <taskId> [--json]
octoparse local history <taskId> [--output <dir>] [--json]
octoparse local cleanup [--json]
Cloud-Läufe und Zeitpläne
octoparse cloud start <taskId> [--json]
octoparse cloud stop <taskId> [--json]
octoparse cloud status <taskId> [--json]
octoparse cloud history <taskId> [--json]
octoparse schedule cloud get <taskId> [--json]
octoparse schedule cloud next --type <type> --date <value> --time <value> [--month <value>] [--json]
octoparse schedule cloud update <taskId> --type <type> --date <value> --time <value> [--month <value>] [--enabled true|false] --yes [--json]
octoparse schedule cloud start <taskId> --yes [--json]
octoparse schedule cloud stop <taskId> --yes [--json]
Daten
octoparse data history <taskId> [--source local|cloud] [--output <dir>] [--json]
octoparse data count <taskId> [--source local|cloud] [--unexported] [--json]
octoparse data preview <taskId> [--source local|cloud] [--limit <n>] [--offset <n>] [--unexported] [--json]
octoparse data export <taskId> [--source local|cloud] [--file <result.xlsx>] [--lot-id <lotId>] [--output <dir>] [--format xlsx|csv|html|json|xml] [--unexported] [--json]
Interne Befehle
env und runs sind interne Befehle für Support und Artefaktprüfung. Verwenden Sie vorzugsweise die öffentlichen Workflows mit Aufgaben-ID, Batch-ID, local und data, sofern der Octoparse-Support nichts anderes vorgibt.
Führen Sie
octoparse <command> --help für die installierte Version aus und verwenden Sie octoparse capabilities --json, um Automatisierungsmetadaten abzurufen.