job-pro 1.0.52 → 1.0.54

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/bilibili.js CHANGED
@@ -446,9 +446,10 @@ export async function fetchApplicationSchema(postId) {
446
446
  postId: id,
447
447
  jobTitle: title,
448
448
  applyUrl,
449
- submitEndpoint: "https://jobs.bilibili.com/api/post/apply",
449
+ submitEndpoint: "https://jobs.bilibili.com/api/portal/post/apply",
450
450
  submitKind: "multipart-session",
451
- submitNotes: "Bilibili — POST /api/post/apply with session cookie. Endpoint inferred; needs validation.",
451
+ endpointVerified: true,
452
+ submitNotes: "Bilibili — POST /api/portal/post/apply with ajSessionId cookie. Endpoint anon-probed → HTTP 200 + {code:-101, msg:\"ajSessionId不能为空\"} (real apply route; original /api/post/apply returns structured 404, but the /api/portal/* sub-tree is the real customer-facing one). Body shape still needs validation.",
452
453
  }),
453
454
  };
454
455
  }
package/dist/index.js CHANGED
@@ -152,6 +152,10 @@ const ENDPOINT_VERIFIED = new Set([
152
152
  "netease", "didi", "pingan",
153
153
  // probe-verified via re-routed sub-tree + JWT gateway response (1.0.52)
154
154
  "byd",
155
+ // probe-verified via re-routed sub-tree (1.0.53)
156
+ "bilibili",
157
+ // probe-verified via host-root path (1.0.54)
158
+ "xiaohongshu",
155
159
  ]);
156
160
  const HELP = `
157
161
  job-pro — query Chinese big-tech campus recruiting from your terminal
@@ -471,9 +471,10 @@ export async function fetchApplicationSchema(postId) {
471
471
  postId: id,
472
472
  jobTitle: title,
473
473
  applyUrl,
474
- submitEndpoint: "https://job.xiaohongshu.com/api/recruit/apply",
474
+ submitEndpoint: "https://job.xiaohongshu.com/recruit/apply",
475
475
  submitKind: "multipart-session",
476
- submitNotes: "Xiaohongshu — POST /api/recruit/apply with session cookie. Endpoint inferred; needs validation.",
476
+ endpointVerified: true,
477
+ submitNotes: "Xiaohongshu — POST /recruit/apply (no /api/ prefix) with session cookie. Endpoint anon-probed → HTTP 401 + {success:false, errorCode:401, alertMsg:\"请登录\"} (real apply route; the /api/* prefix returns 404 HTML, but the path lives at the host root). Body shape still needs validation.",
477
478
  }),
478
479
  };
479
480
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
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",