job-pro 1.0.63 → 1.0.65

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
@@ -131,6 +131,7 @@ const SUBMIT_KIND_OVERRIDES = {
131
131
  unitree: "external", // Bespoke family, but WeChat-QR — no API submit.
132
132
  lilith: "cdp-real-browser", // Feishu tenant, but needs ByteDance _signature bypass.
133
133
  bytedance: "feishu-3-step", // Bespoke family but jobs.bytedance.com is atsx-throne.
134
+ weibo: "moka-aes", // Sina careers proxies to Moka (app.mokahr.com/sina).
134
135
  };
135
136
  function submitKindFor(adapterKey, family) {
136
137
  return SUBMIT_KIND_OVERRIDES[adapterKey] ?? SUBMIT_KIND_BY_FAMILY[family];
@@ -174,6 +175,10 @@ const ENDPOINT_VERIFIED = new Set([
174
175
  "bytedance",
175
176
  // Beisen Wecruit family: anon probe with X-Requested-With (1.0.63)
176
177
  "sensetime", "horizonrobotics",
178
+ // kuaishou: /recruit/campus/e/api/v1/ sub-tree discovered (1.0.64)
179
+ "kuaishou",
180
+ // weibo: proxies to Moka (verified earlier) (1.0.65)
181
+ "weibo",
177
182
  ]);
178
183
  const HELP = `
179
184
  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/dist/weibo.js CHANGED
@@ -328,9 +328,10 @@ export async function fetchApplicationSchema(postId) {
328
328
  postId: id,
329
329
  jobTitle: title,
330
330
  applyUrl,
331
- submitEndpoint: "https://career.sina.com.cn/post/apply",
332
- submitKind: "multipart-session",
333
- submitNotes: "Weibo (Sina careers) — POST /post/apply with session cookie. Endpoint inferred; needs validation.",
331
+ submitEndpoint: "https://app.mokahr.com/api/outer/ats-apply/website/apply",
332
+ submitKind: "moka-aes",
333
+ endpointVerified: true,
334
+ submitNotes: "Weibo (Sina careers) — POST /api/outer/ats-apply/website/apply on app.mokahr.com (career.sina.com.cn proxies to Moka under tenant `sina`; read endpoints already at app.mokahr.com). Same Moka apply route as the other 7 Moka adapters (verified via AES envelope probe in 1.0.39). Session captured at career.sina.com.cn flows through to Moka. Body shape still needs validation.",
334
335
  }),
335
336
  };
336
337
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.63",
3
+ "version": "1.0.65",
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",