universal-parcel-scraper 0.364.0-main.1995 → 0.366.0-main.1999

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.
Files changed (44) hide show
  1. package/README.md +3 -3
  2. package/data/catalog.json +256 -1
  3. package/data/coverage-summary.json +2 -2
  4. package/data/detection-golden.json +505 -0
  5. package/dist/browser/scraper.js +187 -2
  6. package/dist/carriers/atlantic-courier/carrier.json +52 -0
  7. package/dist/carriers/atlantic-courier/numbers.json +46 -0
  8. package/dist/carriers/atlantic-courier/statuses.json +7 -0
  9. package/dist/carriers/daily-xpress/carrier.json +46 -0
  10. package/dist/carriers/daily-xpress/numbers.json +29 -0
  11. package/dist/carriers/daily-xpress/statuses.json +4 -0
  12. package/dist/carriers/dnx-cargo/carrier.json +33 -0
  13. package/dist/carriers/dnx-cargo/numbers.json +5 -0
  14. package/dist/carriers/dnx-cargo/statuses.json +7 -0
  15. package/dist/carriers/gms-worldwide/carrier.json +47 -0
  16. package/dist/carriers/gms-worldwide/numbers.json +281 -0
  17. package/dist/carriers/gms-worldwide/statuses.json +7 -0
  18. package/dist/carriers/icl-express/carrier.json +46 -0
  19. package/dist/carriers/icl-express/numbers.json +137 -0
  20. package/dist/carriers/icl-express/statuses.json +28 -0
  21. package/dist/carriers/ocs-ana/carrier.json +56 -0
  22. package/dist/carriers/ocs-ana/numbers.json +295 -0
  23. package/dist/carriers/ocs-ana/statuses.json +28 -0
  24. package/dist/carriers/pushpak-courier/carrier.json +34 -0
  25. package/dist/carriers/pushpak-courier/numbers.json +151 -0
  26. package/dist/carriers/pushpak-courier/statuses.json +4 -0
  27. package/dist/carriers/tealca/adapter.d.ts +17 -0
  28. package/dist/carriers/tealca/adapter.js +63 -0
  29. package/dist/carriers/tealca/carrier.json +36 -7
  30. package/dist/carriers/tealca/parser.d.ts +19 -0
  31. package/dist/carriers/tealca/parser.js +149 -0
  32. package/dist/carriers/tealca/status.d.ts +12 -0
  33. package/dist/carriers/tealca/status.js +47 -0
  34. package/dist/carriers/tealca/statuses.json +10 -8
  35. package/dist/carriers/united-worldwide-couriers/carrier.json +44 -0
  36. package/dist/carriers/united-worldwide-couriers/numbers.json +27 -0
  37. package/dist/carriers/united-worldwide-couriers/statuses.json +6 -0
  38. package/dist/core/catalog/statusMaps.js +5 -4
  39. package/dist/data/catalog.json +256 -1
  40. package/dist/generated/catalog.d.ts +166 -2
  41. package/dist/generated/catalog.js +272 -1
  42. package/dist/generated/registry.js +11 -1
  43. package/dist/server/openapi.json +1 -1
  44. package/package.json +1 -1
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 **395 dedicated adapters** and **5 universal fallbacks**
16
+ **3,500+ carriers** through **396 dedicated adapters** and **5 universal fallbacks**
17
17
 
