job-pro 1.0.46 → 1.0.47
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 +4 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1228,6 +1228,10 @@ async function main() {
|
|
|
1228
1228
|
: Object.keys(ADAPTERS);
|
|
1229
1229
|
function classify(status, body, contentType) {
|
|
1230
1230
|
const isHTML = contentType.includes("html") || body.trim().startsWith("<");
|
|
1231
|
+
// 5xx + any body = handler threw on us, route exists. IIS / Spring
|
|
1232
|
+
// generic 500 templates are HTML but still real-route signals.
|
|
1233
|
+
if (status >= 500)
|
|
1234
|
+
return "verified-real";
|
|
1231
1235
|
if (status === 404)
|
|
1232
1236
|
return isHTML ? "html-fallthrough" : "speculative-404";
|
|
1233
1237
|
if (isHTML)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "job-pro",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
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",
|