job-pro 1.0.29 → 1.0.30
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.
- package/dist/index.js +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -198,6 +198,7 @@ VERBS (same surface for every company)
|
|
|
198
198
|
--remember + persist answers to profile.custom
|
|
199
199
|
--batch <file|-> apply to many post_ids (one/line)
|
|
200
200
|
--debug-submit-to <url> verify wire format
|
|
201
|
+
--debug-submit ↑ shorthand → httpbin.org/post
|
|
201
202
|
--really-submit actually fire (env-gated)
|
|
202
203
|
--allow-stale-session bypass 30-day session-age gate
|
|
203
204
|
memory list | get <k> | set k=v | event <kind> [payload] | clear
|
|
@@ -452,7 +453,12 @@ async function runCompany(adapter, company, rawArgs) {
|
|
|
452
453
|
const schemaOnly = args.includes("--schema");
|
|
453
454
|
const interactive = args.includes("--interactive");
|
|
454
455
|
const remember = args.includes("--remember");
|
|
455
|
-
|
|
456
|
+
let { args: aDebug, value: debugUrl } = popFlagValue(args, "--debug-submit-to");
|
|
457
|
+
// Shorthand: `--debug-submit` without URL → default httpbin echo.
|
|
458
|
+
if (!debugUrl && aDebug.includes("--debug-submit")) {
|
|
459
|
+
aDebug = aDebug.filter((a) => a !== "--debug-submit");
|
|
460
|
+
debugUrl = "https://httpbin.org/post";
|
|
461
|
+
}
|
|
456
462
|
const { args: aForm, value: formFilePath } = popFlagValue(aDebug, "--form-file");
|
|
457
463
|
const { args: aBatch, value: batchPath } = popFlagValue(aForm, "--batch");
|
|
458
464
|
// Batch mode: read post_ids from a file (or stdin if "-"). Each non-empty,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "job-pro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"description": "Query Chinese big-tech campus recruiting from your terminal. 50 companies, all 50 live. 46 via each company's own API; the 4 with no public canonical feed (Hikvision, CICC, Cainiao, WeBank) surfaced via Liepin as a clearly-labeled third-party fallback. No signup, no token, no server.",
|
|
5
5
|
"homepage": "https://job.ha7ch.com",
|
|
6
6
|
"repository": "https://github.com/HA7CH/job-pro",
|