18
- <sub>719 catalog entries · 133 countries represented</sub>
18
+ <sub>727 catalog entries · 133 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)
@@ -155,7 +155,7 @@ createTracker({ providers: ['ParcelsApp', 'Ship24', '17TRACK', 'Postal Ninja', '
155
155
  <!-- GENERATED:stages -->
156
156
  <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">
157
157
 
158
- The carrier folders record 13,441 such statuses, each filed under one stage.
158
+ The carrier folders record 13,496 such statuses, each filed under one stage.
159
159
  <!-- /GENERATED:stages -->
160
160
 
161
161
  Wording nobody recorded yet goes through a classifier that reads seven European languages.
package/data/catalog.json CHANGED
@@ -6579,6 +6579,45 @@
6579
6579
  ],
6580
6580
  "detectionRules": []
6581
6581
  },
6582
+ "atlantic-courier": {
6583
+ "displayName": "Atlantic International Express",
6584
+ "color": "#0066b3",
6585
+ "aliases": [
6586
+ "Atlantic International Express Courier"
6587
+ ],
6588
+ "countries": [
6589
+ "IN"
6590
+ ],
6591
+ "selectable": true,
6592
+ "timezone": "Asia/Kolkata",
6593
+ "tracking": {
6594
+ "mode": "automatic",
6595
+ "adapter": "universal"
6596
+ },
6597
+ "canaryUrl": "https://atlanticcourier.net/track/",
6598
+ "trackingUrlTemplate": "https://atlanticcourier.net/track/{trackingNumber}/",
6599
+ "trackingSearchUrl": "https://atlanticcourier.net/track/",
6600
+ "linkRules": [
6601
+ {
6602
+ "domains": [
6603
+ "atlanticcourier.net",
6604
+ "www.atlanticcourier.net"
6605
+ ],
6606
+ "path": "^/track/([^/?#]+)/?$"
6607
+ },
6608
+ {
6609
+ "domains": [
6610
+ "atlanticcourier.net",
6611
+ "www.atlanticcourier.net"
6612
+ ],
6613
+ "pathPattern": "^/track\\.php$",
6614
+ "params": [
6615
+ "awbno"
6616
+ ]
6617
+ }
6618
+ ],
6619
+ "detectionRules": []
6620
+ },
6582
6621
  "averitt": {
6583
6622
  "displayName": "Averitt Express",
6584
6623
  "color": "#c21f38",
@@ -9734,6 +9773,39 @@
9734
9773
  }
9735
9774
  ]
9736
9775
  },
9776
+ "daily-xpress": {
9777
+ "displayName": "Daily Xpress",
9778
+ "color": "#953995",
9779
+ "aliases": [
9780
+ "Daily Xpress Courier & Cargo",
9781
+ "Daily Xpress Courier Cargo"
9782
+ ],
9783
+ "countries": [
9784
+ "IN"
9785
+ ],
9786
+ "selectable": true,
9787
+ "timezone": "Asia/Kolkata",
9788
+ "tracking": {
9789
+ "mode": "automatic",
9790
+ "adapter": "universal"
9791
+ },
9792
+ "canaryUrl": "https://www.dailyxpress.in/",
9793
+ "trackingUrlTemplate": "https://www.dailyxpress.in/searchAwb.php?awb={trackingNumber}",
9794
+ "trackingSearchUrl": "https://www.dailyxpress.in/",
9795
+ "linkRules": [
9796
+ {
9797
+ "domains": [
9798
+ "www.dailyxpress.in",
9799
+ "dailyxpress.in"
9800
+ ],
9801
+ "pathPattern": "^/searchAwb\\.php$",
9802
+ "params": [
9803
+ "awb"
9804
+ ]
9805
+ }
9806
+ ],
9807
+ "detectionRules": []
9808
+ },
9737
9809
  "danske-fragtmaend": {
9738
9810
  "displayName": "Danske Fragtmænd",
9739
9811
  "color": "#009ada",
@@ -10523,6 +10595,26 @@
10523
10595
  ],
10524
10596
  "detectionRules": []
10525
10597
  },
10598
+ "dnx-cargo": {
10599
+ "displayName": "DNX Cargo",
10600
+ "color": "#102663",
10601
+ "aliases": [
10602
+ "DNX Cargo India Pvt Ltd"
10603
+ ],
10604
+ "countries": [
10605
+ "IN"
10606
+ ],
10607
+ "selectable": true,
10608
+ "timezone": "Asia/Kolkata",
10609
+ "tracking": {
10610
+ "mode": "automatic",
10611
+ "adapter": "universal"
10612
+ },
10613
+ "canaryUrl": "https://dnxerp.in/NewPages/Tracking/Website_Tracking_New.aspx",
10614
+ "trackingSearchUrl": "https://dnxerp.in/NewPages/Tracking/Website_Tracking_New.aspx",
10615
+ "linkRules": [],
10616
+ "detectionRules": []
10617
+ },
10526
10618
  "dobropost": {
10527
10619
  "displayName": "DobroPost",
10528
10620
  "color": "#ffbe2e",
@@ -14014,6 +14106,40 @@
14014
14106
  }
