job-pro 1.0.58 → 1.0.60

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
@@ -162,6 +162,10 @@ const ENDPOINT_VERIFIED = new Set([
162
162
  "tencent",
163
163
  // verified via JS-bundle path extraction + cross-domain check (1.0.58)
164
164
  "jd",
165
+ // probe-verified via Spring 500 + JS-bundle sub-tree discovery (1.0.59)
166
+ "oppo",
167
+ // probe-verified via JS-bundle extraction (1.0.60)
168
+ "trip",
165
169
  ]);
166
170
  const HELP = `
167
171
  job-pro — query Chinese big-tech campus recruiting from your terminal
package/dist/oppo.js CHANGED
@@ -276,9 +276,10 @@ export async function fetchApplicationSchema(postId) {
276
276
  postId: id,
277
277
  jobTitle: title,
278
278
  applyUrl,
279
- submitEndpoint: "https://careers.oppo.com/openapi/position/apply",
279
+ submitEndpoint: "https://careers.oppo.com/api/delivery/saveDelivery",
280
280
  submitKind: "multipart-session",
281
- submitNotes: "OPPO — POST /openapi/position/apply with session cookie. Endpoint inferred from /openapi/position/pageNew read pattern; needs validation.",
281
+ endpointVerified: true,
282
+ submitNotes: "OPPO — POST /api/delivery/saveDelivery with session cookie. Endpoint anon-probed → HTTP 500 + Spring \"Internal Server Error\" (real Spring controller; the /api/delivery/* sub-tree was discovered by reading the SPA's resume-787081aa.js chunk which references /api/delivery/getDeliveryInfo etc, then probing siblings — all 7 candidates returned 500 = real routes). The original /openapi/position/apply returned structured 404 from a different Spring service. Body shape still needs validation.",
282
283
  }),
283
284
  };
284
285
  }
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.58",
3
+ "version": "1.0.60",
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",