job-pro 1.0.59 → 1.0.61

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
@@ -164,6 +164,8 @@ const ENDPOINT_VERIFIED = new Set([
164
164
  "jd",
165
165
  // probe-verified via Spring 500 + JS-bundle sub-tree discovery (1.0.59)
166
166
  "oppo",
167
+ // probe-verified via JS-bundle extraction (1.0.60)
168
+ "trip",
167
169
  ]);
168
170
  const HELP = `
169
171
  job-pro — query Chinese big-tech campus recruiting from your terminal
package/dist/trip.js CHANGED
@@ -387,9 +387,10 @@ export async function fetchApplicationSchema(postId) {
387
387
  postId: id,
388
388
  jobTitle: title,
389
389
  applyUrl,
390
- submitEndpoint: "https://careers.ctrip.com/api/jobs/apply",
390
+ submitEndpoint: "https://careers.ctrip.com/api/hrrecruit/applyJob",
391
391
  submitKind: "multipart-session",
392
- submitNotes: "Trip.com — POST /api/jobs/apply with session cookie. Endpoint inferred; needs validation.",
392
+ endpointVerified: true,
393
+ submitNotes: "Trip.com — POST /api/hrrecruit/applyJob with session cookie. Endpoint extracted from the careers SPA main.ad2ffe67.js bundle (sibling routes /api/hrrecruit/getJobAd, /getLoginInfo, /getNewsDetail, etc). Anon-probed → HTTP 200 + Ctrip ResponseStatus envelope {Ack:\"Success\", retCode:\"402\", retMessage:\"没有当前用户\"} — real API, auth-gated. Body shape still needs validation.",
393
394
  }),
394
395
  };
395
396
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.59",
3
+ "version": "1.0.61",
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",