job-pro 1.0.53 → 1.0.55
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 +4 -0
- package/dist/xiaohongshu.js +3 -2
- 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
|
@@ -154,6 +154,10 @@ const ENDPOINT_VERIFIED = new Set([
|
|
|
154
154
|
"byd",
|
|
155
155
|
// probe-verified via re-routed sub-tree (1.0.53)
|
|
156
156
|
"bilibili",
|
|
157
|
+
// probe-verified via host-root path (1.0.54)
|
|
158
|
+
"xiaohongshu",
|
|
159
|
+
// probe-verified via host-root + auth-middleware (1.0.55)
|
|
160
|
+
"baidu",
|
|
157
161
|
]);
|
|
158
162
|
const HELP = `
|
|
159
163
|
job-pro — query Chinese big-tech campus recruiting from your terminal
|
package/dist/xiaohongshu.js
CHANGED
|
@@ -471,9 +471,10 @@ export async function fetchApplicationSchema(postId) {
|
|
|
471
471
|
postId: id,
|
|
472
472
|
jobTitle: title,
|
|
473
473
|
applyUrl,
|
|
474
|
-
submitEndpoint: "https://job.xiaohongshu.com/
|
|
474
|
+
submitEndpoint: "https://job.xiaohongshu.com/recruit/apply",
|
|
475
475
|
submitKind: "multipart-session",
|
|
476
|
-
|
|
476
|
+
endpointVerified: true,
|
|
477
|
+
submitNotes: "Xiaohongshu — POST /recruit/apply (no /api/ prefix) with session cookie. Endpoint anon-probed → HTTP 401 + {success:false, errorCode:401, alertMsg:\"请登录\"} (real apply route; the /api/* prefix returns 404 HTML, but the path lives at the host root). Body shape still needs validation.",
|
|
477
478
|
}),
|
|
478
479
|
};
|
|
479
480
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "job-pro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
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",
|