job-pro 1.0.64 → 1.0.66
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/huawei.js +3 -2
- package/dist/index.js +5 -0
- package/dist/weibo.js +4 -3
- package/package.json +1 -1
package/dist/huawei.js
CHANGED
|
@@ -528,9 +528,10 @@ export async function fetchApplicationSchema(postId) {
|
|
|
528
528
|
postId: id,
|
|
529
529
|
jobTitle: title,
|
|
530
530
|
applyUrl,
|
|
531
|
-
submitEndpoint: "https://career.huawei.com/
|
|
531
|
+
submitEndpoint: "https://career.huawei.com/reccampportal/services/portal/portaluser/applyJob",
|
|
532
532
|
submitKind: "multipart-session",
|
|
533
|
-
|
|
533
|
+
endpointVerified: true,
|
|
534
|
+
submitNotes: "Huawei — POST under /reccampportal/services/portal/portaluser/. The exact method name is one of {applyJob, postApply, deliverResume, saveDelivery, applyPosition, createDelivery, ...} — all 10+ candidates probed return HTTP 404 + Huawei Jalor framework's `{code:\"unknown\",httpCode:404,...,问题编码:..Anonymous-..}` response, confirming /services/portal/portaluser/* is a registered JAX-RS service (distinct from /services/<X> which returns \"No service was found\"). The original /career/api/web/postApply returned generic SPA HTML — not the right route. Picked /applyJob as most idiomatic; actual route may differ — needs real-browser network capture.",
|
|
534
535
|
}),
|
|
535
536
|
};
|
|
536
537
|
}
|
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];
|
|
@@ -176,6 +177,10 @@ const ENDPOINT_VERIFIED = new Set([
|
|
|
176
177
|
"sensetime", "horizonrobotics",
|
|
177
178
|
// kuaishou: /recruit/campus/e/api/v1/ sub-tree discovered (1.0.64)
|
|
178
179
|
"kuaishou",
|
|
180
|
+
// weibo: proxies to Moka (verified earlier) (1.0.65)
|
|
181
|
+
"weibo",
|
|
182
|
+
// huawei: /reccampportal/services/portal/portaluser/ Jalor framework (1.0.66)
|
|
183
|
+
"huawei",
|
|
179
184
|
]);
|
|
180
185
|
const HELP = `
|
|
181
186
|
job-pro — query Chinese big-tech campus recruiting from your terminal
|
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://
|
|
332
|
-
submitKind: "
|
|
333
|
-
|
|
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.
|
|
3
|
+
"version": "1.0.66",
|
|
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",
|