universal-parcel-scraper 0.22.0-main.357 → 0.23.1-main.359
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 +11 -6
- package/data/detection-golden.json +10 -0
- package/dist/browser/scraper.js +9 -6
- package/dist/carriers/asendia/carrier.json +1 -1
- package/dist/carriers/ciblex/carrier.json +1 -1
- package/dist/carriers/colis-prive/carrier.json +1 -1
- package/dist/carriers/colisweb/carrier.json +1 -1
- package/dist/carriers/correos-chile/numbers.json +1 -0
- package/dist/carriers/dachser/numbers.json +1 -0
- package/dist/carriers/delhivery/numbers.json +2 -0
- package/dist/carriers/dpd-fr/numbers.json +1 -0
- package/dist/carriers/fedex/numbers.json +1 -0
- package/dist/carriers/four-px/carrier.json +1 -1
- package/dist/carriers/korea-post/numbers.json +1 -0
- package/dist/carriers/tnt/numbers.json +1 -0
- package/dist/carriers/ukrposhta/carrier.json +7 -1
- package/dist/carriers/ukrposhta/numbers.json +2 -1
- package/dist/carriers/yunda/numbers.json +1 -0
- package/dist/data/catalog.json +11 -6
- package/dist/generated/catalog.d.ts +9 -6
- package/dist/generated/catalog.js +11 -6
- package/dist/server/openapi.json +1 -1
- package/package.json +1 -1
package/data/catalog.json
CHANGED
|
@@ -1165,7 +1165,7 @@
|
|
|
1165
1165
|
},
|
|
1166
1166
|
"colis-prive": {
|
|
1167
1167
|
"displayName": "Colis Privé",
|
|
1168
|
-
"color": "#
|
|
1168
|
+
"color": "#aa78ff",
|
|
1169
1169
|
"aliases": [
|
|
1170
1170
|
"Colis Prive"
|
|
1171
1171
|
],
|
|
@@ -1238,7 +1238,7 @@
|
|
|
1238
1238
|
},
|
|
1239
1239
|
"colisweb": {
|
|
1240
1240
|
"displayName": "Colisweb",
|
|
1241
|
-
"color": "#
|
|
1241
|
+
"color": "#15cbe3",
|
|
1242
1242
|
"countries": [
|
|
1243
1243
|
"FR"
|
|
1244
1244
|
],
|
|
@@ -1337,7 +1337,7 @@
|
|
|
1337
1337
|
},
|
|
1338
1338
|
"ciblex": {
|
|
1339
1339
|
"displayName": "Ciblex",
|
|
1340
|
-
"color": "#
|
|
1340
|
+
"color": "#0160ab",
|
|
1341
1341
|
"aliases": [
|
|
1342
1342
|
"Ciblex Express"
|
|
1343
1343
|
],
|
|
@@ -1423,7 +1423,7 @@
|
|
|
1423
1423
|
},
|
|
1424
1424
|
"asendia": {
|
|
1425
1425
|
"displayName": "Asendia",
|
|
1426
|
-
"color": "#
|
|
1426
|
+
"color": "#005d69",
|
|
1427
1427
|
"aliases": [
|
|
1428
1428
|
"Asendia Management",
|
|
1429
1429
|
"Asendia UK",
|
|
@@ -2430,7 +2430,12 @@
|
|
|
2430
2430
|
]
|
|
2431
2431
|
}
|
|
2432
2432
|
],
|
|
2433
|
-
"detectionRules": [
|
|
2433
|
+
"detectionRules": [
|
|
2434
|
+
{
|
|
2435
|
+
"pattern": "^\\d{13}$",
|
|
2436
|
+
"confidence": "low"
|
|
2437
|
+
}
|
|
2438
|
+
]
|
|
2434
2439
|
},
|
|
2435
2440
|
"usps": {
|
|
2436
2441
|
"displayName": "USPS",
|
|
@@ -2991,7 +2996,7 @@
|
|
|
2991
2996
|
},
|
|
2992
2997
|
"four-px": {
|
|
2993
2998
|
"displayName": "4PX",
|
|
2994
|
-
"color": "#
|
|
2999
|
+
"color": "#005add",
|
|
2995
3000
|
"countries": [
|
|
2996
3001
|
"CN"
|
|
2997
3002
|
],
|
|
@@ -687,6 +687,7 @@
|
|
|
687
687
|
"candidates": [
|
|
688
688
|
"dpd-fr",
|
|
689
689
|
"la-poste",
|
|
690
|
+
"ukrposhta",
|
|
690
691
|
"correos-chile",
|
|
691
692
|
"delhivery",
|
|
692
693
|
"yunda"
|
|
@@ -958,6 +959,7 @@
|
|
|
958
959
|
"candidates": [
|
|
959
960
|
"dpd-fr",
|
|
960
961
|
"la-poste",
|
|
962
|
+
"ukrposhta",
|
|
961
963
|
"correos-chile",
|
|
962
964
|
"delhivery",
|
|
963
965
|
"yunda"
|
|
@@ -1142,6 +1144,7 @@
|
|
|
1142
1144
|
"candidates": [
|
|
1143
1145
|
"dpd-fr",
|
|
1144
1146
|
"la-poste",
|
|
1147
|
+
"ukrposhta",
|
|
1145
1148
|
"correos-chile",
|
|
1146
1149
|
"delhivery",
|
|
1147
1150
|
"yunda"
|
|
@@ -1551,6 +1554,7 @@
|
|
|
1551
1554
|
"candidates": [
|
|
1552
1555
|
"dpd-fr",
|
|
1553
1556
|
"la-poste",
|
|
1557
|
+
"ukrposhta",
|
|
1554
1558
|
"correos-chile",
|
|
1555
1559
|
"delhivery",
|
|
1556
1560
|
"yunda"
|
|
@@ -1593,6 +1597,7 @@
|
|
|
1593
1597
|
"candidates": [
|
|
1594
1598
|
"dpd-fr",
|
|
1595
1599
|
"la-poste",
|
|
1600
|
+
"ukrposhta",
|
|
1596
1601
|
"correos-chile",
|
|
1597
1602
|
"delhivery",
|
|
1598
1603
|
"yunda"
|
|
@@ -2706,6 +2711,7 @@
|
|
|
2706
2711
|
"confidence": "low",
|
|
2707
2712
|
"candidates": [
|
|
2708
2713
|
"la-poste",
|
|
2714
|
+
"ukrposhta",
|
|
2709
2715
|
"correos-chile",
|
|
2710
2716
|
"delhivery",
|
|
2711
2717
|
"yunda"
|
|
@@ -2821,6 +2827,7 @@
|
|
|
2821
2827
|
"confidence": "low",
|
|
2822
2828
|
"candidates": [
|
|
2823
2829
|
"la-poste",
|
|
2830
|
+
"ukrposhta",
|
|
2824
2831
|
"correos-chile",
|
|
2825
2832
|
"delhivery",
|
|
2826
2833
|
"yunda"
|
|
@@ -3967,6 +3974,7 @@
|
|
|
3967
3974
|
"confidence": "low",
|
|
3968
3975
|
"candidates": [
|
|
3969
3976
|
"la-poste",
|
|
3977
|
+
"ukrposhta",
|
|
3970
3978
|
"correos-chile",
|
|
3971
3979
|
"delhivery",
|
|
3972
3980
|
"yunda",
|
|
@@ -4026,6 +4034,7 @@
|
|
|
4026
4034
|
"confidence": "low",
|
|
4027
4035
|
"candidates": [
|
|
4028
4036
|
"la-poste",
|
|
4037
|
+
"ukrposhta",
|
|
4029
4038
|
"correos-chile",
|
|
4030
4039
|
"delhivery",
|
|
4031
4040
|
"yunda",
|
|
@@ -4689,6 +4698,7 @@
|
|
|
4689
4698
|
"confidence": "low",
|
|
4690
4699
|
"candidates": [
|
|
4691
4700
|
"la-poste",
|
|
4701
|
+
"ukrposhta",
|
|
4692
4702
|
"correos-chile",
|
|
4693
4703
|
"delhivery",
|
|
4694
4704
|
"yunda"
|
package/dist/browser/scraper.js
CHANGED
|
@@ -977,7 +977,7 @@ var ue = {
|
|
|
977
977
|
},
|
|
978
978
|
"colis-prive": {
|
|
979
979
|
displayName: "Colis Privé",
|
|
980
|
-
color: "#
|
|
980
|
+
color: "#aa78ff",
|
|
981
981
|
aliases: ["Colis Prive"],
|
|
982
982
|
countries: ["FR"],
|
|
983
983
|
selectable: !0,
|
|
@@ -1024,7 +1024,7 @@ var ue = {
|
|
|
1024
1024
|
},
|
|
1025
1025
|
colisweb: {
|
|
1026
1026
|
displayName: "Colisweb",
|
|
1027
|
-
color: "#
|
|
1027
|
+
color: "#15cbe3",
|
|
1028
1028
|
countries: ["FR"],
|
|
1029
1029
|
selectable: !0,
|
|
1030
1030
|
timezone: "Europe/Paris",
|
|
@@ -1095,7 +1095,7 @@ var ue = {
|
|
|
1095
1095
|
},
|
|
1096
1096
|
ciblex: {
|
|
1097
1097
|
displayName: "Ciblex",
|
|
1098
|
-
color: "#
|
|
1098
|
+
color: "#0160ab",
|
|
1099
1099
|
aliases: ["Ciblex Express"],
|
|
1100
1100
|
countries: ["FR"],
|
|
1101
1101
|
selectable: !0,
|
|
@@ -1158,7 +1158,7 @@ var ue = {
|
|
|
1158
1158
|
},
|
|
1159
1159
|
asendia: {
|
|
1160
1160
|
displayName: "Asendia",
|
|
1161
|
-
color: "#
|
|
1161
|
+
color: "#005d69",
|
|
1162
1162
|
aliases: [
|
|
1163
1163
|
"Asendia Management",
|
|
1164
1164
|
"Asendia UK",
|
|
@@ -1951,7 +1951,10 @@ var ue = {
|
|
|
1951
1951
|
domains: ["track.ukrposhta.ua"],
|
|
1952
1952
|
params: ["barcode"]
|
|
1953
1953
|
}],
|
|
1954
|
-
detectionRules: [
|
|
1954
|
+
detectionRules: [{
|
|
1955
|
+
pattern: "^\\d{13}$",
|
|
1956
|
+
confidence: "low"
|
|
1957
|
+
}]
|
|
1955
1958
|
},
|
|
1956
1959
|
usps: {
|
|
1957
1960
|
displayName: "USPS",
|
|
@@ -2355,7 +2358,7 @@ var ue = {
|
|
|
2355
2358
|
},
|
|
2356
2359
|
"four-px": {
|
|
2357
2360
|
displayName: "4PX",
|
|
2358
|
-
color: "#
|
|
2361
|
+
color: "#005add",
|
|
2359
2362
|
countries: ["CN"],
|
|
2360
2363
|
selectable: !0,
|
|
2361
2364
|
timezone: "UTC",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"candidates": [
|
|
15
15
|
"dpd-fr",
|
|
16
16
|
"la-poste",
|
|
17
|
+
"ukrposhta",
|
|
17
18
|
"correos-chile",
|
|
18
19
|
"delhivery",
|
|
19
20
|
"yunda"
|
|
@@ -34,6 +35,7 @@
|
|
|
34
35
|
"confidence": "low",
|
|
35
36
|
"candidates": [
|
|
36
37
|
"la-poste",
|
|
38
|
+
"ukrposhta",
|
|
37
39
|
"correos-chile",
|
|
38
40
|
"delhivery",
|
|
39
41
|
"yunda"
|
|
@@ -18,12 +18,13 @@
|
|
|
18
18
|
"candidates": [
|
|
19
19
|
"dpd-fr",
|
|
20
20
|
"la-poste",
|
|
21
|
+
"ukrposhta",
|
|
21
22
|
"correos-chile",
|
|
22
23
|
"delhivery",
|
|
23
24
|
"yunda"
|
|
24
25
|
]
|
|
25
26
|
},
|
|
26
|
-
"note": "Public report of a domestic parcel attributed to Ukrposhta, whose tracking returns its history. Thirteen digits are shared with other carriers
|
|
27
|
+
"note": "Public report of a domestic parcel attributed to Ukrposhta, whose tracking returns its history. Thirteen digits are shared with other carriers, so Ukrposhta is one suggestion among several."
|
|
27
28
|
},
|
|
28
29
|
{
|
|
29
30
|
"number": "CA315000362UA",
|
package/dist/data/catalog.json
CHANGED
|
@@ -1165,7 +1165,7 @@
|
|
|
1165
1165
|
},
|
|
1166
1166
|
"colis-prive": {
|
|
1167
1167
|
"displayName": "Colis Privé",
|
|
1168
|
-
"color": "#
|
|
1168
|
+
"color": "#aa78ff",
|
|
1169
1169
|
"aliases": [
|
|
1170
1170
|
"Colis Prive"
|
|
1171
1171
|
],
|
|
@@ -1238,7 +1238,7 @@
|
|
|
1238
1238
|
},
|
|
1239
1239
|
"colisweb": {
|
|
1240
1240
|
"displayName": "Colisweb",
|
|
1241
|
-
"color": "#
|
|
1241
|
+
"color": "#15cbe3",
|
|
1242
1242
|
"countries": [
|
|
1243
1243
|
"FR"
|
|
1244
1244
|
],
|
|
@@ -1337,7 +1337,7 @@
|
|
|
1337
1337
|
},
|
|
1338
1338
|
"ciblex": {
|
|
1339
1339
|
"displayName": "Ciblex",
|
|
1340
|
-
"color": "#
|
|
1340
|
+
"color": "#0160ab",
|
|
1341
1341
|
"aliases": [
|
|
1342
1342
|
"Ciblex Express"
|
|
1343
1343
|
],
|
|
@@ -1423,7 +1423,7 @@
|
|
|
1423
1423
|
},
|
|
1424
1424
|
"asendia": {
|
|
1425
1425
|
"displayName": "Asendia",
|
|
1426
|
-
"color": "#
|
|
1426
|
+
"color": "#005d69",
|
|
1427
1427
|
"aliases": [
|
|
1428
1428
|
"Asendia Management",
|
|
1429
1429
|
"Asendia UK",
|
|
@@ -2430,7 +2430,12 @@
|
|
|
2430
2430
|
]
|
|
2431
2431
|
}
|
|
2432
2432
|
],
|
|
2433
|
-
"detectionRules": [
|
|
2433
|
+
"detectionRules": [
|
|
2434
|
+
{
|
|
2435
|
+
"pattern": "^\\d{13}$",
|
|
2436
|
+
"confidence": "low"
|
|
2437
|
+
}
|
|
2438
|
+
]
|
|
2434
2439
|
},
|
|
2435
2440
|
"usps": {
|
|
2436
2441
|
"displayName": "USPS",
|
|
@@ -2991,7 +2996,7 @@
|
|
|
2991
2996
|
},
|
|
2992
2997
|
"four-px": {
|
|
2993
2998
|
"displayName": "4PX",
|
|
2994
|
-
"color": "#
|
|
2999
|
+
"color": "#005add",
|
|
2995
3000
|
"countries": [
|
|
2996
3001
|
"CN"
|
|
2997
3002
|
],
|
|
@@ -722,7 +722,7 @@ export declare const CARRIER_CATALOG: {
|
|
|
722
722
|
};
|
|
723
723
|
readonly "colis-prive": {
|
|
724
724
|
readonly displayName: "Colis Privé";
|
|
725
|
-
readonly color: "#
|
|
725
|
+
readonly color: "#aa78ff";
|
|
726
726
|
readonly aliases: readonly ["Colis Prive"];
|
|
727
727
|
readonly countries: readonly ["FR"];
|
|
728
728
|
readonly selectable: true;
|
|
@@ -769,7 +769,7 @@ export declare const CARRIER_CATALOG: {
|
|
|
769
769
|
};
|
|
770
770
|
readonly colisweb: {
|
|
771
771
|
readonly displayName: "Colisweb";
|
|
772
|
-
readonly color: "#
|
|
772
|
+
readonly color: "#15cbe3";
|
|
773
773
|
readonly countries: readonly ["FR"];
|
|
774
774
|
readonly selectable: true;
|
|
775
775
|
readonly timezone: "Europe/Paris";
|
|
@@ -840,7 +840,7 @@ export declare const CARRIER_CATALOG: {
|
|
|
840
840
|
};
|
|
841
841
|
readonly ciblex: {
|
|
842
842
|
readonly displayName: "Ciblex";
|
|
843
|
-
readonly color: "#
|
|
843
|
+
readonly color: "#0160ab";
|
|
844
844
|
readonly aliases: readonly ["Ciblex Express"];
|
|
845
845
|
readonly countries: readonly ["FR"];
|
|
846
846
|
readonly selectable: true;
|
|
@@ -898,7 +898,7 @@ export declare const CARRIER_CATALOG: {
|
|
|
898
898
|
};
|
|
899
899
|
readonly asendia: {
|
|
900
900
|
readonly displayName: "Asendia";
|
|
901
|
-
readonly color: "#
|
|
901
|
+
readonly color: "#005d69";
|
|
902
902
|
readonly aliases: readonly ["Asendia Management", "Asendia UK", "asendia.com"];
|
|
903
903
|
readonly countries: readonly ["FR", "CH", "GB", "DE", "US"];
|
|
904
904
|
readonly selectable: true;
|
|
@@ -1610,7 +1610,10 @@ export declare const CARRIER_CATALOG: {
|
|
|
1610
1610
|
readonly domains: readonly ["track.ukrposhta.ua"];
|
|
1611
1611
|
readonly params: readonly ["barcode"];
|
|
1612
1612
|
}];
|
|
1613
|
-
readonly detectionRules: readonly [
|
|
1613
|
+
readonly detectionRules: readonly [{
|
|
1614
|
+
readonly pattern: "^\\d{13}$";
|
|
1615
|
+
readonly confidence: "low";
|
|
1616
|
+
}];
|
|
1614
1617
|
};
|
|
1615
1618
|
readonly usps: {
|
|
1616
1619
|
readonly displayName: "USPS";
|
|
@@ -1996,7 +1999,7 @@ export declare const CARRIER_CATALOG: {
|
|
|
1996
1999
|
};
|
|
1997
2000
|
readonly "four-px": {
|
|
1998
2001
|
readonly displayName: "4PX";
|
|
1999
|
-
readonly color: "#
|
|
2002
|
+
readonly color: "#005add";
|
|
2000
2003
|
readonly countries: readonly ["CN"];
|
|
2001
2004
|
readonly selectable: true;
|
|
2002
2005
|
readonly timezone: "UTC";
|
|
@@ -1166,7 +1166,7 @@ export const CARRIER_CATALOG = {
|
|
|
1166
1166
|
},
|
|
1167
1167
|
"colis-prive": {
|
|
1168
1168
|
"displayName": "Colis Privé",
|
|
1169
|
-
"color": "#
|
|
1169
|
+
"color": "#aa78ff",
|
|
1170
1170
|
"aliases": [
|
|
1171
1171
|
"Colis Prive"
|
|
1172
1172
|
],
|
|
@@ -1239,7 +1239,7 @@ export const CARRIER_CATALOG = {
|
|
|
1239
1239
|
},
|
|
1240
1240
|
"colisweb": {
|
|
1241
1241
|
"displayName": "Colisweb",
|
|
1242
|
-
"color": "#
|
|
1242
|
+
"color": "#15cbe3",
|
|
1243
1243
|
"countries": [
|
|
1244
1244
|
"FR"
|
|
1245
1245
|
],
|
|
@@ -1338,7 +1338,7 @@ export const CARRIER_CATALOG = {
|
|
|
1338
1338
|
},
|
|
1339
1339
|
"ciblex": {
|
|
1340
1340
|
"displayName": "Ciblex",
|
|
1341
|
-
"color": "#
|
|
1341
|
+
"color": "#0160ab",
|
|
1342
1342
|
"aliases": [
|
|
1343
1343
|
"Ciblex Express"
|
|
1344
1344
|
],
|
|
@@ -1424,7 +1424,7 @@ export const CARRIER_CATALOG = {
|
|
|
1424
1424
|
},
|
|
1425
1425
|
"asendia": {
|
|
1426
1426
|
"displayName": "Asendia",
|
|
1427
|
-
"color": "#
|
|
1427
|
+
"color": "#005d69",
|
|
1428
1428
|
"aliases": [
|
|
1429
1429
|
"Asendia Management",
|
|
1430
1430
|
"Asendia UK",
|
|
@@ -2431,7 +2431,12 @@ export const CARRIER_CATALOG = {
|
|
|
2431
2431
|
]
|
|
2432
2432
|
}
|
|
2433
2433
|
],
|
|
2434
|
-
"detectionRules": [
|
|
2434
|
+
"detectionRules": [
|
|
2435
|
+
{
|
|
2436
|
+
"pattern": "^\\d{13}$",
|
|
2437
|
+
"confidence": "low"
|
|
2438
|
+
}
|
|
2439
|
+
]
|
|
2435
2440
|
},
|
|
2436
2441
|
"usps": {
|
|
2437
2442
|
"displayName": "USPS",
|
|
@@ -2992,7 +2997,7 @@ export const CARRIER_CATALOG = {
|
|
|
2992
2997
|
},
|
|
2993
2998
|
"four-px": {
|
|
2994
2999
|
"displayName": "4PX",
|
|
2995
|
-
"color": "#
|
|
3000
|
+
"color": "#005add",
|
|
2996
3001
|
"countries": [
|
|
2997
3002
|
"CN"
|
|
2998
3003
|
],
|
package/dist/server/openapi.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "universal-parcel-scraper",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.1-main.359",
|
|
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",
|