universal-parcel-scraper 0.7.2-main.330 → 0.8.0-main.331

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/README.md CHANGED
@@ -13,9 +13,9 @@ The engine behind [Peek](https://peektracker.com) ([GitHub](https://github.com/p
13
13
  [![License: Apache-2.0](https://img.shields.io/badge/core-Apache--2.0-blue.svg)](LICENSE)
14
14
 
15
15
  <!-- GENERATED:summary -->
16
- **3,500+ carriers** through **85 dedicated adapters** and **5 universal fallbacks**
16
+ **3,500+ carriers** through **86 dedicated adapters** and **5 universal fallbacks**
17
17
 
18
- <sub>106 catalog entries · 58 countries represented</sub>
18
+ <sub>107 catalog entries · 58 countries represented</sub>
19
19
  <!-- /GENERATED:summary -->
20
20
 
21
21
  [Try it](#try-it) · [Ways to run it](#ways-to-run-it) · [Benchmark](#benchmark) · [Carriers](carriers/) · [Add a carrier](CONTRIBUTING.md)
@@ -33,9 +33,9 @@ its own as a command, a Node library or an HTTP server.
33
33
  ## Benchmark
34
34
 
35
35
  <!-- GENERATED:coverage -->
36
- In a curated benchmark of 100 carriers, dedicated adapters return tracking history for **62**, rising to **75** with all fallbacks enabled. The best single aggregator returns 52.
36
+ In a curated benchmark of 101 carriers, dedicated adapters return tracking history for **63**, rising to **76** with all fallbacks enabled. The best single aggregator returns 53.
37
37
 
38
- <img src="docs/assets/coverage.svg" alt="Carriers with tracking history: This project, all fallbacks enabled 75, This project, dedicated adapters alone 62, ParcelsApp 52, Postal Ninja 43, 17TRACK 40, Ship24 41, UPU 12." width="760">
38
+ <img src="docs/assets/coverage.svg" alt="Carriers with tracking history: This project, all fallbacks enabled 76, This project, dedicated adapters alone 63, ParcelsApp 53, Postal Ninja 43, 17TRACK 40, Ship24 42, UPU 12." width="760">
39
39
  <!-- /GENERATED:coverage -->
40
40
 
41
41
  [Method and results per carrier](providers/COVERAGE.md)
@@ -149,7 +149,7 @@ createTracker({ providers: ['ParcelsApp', 'Ship24', '17TRACK', 'Postal Ninja', '
149
149
  <!-- GENERATED:stages -->
150
150
  <img src="docs/assets/stages.svg" alt="DHL: Die Sendung wurde in das Zustellfahrzeug geladen.; Mondial Relay: En cours de livraison; Correios Brazil: Objeto saiu para entrega ao destinatário; Correos Express: EN REPARTO; Yamato Transport: 配達中; La Poste / Colissimo: DISTOU. All are filed under out_for_delivery." width="760">
151
151
 
152
- The carrier folders record 1,689 such statuses, each filed under one stage.
152
+ The carrier folders record 1,695 such statuses, each filed under one stage.
153
153
  <!-- /GENERATED:stages -->
154
154
 
155
155
  Wording nobody recorded yet goes through a classifier that reads seven European languages.
package/data/catalog.json CHANGED
@@ -3986,6 +3986,39 @@
3986
3986
  ],
3987
3987
  "detectionRules": []
3988
3988
  },
3989
+ "dhl-express": {
3990
+ "displayName": "DHL Express",
3991
+ "color": "#ffcc00",
3992
+ "aliases": [
3993
+ "DHL Express Worldwide",
3994
+ "MyDHL+"
3995
+ ],
3996
+ "selectable": true,
3997
+ "timezone": "UTC",
3998
+ "tracking": {
3999
+ "mode": "automatic",
4000
+ "adapter": "dhl-express",
4001
+ "recognitionRank": 75,
4002
+ "browserRecognitionRank": 75,
4003
+ "localClocks": true
4004
+ },
4005
+ "canaryUrl": "https://mydhl.express.dhl/gb/en/tracking.html",
4006
+ "trackingUrlTemplate": "https://mydhl.express.dhl/gb/en/tracking.html#/results?id={trackingNumber}",
4007
+ "linkRules": [
4008
+ {
4009
+ "domains": [
4010
+ "mydhl.express.dhl"
4011
+ ],
4012
+ "fragment": "^/results\\?id=(\\d{10})(?:&|$)"
4013
+ }
4014
+ ],
4015
+ "detectionRules": [
4016
+ {
4017
+ "pattern": "^\\d{10}$",
4018
+ "confidence": "low"
4019
+ }
4020
+ ]
4021
+ },
3989
4022
  "omgo": {
3990
4023
  "displayName": "OMGO",
3991
4024
  "color": "#8e8e93",
@@ -1,16 +1,16 @@
1
1
  {
2
- "catalog": 106,
3
- "activeAdapters": 85,
2
+ "catalog": 107,
3
+ "activeAdapters": 86,
4
4
  "countries": 58,
5
- "referenceCarriers": 100,
5
+ "referenceCarriers": 101,
6
6
  "comparison": {
7
- "combined": 75,
8
- "direct": 62,
7
+ "combined": 76,
8
+ "direct": 63,
9
9
  "providers": {
10
- "ParcelsApp": 52,
10
+ "ParcelsApp": 53,
11
11
  "Postal Ninja": 43,
12
12
  "17TRACK": 40,
13
- "Ship24": 41,
13
+ "Ship24": 42,
14
14
  "UPU": 12
15
15
  }
16
16
  }
@@ -823,9 +823,11 @@
823
823
  "mondial-relay",
824
824
  "relais-colis",
825
825
  "tipsa",
826
- "estafeta"
826
+ "estafeta",
827
+ "dhl-express"
827
828
  ],
828
829
  "asked": [
830
+ "dhl-express",
829
831
  "relais-colis",
830
832
  "tipsa"
831
833
  ]
@@ -906,9 +908,11 @@
906
908
  "mondial-relay",
907
909
  "relais-colis",
908
910
  "tipsa",
909
- "estafeta"
911
+ "estafeta",
912
+ "dhl-express"
910
913
  ],
911
914
  "asked": [
915
+ "dhl-express",
912
916
  "relais-colis",
913
917
  "tipsa"
914
918
  ]
@@ -1018,9 +1022,11 @@
1018
1022
  "mondial-relay",
1019
1023
  "relais-colis",
1020
1024
  "tipsa",
1021
- "estafeta"
1025
+ "estafeta",
1026
+ "dhl-express"
1022
1027
  ],
1023
1028
  "asked": [
1029
+ "dhl-express",
1024
1030
  "relais-colis",
1025
1031
  "tipsa"
1026
1032
  ]
@@ -1455,9 +1461,11 @@
1455
1461
  "mondial-relay",
1456
1462
  "relais-colis",
1457
1463
  "tipsa",
1458
- "estafeta"
1464
+ "estafeta",
1465
+ "dhl-express"
1459
1466
  ],
1460
1467
  "asked": [
1468
+ "dhl-express",
1461
1469
  "relais-colis",
1462
1470
  "tipsa"
1463
1471
  ]
@@ -1723,9 +1731,11 @@
1723
1731
  "mondial-relay",
1724
1732
  "relais-colis",
1725
1733
  "tipsa",
1726
- "estafeta"
1734
+ "estafeta",
1735
+ "dhl-express"
1727
1736
  ],
1728
1737
  "asked": [
1738
+ "dhl-express",
1729
1739
  "relais-colis",
1730
1740
  "tipsa"
1731
1741
  ]
@@ -1767,9 +1777,11 @@
1767
1777
  "mondial-relay",
1768
1778
  "relais-colis",
1769
1779
  "tipsa",
1770
- "estafeta"
1780
+ "estafeta",
1781
+ "dhl-express"
1771
1782
  ],
1772
1783
  "asked": [
1784
+ "dhl-express",
1773
1785
  "relais-colis",
1774
1786
  "tipsa"
1775
1787
  ]
@@ -2069,9 +2081,11 @@
2069
2081
  "mondial-relay",
2070
2082
  "relais-colis",
2071
2083
  "tipsa",
2072
- "estafeta"
2084
+ "estafeta",
2085
+ "dhl-express"
2073
2086
  ],
