job-pro 1.0.63 → 1.0.64

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
@@ -174,6 +174,8 @@ const ENDPOINT_VERIFIED = new Set([
174
174
  "bytedance",
175
175
  // Beisen Wecruit family: anon probe with X-Requested-With (1.0.63)
176
176
  "sensetime", "horizonrobotics",
177
+ // kuaishou: /recruit/campus/e/api/v1/ sub-tree discovered (1.0.64)
178
+ "kuaishou",
177
179
  ]);
178
180
  const HELP = `
179
181
  job-pro — query Chinese big-tech campus recruiting from your terminal
package/dist/kuaishou.js CHANGED
@@ -487,9 +487,10 @@ export async function fetchApplicationSchema(postId) {
487
487
  postId: id,
488
488
  jobTitle: title,
489
489
  applyUrl,
490
- submitEndpoint: "https://campus.kuaishou.cn/rest/campus-recruit/post/deliver",
490
+ submitEndpoint: "https://campus.kuaishou.cn/recruit/campus/e/api/v1/apply/internship/apply",
491
491
  submitKind: "multipart-session",
492
- submitNotes: "Kuaishou — POST /rest/campus-recruit/post/deliver with session cookie. Endpoint inferred; needs validation.",
492
+ endpointVerified: true,
493
+ submitNotes: "Kuaishou — POST /recruit/campus/e/api/v1/apply/internship/apply with session cookie. Endpoint extracted from main.e3c87842.js bundle (the /recruit/campus/e/api/v1/ sub-tree has /apply/internship/apply, /apply/operate/apply, /apply/check, /apply/add/record, /resume/upload, /files/upload etc — all probe to 401 + {code:40008,message:\"user.not.login\"} = real REST routes). The /rest/campus-recruit/ prefix in earlier inference was wrong; the real backend mounts at /recruit/campus/e/api/v1/. Requires SSO login via /recruit/campus/e/login/cas.",
493
494
  }),
494
495
  };
495
496
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
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",