job-pro 1.0.56 → 1.0.58

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
@@ -158,6 +158,10 @@ const ENDPOINT_VERIFIED = new Set([
158
158
  "xiaohongshu",
159
159
  // probe-verified via host-root + auth-middleware (1.0.55)
160
160
  "baidu",
161
+ // probe-verified via JS-bundle string extraction (1.0.57)
162
+ "tencent",
163
+ // verified via JS-bundle path extraction + cross-domain check (1.0.58)
164
+ "jd",
161
165
  ]);
162
166
  const HELP = `
163
167
  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/tencent.js CHANGED
@@ -761,9 +761,10 @@ export async function fetchApplicationSchema(postId) {
761
761
  postId: id,
762
762
  jobTitle: title,
763
763
  applyUrl,
764
- submitEndpoint: "https://join.qq.com/api/v1/position/applyResume",
764
+ submitEndpoint: "https://join.qq.com/api/v1/resume/bindResume",
765
765
  submitKind: "multipart-session",
766
- submitNotes: "Tencent join.qq.com — POST /api/v1/position/applyResume with session cookie + CSRF. Endpoint inferred from python-reference/tencent.py + WorkBuddy skill bundle; not yet verified against live submit.",
766
+ endpointVerified: true,
767
+ submitNotes: "Tencent join.qq.com — POST /api/v1/resume/bindResume with session cookie + CSRF. Endpoint extracted from join.qq.com's p_zh-cn_post_detail.build.js bundle (sibling action endpoints /openResume, /saveResumeInfo, /uploadFile all probed → 200 + {message:\"未登录或登录已过期\",status:401}). bindResume is the route that binds a saved resume to a specific post = the apply action. Body shape still needs validation against a real candidate session.",
767
768
  }),
768
769
  };
769
770
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job-pro",
3
- "version": "1.0.56",
3
+ "version": "1.0.58",
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",