job-pro 1.0.54 → 1.0.56
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/baidu.js +3 -2
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/baidu.js
CHANGED
|
@@ -443,9 +443,10 @@ export async function fetchApplicationSchema(postId) {
|
|
|
443
443
|
postId: id,
|
|
444
444
|
jobTitle: title,
|
|
445
445
|
applyUrl,
|
|
446
|
-
submitEndpoint: "https://talent.baidu.com/
|
|
446
|
+
submitEndpoint: "https://talent.baidu.com/applyJob.json",
|
|
447
447
|
submitKind: "multipart-session",
|
|
448
|
-
|
|
448
|
+
endpointVerified: true,
|
|
449
|
+
submitNotes: "Baidu — POST /applyJob.json (host root) with session cookie. Endpoint anon-probed → HTTP 200 + {status:\"need-login\",message:\"need login!\"} (real auth-middleware gateway; the original /external/baidu/ prefix returns 404 HTML but the gateway lives at host root). Body shape still needs validation.",
|
|
449
450
|
}),
|
|
450
451
|
};
|
|
451
452
|
}
|
package/dist/index.js
CHANGED
|
@@ -156,6 +156,8 @@ const ENDPOINT_VERIFIED = new Set([
|
|
|
156
156
|
"bilibili",
|
|
157
157
|
// probe-verified via host-root path (1.0.54)
|
|
158
158
|
"xiaohongshu",
|
|
159
|
+
// probe-verified via host-root + auth-middleware (1.0.55)
|
|
160
|
+
"baidu",
|
|
159
161
|
]);
|
|
160
162
|
const HELP = `
|
|
161
163
|
job-pro — query Chinese big-tech campus recruiting from your terminal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "job-pro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.56",
|
|
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",
|