14015
14107
  ]
14016
14108
  },
14109
+ "gms-worldwide": {
14110
+ "displayName": "GMS Worldwide Express",
14111
+ "color": "#006634",
14112
+ "aliases": [
14113
+ "GMS Worldwide Express Pvt Ltd",
14114
+ "GMS Courier",
14115
+ "GMS Worldwide"
14116
+ ],
14117
+ "countries": [
14118
+ "IN"
14119
+ ],
14120
+ "selectable": true,
14121
+ "timezone": "Asia/Kolkata",
14122
+ "tracking": {
14123
+ "mode": "automatic",
14124
+ "adapter": "universal"
14125
+ },
14126
+ "canaryUrl": "https://www.gmsworldwide.com/",
14127
+ "trackingUrlTemplate": "https://www.gmsworldwide.com/shipment-tracking?tracking_no={trackingNumber}&tracking_type=cnno",
14128
+ "trackingSearchUrl": "https://www.gmsworldwide.com/",
14129
+ "linkRules": [
14130
+ {
14131
+ "domains": [
14132
+ "www.gmsworldwide.com",
14133
+ "gmsworldwide.com"
14134
+ ],
14135
+ "pathPattern": "^/shipment-tracking/?$",
14136
+ "params": [
14137
+ "tracking_no"
14138
+ ]
14139
+ }
14140
+ ],
14141
+ "detectionRules": []
14142
+ },
14017
14143
  "go-express": {
14018
14144
  "displayName": "GO! Express",
14019
14145
  "color": "#b9242b",
@@ -15252,6 +15378,39 @@
15252
15378
  ],
15253
15379
  "detectionRules": []
15254
15380
  },
15381
+ "icl-express": {
15382
+ "displayName": "ICL Express",
15383
+ "color": "#2e3192",
15384
+ "aliases": [
15385
+ "ICL Integrated Couriers & Logistics",
15386
+ "Integrated Couriers & Logistics",
15387
+ "ICL International"
15388
+ ],
15389
+ "countries": [
15390
+ "IN"
15391
+ ],
15392
+ "selectable": true,
15393
+ "timezone": "Asia/Kolkata",
15394
+ "tracking": {
15395
+ "mode": "automatic",
15396
+ "adapter": "universal"
15397
+ },
15398
+ "canaryUrl": "https://iclexpress.in/tracking/",
15399
+ "trackingSearchUrl": "https://iclexpress.in/tracking/",
15400
+ "linkRules": [
15401
+ {
15402
+ "domains": [
15403
+ "www.iclinternational.in",
15404
+ "iclinternational.in"
15405
+ ],
15406
+ "pathPattern": "^/Tracking\\.aspx$",
15407
+ "params": [
15408
+ "txtawbno"
15409
+ ]
15410
+ }
15411
+ ],
15412
+ "detectionRules": []
15413
+ },
15255
15414
  "ics-courier": {
15256
15415
  "displayName": "ICS Courier",
15257
15416
  "color": "#004b8e",
@@ -19729,6 +19888,49 @@
19729
19888
  }
19730
19889
  ]
19731
19890
  },
19891
+ "ocs-ana": {
19892
+ "displayName": "OCS ANA Group",
19893
+ "color": "#004c9a",
19894
+ "aliases": [
19895
+ "OCS",
19896
+ "Overseas Courier Service",
19897
+ "OCS Worldwide",
19898
+ "OCS Japan"
19899
+ ],
19900
+ "countries": [
19901
+ "JP"
19902
+ ],
19903
+ "selectable": true,
19904
+ "timezone": "Asia/Tokyo",
19905
+ "tracking": {
19906
+ "mode": "automatic",
19907
+ "adapter": "universal"
19908
+ },
19909
+ "canaryUrl": "https://www2.ocsworldwide.net/ExpTracking/cwbCheck.html",
19910
+ "trackingUrlTemplate": "https://www2.ocsworldwide.net/ExpTracking/cwbCheck.php?cwbno={trackingNumber}",
19911
+ "trackingSearchUrl": "https://www2.ocsworldwide.net/ExpTracking/cwbCheck.html",
19912
+ "linkRules": [
19913
+ {
19914
+ "domains": [
19915
+ "www2.ocsworldwide.net"
19916
+ ],
19917
+ "pathPattern": "^/ExpTracking/cwbCheck\\.php$",
19918
+ "params": [
19919
+ "cwbno"
19920
+ ]
19921
+ },
19922
+ {
19923
+ "domains": [
19924
+ "webcsw.ocs.co.jp"
19925
+ ],
19926
+ "pathPattern": "^/csw/ECSWG0201R00003P\\.do$",
19927
+ "params": [
19928
+ "cwbno"
19929
+ ]
19930
+ }
19931
+ ],
19932
+ "detectionRules": []
19933
+ },
19732
19934
  "olva-courier": {
19733
19935
  "displayName": "Olva Courier",
19734
19936
  "color": "#fcb414",
@@ -22519,6 +22721,27 @@
22519
22721
  ],
