job-pro 1.0.81 → 1.0.82
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 +7 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1288,13 +1288,16 @@ async function main() {
|
|
|
1288
1288
|
const results = await Promise.all(scope.map(async (company) => {
|
|
1289
1289
|
// lilith uses CDP (puppeteer launches Chrome) — its withTimeout
|
|
1290
1290
|
// returns but the browser handle keeps the event loop alive, so
|
|
1291
|
-
// the process never exits
|
|
1292
|
-
//
|
|
1293
|
-
|
|
1291
|
+
// the process never exits during a 50-company sweep. Skip when
|
|
1292
|
+
// we're running a default/broad sweep; only probe lilith if the
|
|
1293
|
+
// user explicitly scoped --companies and lilith is the ONLY one
|
|
1294
|
+
// (so they're knowingly waiting for a CDP launch).
|
|
1295
|
+
const lilithScopedExplicit = scope.length === 1 && scope[0] === "lilith";
|
|
1296
|
+
if (company === "lilith" && !lilithScopedExplicit) {
|
|
1294
1297
|
// lilith is in ENDPOINT_VERIFIED but we skip the probe (would
|
|
1295
1298
|
// hang puppeteer). Surface the already_verified status so the
|
|
1296
1299
|
// icon shows ⚠ ("schema verified, probe skipped") not "?".
|
|
1297
|
-
return { company, classification: "probe-error", detail: "skipped — CDP adapter (puppeteer); pass --companies=lilith
|
|
1300
|
+
return { company, classification: "probe-error", detail: "skipped — CDP adapter (puppeteer); pass --companies=lilith alone to probe", already_verified: true };
|
|
1298
1301
|
}
|
|
1299
1302
|
const adapter = ADAPTERS[company];
|
|
1300
1303
|
if (!adapter)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "job-pro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.82",
|
|
4
4
|
"description": "Query Chinese big-tech campus recruiting + auto-apply from your terminal. 50 companies, all 50 live (46 via official APIs, 4 via Liepin third-party fallback). 45/50 with end-to-end verified apply endpoints; 5 structurally-external (Liepin IM × 4 + Unitree WeChat). No signup, no token, no server.",
|
|
5
5
|
"homepage": "https://job.ha7ch.com",
|
|
6
6
|
"repository": "https://github.com/HA7CH/job-pro",
|