universal-parcel-scraper 0.60.0-main.736 → 0.60.1-main.737

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.
@@ -4191,6 +4191,29 @@
4191
4191
  "j-and-t"
4192
4192
  ]
4193
4193
  },
4194
+ {
4195
+ "input": "174223955525",
4196
+ "carrier": "unknown",
4197
+ "confidence": "low",
4198
+ "candidates": [
4199
+ "dpd-fr",
4200
+ "mondial-relay",
4201
+ "colis-prive",
4202
+ "mrw",
4203
+ "brt",
4204
+ "sf-express",
4205
+ "sto",
4206
+ "zto",
4207
+ "j-and-t",
4208
+ "lbc-express"
4209
+ ],
4210
+ "asked": [
4211
+ "brt",
4212
+ "colis-prive",
4213
+ "sto",
4214
+ "j-and-t"
4215
+ ]
4216
+ },
4194
4217
  {
4195
4218
  "input": "174570000102955436",
4196
4219
  "carrier": "unknown",
@@ -7322,6 +7345,28 @@
7322
7345
  "dhl-ecommerce-pl"
7323
7346
  ]
7324
7347
  },
7348
+ {
7349
+ "input": "362452353241",
7350
+ "carrier": "unknown",
7351
+ "confidence": "low",
7352
+ "candidates": [
7353
+ "mondial-relay",
7354
+ "colis-prive",
7355
+ "mrw",
7356
+ "brt",
7357
+ "sf-express",
7358
+ "sto",
7359
+ "zto",
7360
+ "j-and-t",
7361
+ "lbc-express"
7362
+ ],
7363
+ "asked": [
7364
+ "brt",
7365
+ "colis-prive",
7366
+ "sto",
7367
+ "j-and-t"
7368
+ ]
7369
+ },
7325
7370
  {
7326
7371
  "input": "36570542917",
7327
7372
  "carrier": "unknown",
@@ -11454,6 +11499,25 @@
11454
11499
  "brt"
11455
11500
  ]
11456
11501
  },
11502
+ {
11503
+ "input": "81208398627",
11504
+ "carrier": "unknown",
11505
+ "confidence": "low",
11506
+ "candidates": [
11507
+ "postlogistics",
11508
+ "gls-ch",
11509
+ "gls-fr",
11510
+ "gls-de",
11511
+ "dhl-ecommerce-pl"
11512
+ ],
11513
+ "asked": [
11514
+ "gls-fr",
11515
+ "gls-ch",
11516
+ "gls-de",
11517
+ "postlogistics",
11518
+ "dhl-ecommerce-pl"
11519
+ ]
11520
+ },
11457
11521
  {
11458
11522
  "input": "8204200864763",
11459
11523
  "carrier": "unknown",
@@ -130,11 +130,16 @@ export async function readLbcMobile(number, options) {
130
130
  provider: 'lbc-express', maxBytes: MAX_BYTES, timeoutMs: options.timeoutMs, fetcher: options.fetcher,
131
131
  allowHttpStatuses: [401, 403, 404, 410],
132
132
  });
133
+ const xml = decodeText(bytes);
134
+ if (/<(?:html|!doctype html)\b/i.test(xml) && /DNS points to prohibited IP/i.test(xml) && /\bCloudflare\b/i.test(xml)) {
135
+ throw new TransportError('lbc-express', 'LBC tracking API origin is unavailable', {
136
+ status: response.status >= 400 ? response.status : undefined,
137
+ });
138
+ }
133
139
  if ([401, 403].includes(response.status))
134
140
  throw new ChallengeError('lbc-express', 'LBC refused the tracking API credential');
135
141
  if ([404, 410].includes(response.status))
136
142
  throw new TransportError('lbc-express', 'LBC tracking API is unavailable', { status: response.status });
137
- const xml = decodeText(bytes);
138
143
  if (/<(?:html|!doctype html)\b/i.test(xml) && /captcha|cloudflare|access denied|challenge/i.test(xml))
