job-pro 1.0.48 → 1.0.50

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 CHANGED
@@ -146,6 +146,8 @@ const ENDPOINT_VERIFIED = new Set([
146
146
  "moonshot", "megvii", "deepseek", "galaxyuniversal", "stepfun", "cambricon", "geely",
147
147
  // beisen-italent (anon-probe-verified — IIS 500 template)
148
148
  "iflytek", "vivo",
149
+ // multipart-session probe-verified via re-routing (1.0.50)
150
+ "sf",
149
151
  ]);
150
152
  const HELP = `
151
153
  job-pro — query Chinese big-tech campus recruiting from your terminal
package/dist/sf.js CHANGED
@@ -301,9 +301,10 @@ export async function fetchApplicationSchema(postId) {
301
301
  postId: id,
302
302
  jobTitle: title,
303
303
  applyUrl,
304
- submitEndpoint: "https://campus.sf-express.com/api/web/position/apply",
304
+ submitEndpoint: "https://campus.sf-express.com/api/web/applicant/apply",
305
305
  submitKind: "multipart-session",
306
- submitNotes: "SF Express — POST /api/web/position/apply with cr-service header + GeeTest captcha + session cookie. Endpoint anon-probed → 404; the apply route lives somewhere else (likely behind login). The detail endpoint at /api/web/position/findById/<id> is real (see fetchPositionDetail), but the apply path needs real-browser recon.",
306
+ endpointVerified: true,
307
+ submitNotes: "SF Express — POST /api/web/applicant/apply with cr-service header + GeeTest captcha + session cookie. Endpoint anon-probed → HTTP 401 from the SF gateway (real auth gate; the cr-service-web-cloud cluster distinguishes /api/web/position/* [position service] from /api/web/applicant/* and /api/web/resume/* [applicant service, auth-gated]). Body shape still needs validation against a real candidate session.",
307
308
  }),
308
309
  };
309
310
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
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",