universal-parcel-scraper 0.83.0-main.951 → 0.84.1-main.957
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/data/catalog.json +50 -3
- package/data/detection-golden.json +294 -13
- package/dist/browser/scraper.js +1358 -1293
- package/dist/carriers/aliexpress/carrier.json +60 -0
- package/dist/carriers/aliexpress/numbers.json +498 -5
- package/dist/carriers/bpost/carrier.json +1 -1
- package/dist/carriers/bpost/numbers.json +29 -3
- package/dist/carriers/dhl-ecommerce-es/carrier.json +1 -1
- package/dist/carriers/dpd-ie/carrier.json +0 -1
- package/dist/carriers/poste-italiane/numbers.json +2 -1
- package/dist/core/detection/parse.d.ts +3 -1
- package/dist/core/detection/parse.js +18 -12
- package/dist/data/catalog.json +50 -3
- package/dist/generated/catalog.d.ts +38 -3
- package/dist/generated/catalog.js +51 -4
- package/dist/server/openapi.json +1 -1
- package/package.json +1 -1
package/data/catalog.json
CHANGED
|
@@ -228,6 +228,54 @@
|
|
|
228
228
|
"pattern": "^LP\\d{14}$",
|
|
229
229
|
"confidence": "low"
|
|
230
230
|
},
|
|
231
|
+
{
|
|
232
|
+
"pattern": "^AP\\d{14}$",
|
|
233
|
+
"confidence": "low"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"pattern": "^CNBR\\d{11}$",
|
|
237
|
+
"confidence": "low"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"pattern": "^CNMEX\\d{10}$",
|
|
241
|
+
"confidence": "low"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"pattern": "^CNUSUP\\d{11}$",
|
|
245
|
+
"confidence": "low"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"pattern": "^CACAINIAO\\d{11}$",
|
|
249
|
+
"confidence": "low"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"pattern": "^RL[A-Z]{1,2}\\d{8}$",
|
|
253
|
+
"confidence": "low"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"pattern": "^JNCN\\d{12}$",
|
|
257
|
+
"confidence": "low"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"pattern": "^ECSC00AARO\\d{8}$",
|
|
261
|
+
"confidence": "low"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"pattern": "^PA0{2}\\d{8}$",
|
|
265
|
+
"confidence": "low"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"pattern": "^F0{6}\\d{8}$",
|
|
269
|
+
"confidence": "low"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"pattern": "^9C\\d{4}I\\d{6}$",
|
|
273
|
+
"confidence": "low"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"pattern": "^\\d{3}[A-Z]\\d{8}[A-Z]$",
|
|
277
|
+
"confidence": "low"
|
|
278
|
+
},
|
|
231
279
|
{
|
|
232
280
|
"pattern": "^[A-Z]{2}\\d{9}TY$",
|
|
233
281
|
"confidence": "low",
|
|
@@ -2145,7 +2193,7 @@
|
|
|
2145
2193
|
"confidence": "low"
|
|
2146
2194
|
},
|
|
2147
2195
|
{
|
|
2148
|
-
"pattern": "^[A-Z]{2}\\d{9}BE$",
|
|
2196
|
+
"pattern": "^(?!U)[A-Z]{2}\\d{9}BE$",
|
|
2149
2197
|
"confidence": "high",
|
|
2150
2198
|
"checksum": "s10"
|
|
2151
2199
|
},
|
|
@@ -5220,7 +5268,7 @@
|
|
|
5220
5268
|
"domains": [
|
|
5221
5269
|
"clientesparcel.dhl.es"
|
|
5222
5270
|
],
|
|
5223
|
-
"path": "^/LiveTracking/ModificarEnvio/([^/?#]+)
|
|
5271
|
+
"path": "^/LiveTracking/(?:ModificarEnvio|ModificarMeuEnvio|ModifyMyShipment)/([^/?#]+)(?:/[^/?#]+)?/?$"
|
|
5224
5272
|
}
|
|
5225
5273
|
],
|
|
5226
5274
|
"detectionRules": [
|
|
@@ -5504,7 +5552,6 @@
|
|
|
5504
5552
|
"domains": [
|
|
5505
5553
|
"dpd.ie"
|
|
5506
5554
|
],
|
|
5507
|
-
"pathPattern": "^/tracking/?$",
|
|
5508
5555
|
"params": [
|
|
5509
5556
|
"consignmentNumber"
|
|
5510
5557
|
]
|
|
@@ -381,6 +381,19 @@
|
|
|
381
381
|
"ctt-express"
|
|
382
382
|
]
|
|
383
383
|
},
|
|
384
|
+
{
|
|
385
|
+
"input": "000D00000001F",
|
|
386
|
+
"carrier": "unknown",
|
|
387
|
+
"confidence": "low",
|
|
388
|
+
"candidates": [
|
|
389
|
+
"aliexpress",
|
|
390
|
+
"poste-italiane"
|
|
391
|
+
],
|
|
392
|
+
"asked": [
|
|
393
|
+
"poste-italiane",
|
|
394
|
+
"aliexpress"
|
|
395
|
+
]
|
|
396
|
+
},
|
|
384
397
|
{
|
|
385
398
|
"input": "001-0255371",
|
|
386
399
|
"carrier": "unknown",
|
|
@@ -24104,10 +24117,12 @@
|
|
|
24104
24117
|
"carrier": "unknown",
|
|
24105
24118
|
"confidence": "low",
|
|
24106
24119
|
"candidates": [
|
|
24120
|
+
"aliexpress",
|
|
24107
24121
|
"poste-italiane"
|
|
24108
24122
|
],
|
|
24109
24123
|
"asked": [
|
|
24110
|
-
"poste-italiane"
|
|
24124
|
+
"poste-italiane",
|
|
24125
|
+
"aliexpress"
|
|
24111
24126
|
]
|
|
24112
24127
|
},
|
|
24113
24128
|
{
|
|
@@ -24524,6 +24539,39 @@
|
|
|
24524
24539
|
"j-and-t"
|
|
24525
24540
|
]
|
|
24526
24541
|
},
|
|
24542
|
+
{
|
|
24543
|
+
"input": "9C9026I782253",
|
|
24544
|
+
"carrier": "unknown",
|
|
24545
|
+
"confidence": "low",
|
|
24546
|
+
"candidates": [
|
|
24547
|
+
"aliexpress"
|
|
24548
|
+
],
|
|
24549
|
+
"asked": [
|
|
24550
|
+
"aliexpress"
|
|
24551
|
+
]
|
|
24552
|
+
},
|
|
24553
|
+
{
|
|
24554
|
+
"input": "9C9431I611314",
|
|
24555
|
+
"carrier": "unknown",
|
|
24556
|
+
"confidence": "low",
|
|
24557
|
+
"candidates": [
|
|
24558
|
+
"aliexpress"
|
|
24559
|
+
],
|
|
24560
|
+
"asked": [
|
|
24561
|
+
"aliexpress"
|
|
24562
|
+
]
|
|
24563
|
+
},
|
|
24564
|
+
{
|
|
24565
|
+
"input": "9C9762I290955",
|
|
24566
|
+
"carrier": "unknown",
|
|
24567
|
+
"confidence": "low",
|
|
24568
|
+
"candidates": [
|
|
24569
|
+
"aliexpress"
|
|
24570
|
+
],
|
|
24571
|
+
"asked": [
|
|
24572
|
+
"aliexpress"
|
|
24573
|
+
]
|
|
24574
|
+
},
|
|
24527
24575
|
{
|
|
24528
24576
|
"input": "9L35756144302",
|
|
24529
24577
|
"carrier": "la-poste",
|
|
@@ -24858,14 +24906,24 @@
|
|
|
24858
24906
|
{
|
|
24859
24907
|
"input": "AP00821064969338",
|
|
24860
24908
|
"carrier": "unknown",
|
|
24861
|
-
"confidence": "
|
|
24862
|
-
"candidates": [
|
|
24909
|
+
"confidence": "low",
|
|
24910
|
+
"candidates": [
|
|
24911
|
+
"aliexpress"
|
|
24912
|
+
],
|
|
24913
|
+
"asked": [
|
|
24914
|
+
"aliexpress"
|
|
24915
|
+
]
|
|
24863
24916
|
},
|
|
24864
24917
|
{
|
|
24865
24918
|
"input": "AP00822511080252",
|
|
24866
24919
|
"carrier": "unknown",
|
|
24867
|
-
"confidence": "
|
|
24868
|
-
"candidates": [
|
|
24920
|
+
"confidence": "low",
|
|
24921
|
+
"candidates": [
|
|
24922
|
+
"aliexpress"
|
|
24923
|
+
],
|
|
24924
|
+
"asked": [
|
|
24925
|
+
"aliexpress"
|
|
24926
|
+
]
|
|
24869
24927
|
},
|
|
24870
24928
|
{
|
|
24871
24929
|
"input": "AP010001174127",
|
|
@@ -25392,6 +25450,28 @@
|
|
|
25392
25450
|
"dhl"
|
|
25393
25451
|
]
|
|
25394
25452
|
},
|
|
25453
|
+
{
|
|
25454
|
+
"input": "CACAINIAO00007302751",
|
|
25455
|
+
"carrier": "unknown",
|
|
25456
|
+
"confidence": "low",
|
|
25457
|
+
"candidates": [
|
|
25458
|
+
"aliexpress"
|
|
25459
|
+
],
|
|
25460
|
+
"asked": [
|
|
25461
|
+
"aliexpress"
|
|
25462
|
+
]
|
|
25463
|
+
},
|
|
25464
|
+
{
|
|
25465
|
+
"input": "CACAINIAO00008158948",
|
|
25466
|
+
"carrier": "unknown",
|
|
25467
|
+
"confidence": "low",
|
|
25468
|
+
"candidates": [
|
|
25469
|
+
"aliexpress"
|
|
25470
|
+
],
|
|
25471
|
+
"asked": [
|
|
25472
|
+
"aliexpress"
|
|
25473
|
+
]
|
|
25474
|
+
},
|
|
25395
25475
|
{
|
|
25396
25476
|
"input": "CB212298281IE",
|
|
25397
25477
|
"carrier": "an-post",
|
|
@@ -26297,11 +26377,27 @@
|
|
|
26297
26377
|
"chronopost"
|
|
26298
26378
|
]
|
|
26299
26379
|
},
|
|
26380
|
+
{
|
|
26381
|
+
"input": "CNBR00119503956",
|
|
26382
|
+
"carrier": "unknown",
|
|
26383
|
+
"confidence": "low",
|
|
26384
|
+
"candidates": [
|
|
26385
|
+
"aliexpress"
|
|
26386
|
+
],
|
|
26387
|
+
"asked": [
|
|
26388
|
+
"aliexpress"
|
|
26389
|
+
]
|
|
26390
|
+
},
|
|
26300
26391
|
{
|
|
26301
26392
|
"input": "CNBR00121186607",
|
|
26302
26393
|
"carrier": "unknown",
|
|
26303
|
-
"confidence": "
|
|
26304
|
-
"candidates": [
|
|
26394
|
+
"confidence": "low",
|
|
26395
|
+
"candidates": [
|
|
26396
|
+
"aliexpress"
|
|
26397
|
+
],
|
|
26398
|
+
"asked": [
|
|
26399
|
+
"aliexpress"
|
|
26400
|
+
]
|
|
26305
26401
|
},
|
|
26306
26402
|
{
|
|
26307
26403
|
"input": "CNESP00000123400000000001",
|
|
@@ -26346,11 +26442,27 @@
|
|
|
26346
26442
|
"aliexpress"
|
|
26347
26443
|
]
|
|
26348
26444
|
},
|
|
26445
|
+
{
|
|
26446
|
+
"input": "CNMEX1012833334",
|
|
26447
|
+
"carrier": "unknown",
|
|
26448
|
+
"confidence": "low",
|
|
26449
|
+
"candidates": [
|
|
26450
|
+
"aliexpress"
|
|
26451
|
+
],
|
|
26452
|
+
"asked": [
|
|
26453
|
+
"aliexpress"
|
|
26454
|
+
]
|
|
26455
|
+
},
|
|
26349
26456
|
{
|
|
26350
26457
|
"input": "CNMEX1040292876",
|
|
26351
26458
|
"carrier": "unknown",
|
|
26352
|
-
"confidence": "
|
|
26353
|
-
"candidates": [
|
|
26459
|
+
"confidence": "low",
|
|
26460
|
+
"candidates": [
|
|
26461
|
+
"aliexpress"
|
|
26462
|
+
],
|
|
26463
|
+
"asked": [
|
|
26464
|
+
"aliexpress"
|
|
26465
|
+
]
|
|
26354
26466
|
},
|
|
26355
26467
|
{
|
|
26356
26468
|
"input": "CNPRT00000001234000000001",
|
|
@@ -26377,14 +26489,29 @@
|
|
|
26377
26489
|
]
|
|
26378
26490
|
},
|
|
26379
26491
|
{
|
|
26380
|
-
"input": "
|
|
26492
|
+
"input": "CNUSUP00035889455",
|
|
26381
26493
|
"carrier": "unknown",
|
|
26382
26494
|
"confidence": "low",
|
|
26383
26495
|
"candidates": [
|
|
26496
|
+
"aliexpress",
|
|
26384
26497
|
"colis-prive"
|
|
26385
26498
|
],
|
|
26386
26499
|
"asked": [
|
|
26500
|
+
"colis-prive",
|
|
26501
|
+
"aliexpress"
|
|
26502
|
+
]
|
|
26503
|
+
},
|
|
26504
|
+
{
|
|
26505
|
+
"input": "CNUSUP00037458234",
|
|
26506
|
+
"carrier": "unknown",
|
|
26507
|
+
"confidence": "low",
|
|
26508
|
+
"candidates": [
|
|
26509
|
+
"aliexpress",
|
|
26387
26510
|
"colis-prive"
|
|
26511
|
+
],
|
|
26512
|
+
"asked": [
|
|
26513
|
+
"colis-prive",
|
|
26514
|
+
"aliexpress"
|
|
26388
26515
|
]
|
|
26389
26516
|
},
|
|
26390
26517
|
{
|
|
@@ -27383,6 +27510,28 @@
|
|
|
27383
27510
|
"parcelforce"
|
|
27384
27511
|
]
|
|
27385
27512
|
},
|
|
27513
|
+
{
|
|
27514
|
+
"input": "ECSC00AARO00659141",
|
|
27515
|
+
"carrier": "unknown",
|
|
27516
|
+
"confidence": "low",
|
|
27517
|
+
"candidates": [
|
|
27518
|
+
"aliexpress"
|
|
27519
|
+
],
|
|
27520
|
+
"asked": [
|
|
27521
|
+
"aliexpress"
|
|
27522
|
+
]
|
|
27523
|
+
},
|
|
27524
|
+
{
|
|
27525
|
+
"input": "ECSC00AARO01096011",
|
|
27526
|
+
"carrier": "unknown",
|
|
27527
|
+
"confidence": "low",
|
|
27528
|
+
"candidates": [
|
|
27529
|
+
"aliexpress"
|
|
27530
|
+
],
|
|
27531
|
+
"asked": [
|
|
27532
|
+
"aliexpress"
|
|
27533
|
+
]
|
|
27534
|
+
},
|
|
27386
27535
|
{
|
|
27387
27536
|
"input": "ED005806575GB",
|
|
27388
27537
|
"carrier": "parcelforce",
|
|
@@ -27445,6 +27594,17 @@
|
|
|
27445
27594
|
"speedpak"
|
|
27446
27595
|
]
|
|
27447
27596
|
},
|
|
27597
|
+
{
|
|
27598
|
+
"input": "EE123456789BE",
|
|
27599
|
+
"carrier": "unknown",
|
|
27600
|
+
"confidence": "low",
|
|
27601
|
+
"candidates": [
|
|
27602
|
+
"chronopost"
|
|
27603
|
+
],
|
|
27604
|
+
"asked": [
|
|
27605
|
+
"chronopost"
|
|
27606
|
+
]
|
|
27607
|
+
},
|
|
27448
27608
|
{
|
|
27449
27609
|
"input": "EE123456789PL",
|
|
27450
27610
|
"carrier": "unknown",
|
|
@@ -28147,6 +28307,28 @@
|
|
|
28147
28307
|
"chronopost"
|
|
28148
28308
|
]
|
|
28149
28309
|
},
|
|
28310
|
+
{
|
|
28311
|
+
"input": "F00000000399017",
|
|
28312
|
+
"carrier": "unknown",
|
|
28313
|
+
"confidence": "low",
|
|
28314
|
+
"candidates": [
|
|
28315
|
+
"aliexpress"
|
|
28316
|
+
],
|
|
28317
|
+
"asked": [
|
|
28318
|
+
"aliexpress"
|
|
28319
|
+
]
|
|
28320
|
+
},
|
|
28321
|
+
{
|
|
28322
|
+
"input": "F00000001648382",
|
|
28323
|
+
"carrier": "unknown",
|
|
28324
|
+
"confidence": "low",
|
|
28325
|
+
"candidates": [
|
|
28326
|
+
"aliexpress"
|
|
28327
|
+
],
|
|
28328
|
+
"asked": [
|
|
28329
|
+
"aliexpress"
|
|
28330
|
+
]
|
|
28331
|
+
},
|
|
28150
28332
|
{
|
|
28151
28333
|
"input": "F07429859",
|
|
28152
28334
|
"carrier": "unknown",
|
|
@@ -29597,6 +29779,28 @@
|
|
|
29597
29779
|
"chronopost"
|
|
29598
29780
|
]
|
|
29599
29781
|
},
|
|
29782
|
+
{
|
|
29783
|
+
"input": "JNCN000002060976",
|
|
29784
|
+
"carrier": "unknown",
|
|
29785
|
+
"confidence": "low",
|
|
29786
|
+
"candidates": [
|
|
29787
|
+
"aliexpress"
|
|
29788
|
+
],
|
|
29789
|
+
"asked": [
|
|
29790
|
+
"aliexpress"
|
|
29791
|
+
]
|
|
29792
|
+
},
|
|
29793
|
+
{
|
|
29794
|
+
"input": "JNCN000002500930",
|
|
29795
|
+
"carrier": "unknown",
|
|
29796
|
+
"confidence": "low",
|
|
29797
|
+
"candidates": [
|
|
29798
|
+
"aliexpress"
|
|
29799
|
+
],
|
|
29800
|
+
"asked": [
|
|
29801
|
+
"aliexpress"
|
|
29802
|
+
]
|
|
29803
|
+
},
|
|
29600
29804
|
{
|
|
29601
29805
|
"input": "JNTCU5900492581YQ",
|
|
29602
29806
|
"carrier": "unknown",
|
|
@@ -32326,6 +32530,32 @@
|
|
|
32326
32530
|
"chit-chats"
|
|
32327
32531
|
]
|
|
32328
32532
|
},
|
|
32533
|
+
{
|
|
32534
|
+
"input": "PA0000906429",
|
|
32535
|
+
"carrier": "unknown",
|
|
32536
|
+
"confidence": "low",
|
|
32537
|
+
"candidates": [
|
|
32538
|
+
"aliexpress",
|
|
32539
|
+
"colis-prive"
|
|
32540
|
+
],
|
|
32541
|
+
"asked": [
|
|
32542
|
+
"colis-prive",
|
|
32543
|
+
"aliexpress"
|
|
32544
|
+
]
|
|
32545
|
+
},
|
|
32546
|
+
{
|
|
32547
|
+
"input": "PA0002499628",
|
|
32548
|
+
"carrier": "unknown",
|
|
32549
|
+
"confidence": "low",
|
|
32550
|
+
"candidates": [
|
|
32551
|
+
"aliexpress",
|
|
32552
|
+
"colis-prive"
|
|
32553
|
+
],
|
|
32554
|
+
"asked": [
|
|
32555
|
+
"colis-prive",
|
|
32556
|
+
"aliexpress"
|
|
32557
|
+
]
|
|
32558
|
+
},
|
|
32329
32559
|
{
|
|
32330
32560
|
"input": "PA001273079CO",
|
|
32331
32561
|
"carrier": "unknown",
|
|
@@ -33469,6 +33699,54 @@
|
|
|
33469
33699
|
"swiss-post"
|
|
33470
33700
|
]
|
|
33471
33701
|
},
|
|
33702
|
+
{
|
|
33703
|
+
"input": "RLDW01120764",
|
|
33704
|
+
"carrier": "unknown",
|
|
33705
|
+
"confidence": "low",
|
|
33706
|
+
"candidates": [
|
|
33707
|
+
"aliexpress",
|
|
33708
|
+
"colis-prive"
|
|
33709
|
+
],
|
|
33710
|
+
"asked": [
|
|
33711
|
+
"colis-prive",
|
|
33712
|
+
"aliexpress"
|
|
33713
|
+
]
|
|
33714
|
+
},
|
|
33715
|
+
{
|
|
33716
|
+
"input": "RLFP00955135",
|
|
33717
|
+
"carrier": "unknown",
|
|
33718
|
+
"confidence": "low",
|
|
33719
|
+
"candidates": [
|
|
33720
|
+
"aliexpress",
|
|
33721
|
+
"colis-prive"
|
|
33722
|
+
],
|
|
33723
|
+
"asked": [
|
|
33724
|
+
"colis-prive",
|
|
33725
|
+
"aliexpress"
|
|
33726
|
+
]
|
|
33727
|
+
},
|
|
33728
|
+
{
|
|
33729
|
+
"input": "RLJ08063446",
|
|
33730
|
+
"carrier": "unknown",
|
|
33731
|
+
"confidence": "low",
|
|
33732
|
+
"candidates": [
|
|
33733
|
+
"aliexpress"
|
|
33734
|
+
],
|
|
33735
|
+
"asked": [
|
|
33736
|
+
"aliexpress"
|
|
33737
|
+
]
|
|
33738
|
+
},
|
|
33739
|
+
{
|
|
33740
|
+
"input": "RLV16180219",
|
|
33741
|
+
"carrier": "unknown",
|
|
33742
|
+
"confidence": "low",
|
|
33743
|
+
"candidates": [
|
|
33744
|
+
"aliexpress"
|
|
33745
|
+
],
|
|
33746
|
+
"asked": [
|
|
33747
|
+
"aliexpress"
|
|
33748
|
+
]
|
|
33749
|
+
},
|
|
33472
33750
|
{
|
|
33473
33751
|
"input": "RM011832659MX",
|
|
33474
33752
|
"carrier": "intl-post",
|
|
@@ -35111,10 +35389,13 @@
|
|
|
35111
35389
|
},
|
|
35112
35390
|
{
|
|
35113
35391
|
"input": "UI539489067BE",
|
|
35114
|
-
"carrier": "
|
|
35115
|
-
"confidence": "
|
|
35392
|
+
"carrier": "unknown",
|
|
35393
|
+
"confidence": "low",
|
|
35116
35394
|
"candidates": [
|
|
35117
|
-
"
|
|
35395
|
+
"chronopost"
|
|
35396
|
+
],
|
|
35397
|
+
"asked": [
|
|
35398
|
+
"chronopost"
|
|
35118
35399
|
]
|
|
35119
35400
|
},
|
|
35120
35401
|
{
|