139
144
  throw new ChallengeError('lbc-express');
140
145
  if (response.status !== 200)
@@ -193,6 +193,95 @@
193
193
  ]
194
194
  },
195
195
  "note": "An LBC tracking page archived by the Wayback Machine shows its history: a box sent from the United States."
196
+ },
197
+ {
198
+ "number": "174223955525",
199
+ "source": {
200
+ "url": "https://www.complaintsboard.com/lbc-express-b119786",
201
+ "access": "indexed_excerpt"
202
+ },
203
+ "role": "quarantined",
204
+ "evidence": "public_shipment_report",
205
+ "quarantine": true,
206
+ "context": {
207
+ "assessment": "quarantine",
208
+ "reportedRole": "reported_shipment"
209
+ },
210
+ "expect": {
211
+ "carrier": "unknown",
212
+ "confidence": "low",
213
+ "candidates": [
214
+ "dpd-fr",
215
+ "mondial-relay",
216
+ "colis-prive",
217
+ "mrw",
218
+ "brt",
219
+ "sf-express",
220
+ "sto",
221
+ "zto",
222
+ "j-and-t",
223
+ "lbc-express"
224
+ ]
225
+ },
226
+ "note": "The source attributes this identifier to LBC; the public page echoes it without usable scans. Carrier confirmation remains unresolved."
227
+ },
228
+ {
229
+ "number": "81208398627",
230
+ "source": {
231
+ "url": "https://ecs.doh.gov.ph/images/BAC_RESOLUTIONS/2026/BAC_Resolution_No_2026-03-236_Panamed_Request_Granted_compressed.pdf",
232
+ "access": "indexed_excerpt"
233
+ },
234
+ "role": "quarantined",
235
+ "evidence": "public_shipment_report",
236
+ "quarantine": true,
237
+ "context": {
238
+ "assessment": "quarantine",
239
+ "reportedRole": "shipment_tracking_screenshot"
240
+ },
241
+ "expect": {
242
+ "carrier": "unknown",
243
+ "confidence": "low",
244
+ "candidates": [
245
+ "postlogistics",
246
+ "gls-ch",
247
+ "gls-fr",
248
+ "gls-de",
249
+ "dhl-ecommerce-pl"
250
+ ]
251
+ },
252
+ "note": "The source attributes this identifier to LBC; the public page echoes it without usable scans. Carrier confirmation remains unresolved."
253
+ },
254
+ {
255
+ "number": "362452353241",
256
+ "source": {
257
+ "url": "https://www.reddit.com/r/lbcexpress/comments/1x1hszp/failed_delivery_attempt/",
258
+ "date": "2026-10-09",
259
+ "dateKind": "comment",
260
+ "access": "full_page"
261
+ },
262
+ "role": "quarantined",
263
+ "evidence": "public_shipment_report",
264
+ "quarantine": true,
265
+ "context": {
266
+ "assessment": "quarantine",
267
+ "reportedRole": "reported_shipment"
268
+ },
269
+ "expect": {
270
+ "carrier": "unknown",
271
+ "confidence": "low",
272
+ "candidates": [
273
+ "mondial-relay",
274
+ "colis-prive",
275
+ "mrw",
276
+ "brt",
277
+ "sf-express",
278
+ "sto",
279
+ "zto",
280
+ "j-and-t",
281
+ "lbc-express"
282
+ ]
283
+ },
284
+ "note": "The source attributes this identifier to LBC; the public page echoes it without usable scans. Carrier confirmation remains unresolved."
196
285
  }
197
286
  ]
198
287
  }
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Universal Parcel Scraper",
5
- "version": "0.60.0"
5
+ "version": "0.60.1"
6
6
  },
7
7
  "paths": {
8
8
  "/health": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "universal-parcel-scraper",
3
- "version": "0.60.0-main.736",
3
+ "version": "0.60.1-main.737",
4
4
  "description": "Self-hosted parcel tracking: carrier detection, dedicated scrapers and optional universal providers.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",