22520
22722
  "detectionRules": []
22521
22723
  },
22724
+ "pushpak-courier": {
22725
+ "displayName": "Pushpak Courier",
22726
+ "color": "#f62c2c",
22727
+ "aliases": [
22728
+ "PUSHPAK COURIER",
22729
+ "Pushpak Courier Service"
22730
+ ],
22731
+ "countries": [
22732
+ "IN"
22733
+ ],
22734
+ "selectable": true,
22735
+ "timezone": "Asia/Kolkata",
22736
+ "tracking": {
22737
+ "mode": "automatic",
22738
+ "adapter": "universal"
22739
+ },
22740
+ "canaryUrl": "https://pushpakcourier.net/query.php",
22741
+ "trackingSearchUrl": "https://pushpakcourier.net/query.php",
22742
+ "linkRules": [],
22743
+ "detectionRules": []
22744
+ },
22522
22745
  "quantium-solutions": {
22523
22746
  "displayName": "Quantium Solutions",
22524
22747
  "color": "#00474f",
@@ -26050,7 +26273,8 @@
26050
26273
  "timezone": "America/Caracas",
26051
26274
  "tracking": {
26052
26275
  "mode": "automatic",
26053
- "adapter": "universal"
26276
+ "adapter": "tealca",
26277
+ "localClocks": true
26054
26278
  },
26055
26279
  "canaryUrl": "https://www.tealca.com/rastrear-envio/",
26056
26280
  "trackingUrlTemplate": "https://www.tealca.com/rastrear-envio/?tracking={trackingNumber}",
@@ -27236,6 +27460,37 @@
27236
27460
  }
27237
27461
  ]
27238
27462
  },
27463
+ "united-worldwide-couriers": {
27464
+ "displayName": "United Worldwide Couriers",
27465
+ "color": "#0099ff",
27466
+ "aliases": [
27467
+ "United Worldwide Couriers Pvt. Ltd."
27468
+ ],
27469
+ "countries": [
27470
+ "IN"
27471
+ ],
27472
+ "selectable": true,
27473
+ "timezone": "Asia/Kolkata",
27474
+ "tracking": {
27475
+ "mode": "automatic",
27476
+ "adapter": "universal"
27477
+ },
27478
+ "canaryUrl": "https://www.unitedcouriers.biz/Track.aspx",
27479
+ "trackingSearchUrl": "https://www.unitedcouriers.biz/Track.aspx",
27480
+ "linkRules": [
27481
+ {
27482
+ "domains": [
27483
+ "www.unitedcouriers.biz",
27484
+ "unitedcouriers.biz"
27485
+ ],
27486
+ "pathPattern": "^/TrackDetails\\.asp$",
27487
+ "params": [
27488
+ "afno"
27489
+ ]
27490
+ }
27491
+ ],
27492
+ "detectionRules": []
27493
+ },
27239
27494
  "upaya": {
27240
27495
  "displayName": "Upaya",
27241
27496
  "color": "#003d87",
@@ -1,6 +1,6 @@
1
1
  {
2
- "catalog": 719,
3
- "activeAdapters": 395,
2
+ "catalog": 727,
3
+ "activeAdapters": 396,
4
4
  "countries": 133,
5
5
  "referenceCarriers": 100,
6
6
  "comparison": {