job-pro 1.0.53 → 1.0.54
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 +2 -0
- package/dist/xiaohongshu.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -154,6 +154,8 @@ 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",
|
|
157
159
|
]);
|
|
158
160
|
const HELP = `
|
|
159
161
|
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.54",
|
|
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",
|