2074
2087
  "asked": [
2088
+ "dhl-express",
2075
2089
  "relais-colis",
2076
2090
  "tipsa"
2077
2091
  ]
@@ -2125,9 +2139,11 @@
2125
2139
  "mondial-relay",
2126
2140
  "relais-colis",
2127
2141
  "tipsa",
2128
- "estafeta"
2142
+ "estafeta",
2143
+ "dhl-express"
2129
2144
  ],
2130
2145
  "asked": [
2146
+ "dhl-express",
2131
2147
  "relais-colis",
2132
2148
  "tipsa"
2133
2149
  ]
@@ -2179,9 +2195,11 @@
2179
2195
  "mondial-relay",
2180
2196
  "relais-colis",
2181
2197
  "tipsa",
2182
- "estafeta"
2198
+ "estafeta",
2199
+ "dhl-express"
2183
2200
  ],
2184
2201
  "asked": [
2202
+ "dhl-express",
2185
2203
  "relais-colis",
2186
2204
  "tipsa"
2187
2205
  ]
@@ -2549,9 +2567,11 @@
2549
2567
  "mondial-relay",
2550
2568
  "relais-colis",
2551
2569
  "tipsa",
2552
- "estafeta"
2570
+ "estafeta",
2571
+ "dhl-express"
2553
2572
  ],
2554
2573
  "asked": [
2574
+ "dhl-express",
2555
2575
  "relais-colis",
2556
2576
  "tipsa"
2557
2577
  ]
@@ -2708,9 +2728,11 @@
2708
2728
  "mondial-relay",
2709
2729
  "relais-colis",
2710
2730
  "tipsa",
2711
- "estafeta"
2731
+ "estafeta",
2732
+ "dhl-express"
2712
2733
  ],
2713
2734
  "asked": [
2735
+ "dhl-express",
2714
2736
  "relais-colis",
2715
2737
  "tipsa"
2716
2738
  ]
@@ -2724,9 +2746,11 @@
2724
2746
  "mondial-relay",
2725
2747
  "relais-colis",
2726
2748
  "tipsa",
2727
- "estafeta"
2749
+ "estafeta",
2750
+ "dhl-express"
2728
2751
  ],
2729
2752
  "asked": [
2753
+ "dhl-express",
2730
2754
  "relais-colis",
2731
2755
  "tipsa"
2732
2756
  ]