job-pro 1.0.57 → 1.0.59

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
@@ -160,6 +160,10 @@ const ENDPOINT_VERIFIED = new Set([
160
160
  "baidu",
161
161
  // probe-verified via JS-bundle string extraction (1.0.57)
162
162
  "tencent",
163
+ // verified via JS-bundle path extraction + cross-domain check (1.0.58)
164
+ "jd",
165
+ // probe-verified via Spring 500 + JS-bundle sub-tree discovery (1.0.59)
166
+ "oppo",
163
167
  ]);
164
168
  const HELP = `
165
169
  job-pro — query Chinese big-tech campus recruiting from your terminal
package/dist/jd.js CHANGED
@@ -550,9 +550,10 @@ export async function fetchApplicationSchema(postId) {
550
550
  postId: id,
551
551
  jobTitle: title,
552
552
  applyUrl,
553
- submitEndpoint: "https://campus.jd.com/web/job/apply",
553
+ submitEndpoint: "https://wutongzhaopin.jd.com/api/wx/delivery",
554
554
  submitKind: "multipart-session",
555
- submitNotes: "JD — POST /web/job/apply with session cookie. Endpoint inferred from campus.jd.com SPA; needs validation.",
555
+ endpointVerified: true,
556
+ submitNotes: "JD — POST /api/wx/delivery on wutongzhaopin.jd.com (JD's careers backend). Endpoint extracted from the campus.jd.com SPA's umi.js bundle (gzip-decompressed); also documented sibling routes /api/wx/activityDelivery/activityDelivery, /api/wx/favorites/add, /api/wx/delivery/list. The campus.jd.com frontend domain serves SPA HTML only; XHR traffic targets wutongzhaopin.jd.com. Requires session cookies + JD passport login. Probe from US IP returns ECONNRESET (geo-fenced); the URL is verified via static JS-bundle analysis, not live anonymous probe.",
556
557
  }),
557
558
  };
558
559
  }
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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.57",
3
+ "version": "1.0.59",
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",