Skip to content

Commit

Permalink
fix RaspberryPiDk and ReicheltDe product update urls (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhillippOhlandt authored Oct 26, 2023
1 parent 5b67794 commit 420bcf5
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,149 +6,149 @@ defmodule NervesMetalDetector.Inventory.Data.ProductUpdateItems.RaspberryPiDk do
# These urls cannot be properly scraped because the metadata on the shop
# does not have info for each individual configuration
# %ProductUpdate{
# url: "https://raspberrypi.dk/en/product/raspberry-pi-compute-module-3-plus/?attribute_pa_pi-cm3-plus-udgave=compute-module-3-lite",
# url: "https://raspberrypi.dk/produkt/raspberry-pi-compute-module-3-plus/?attribute_pa_pi-cm3-plus-udgave=compute-module-3-lite",
# sku: "CM3+Lite"
# },
# %ProductUpdate{
# url: "https://raspberrypi.dk/en/product/raspberry-pi-compute-module-3-plus/?attribute_pa_pi-cm3-plus-udgave=compute-module-3-8gb",
# url: "https://raspberrypi.dk/produkt/raspberry-pi-compute-module-3-plus/?attribute_pa_pi-cm3-plus-udgave=compute-module-3-8gb",
# sku: "CM3+8GB"
# },
# %ProductUpdate{
# url: "https://raspberrypi.dk/en/product/raspberry-pi-compute-module-3-plus/?attribute_pa_pi-cm3-plus-udgave=compute-module-3-16gb",
# url: "https://raspberrypi.dk/produkt/raspberry-pi-compute-module-3-plus/?attribute_pa_pi-cm3-plus-udgave=compute-module-3-16gb",
# sku: "CM3+16GB"
# },
# %ProductUpdate{
# url: "https://raspberrypi.dk/en/product/raspberry-pi-compute-module-3-plus/?attribute_pa_pi-cm3-plus-udgave=compute-module-3-32gb",
# url: "https://raspberrypi.dk/produkt/raspberry-pi-compute-module-3-plus/?attribute_pa_pi-cm3-plus-udgave=compute-module-3-32gb",
# sku: "CM3+32GB"
# },

# RPi CM4
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4001000-sc0695/",
url: "https://raspberrypi.dk/produkt/cm4001000-sc0695/",
sku: "CM4001000"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4001008-sc0696/",
url: "https://raspberrypi.dk/produkt/cm4001008-sc0696/",
sku: "CM4001008"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4001016-sc0697/",
url: "https://raspberrypi.dk/produkt/cm4001016-sc0697/",
sku: "CM4001016"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4001032-sc0698/",
url: "https://raspberrypi.dk/produkt/cm4001032-sc0698/",
sku: "CM4001032"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4002000-sc0679/",
url: "https://raspberrypi.dk/produkt/cm4002000-sc0679/",
sku: "CM4002000"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4002008-sc0680/",
url: "https://raspberrypi.dk/produkt/cm4002008-sc0680/",
sku: "CM4002008"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4002016-sc0681/",
url: "https://raspberrypi.dk/produkt/cm4002016-sc0681/",
sku: "CM4002016"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4002032-sc0682/",
url: "https://raspberrypi.dk/produkt/cm4002032-sc0682/",
sku: "CM4002032"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4008032-sc0690/",
url: "https://raspberrypi.dk/produkt/cm4008032-sc0690/",
sku: "CM4008032"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4004000-sc0683/",
url: "https://raspberrypi.dk/produkt/cm4004000-sc0683/",
sku: "CM4004000"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4101000-sc0691/",
url: "https://raspberrypi.dk/produkt/cm4101000-sc0691/",
sku: "CM4101000"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4004008-sc0684/",
url: "https://raspberrypi.dk/produkt/cm4004008-sc0684/",
sku: "CM4004008"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4101008-sc0692/",
url: "https://raspberrypi.dk/produkt/cm4101008-sc0692/",
sku: "CM4101008"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4004016-sc0685/",
url: "https://raspberrypi.dk/produkt/cm4004016-sc0685/",
sku: "CM4004016"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4101016-sc0693/",
url: "https://raspberrypi.dk/produkt/cm4101016-sc0693/",
sku: "CM4101016"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4004032-sc0686/",
url: "https://raspberrypi.dk/produkt/cm4004032-sc0686/",
sku: "CM4004032"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4101032-sc0694/",
url: "https://raspberrypi.dk/produkt/cm4101032-sc0694/",
sku: "CM4101032"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4008000-sc0687/",
url: "https://raspberrypi.dk/produkt/cm4008000-sc0687/",
sku: "CM4008000"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4102000-sc0667/",
url: "https://raspberrypi.dk/produkt/cm4102000-sc0667/",
sku: "CM4102000"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4008008-sc0688/",
url: "https://raspberrypi.dk/produkt/cm4008008-sc0688/",
sku: "CM4008008"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4102008-sc0668/",
url: "https://raspberrypi.dk/produkt/cm4102008-sc0668/",
sku: "CM4102008"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4008016-sc0689/",
url: "https://raspberrypi.dk/produkt/cm4008016-sc0689/",
sku: "CM4008016"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4102016-sc0669/",
url: "https://raspberrypi.dk/produkt/cm4102016-sc0669/",
sku: "CM4102016"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4102032-sc0670/",
url: "https://raspberrypi.dk/produkt/cm4102032-sc0670/",
sku: "CM4102032"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4104000-sc0671/",
url: "https://raspberrypi.dk/produkt/cm4104000-sc0671/",
sku: "CM4104000"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4104008-sc0672/",
url: "https://raspberrypi.dk/produkt/cm4104008-sc0672/",
sku: "CM4104008"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4104016-sc0673/",
url: "https://raspberrypi.dk/produkt/cm4104016-sc0673/",
sku: "CM4104016"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4104032-sc0674/",
url: "https://raspberrypi.dk/produkt/cm4104032-sc0674/",
sku: "CM4104032"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4108000-sc0675/",
url: "https://raspberrypi.dk/produkt/cm4108000-sc0675/",
sku: "CM4108000"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4108008-sc0676/",
url: "https://raspberrypi.dk/produkt/cm4108008-sc0676/",
sku: "CM4108008"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4108016-sc0677/",
url: "https://raspberrypi.dk/produkt/cm4108016-sc0677/",
sku: "CM4108016"
},
%ProductUpdate{
url: "https://raspberrypi.dk/en/product/cm4108032-sc0678/",
url: "https://raspberrypi.dk/produkt/cm4108032-sc0678/",
sku: "CM4108032"
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ defmodule NervesMetalDetector.Inventory.Data.ProductUpdateItems.ReicheltDe do
# RPi CM4
%ProductUpdate{
url:
"https://www.reichelt.de/de/en/raspberry-pi-compute-module-4-1gb-ram-16gb-emmc-wlan-rpi-cm4w-1gb16gb-p290501.html",
"https://www.reichelt.de/raspberry-pi-compute-module-4-1gb-ram-16gb-emmc-wlan-rpi-cm4w-1gb16gb-p290501.html",
sku: "CM4101016"
},
%ProductUpdate{
url:
"https://www.reichelt.de/de/en/raspberry-pi-compute-module-4-1gb-ram-32gb-emmc-rpi-cm4-1gb32gb-p290498.html",
"https://www.reichelt.de/raspberry-pi-compute-module-4-1gb-ram-32gb-emmc-rpi-cm4-1gb32gb-p290498.html",
sku: "CM4001032"
},
%ProductUpdate{
url:
"https://www.reichelt.de/de/en/raspberry-pi-compute-module-4-1gb-ram-8gb-emmc-rpi-cm4-1gb8gb-p290496.html?&trstct=pol_11&nbc=1",
"https://www.reichelt.de/raspberry-pi-compute-module-4-1gb-ram-8gb-emmc-rpi-cm4-1gb8gb-p290496.html?&trstct=pol_11&nbc=1",
sku: "CM4001008"
},
%ProductUpdate{
url:
"https://www.reichelt.de/de/en/raspberry-pi-compute-module-4-4gb-ram-8gb-emmc-wlan-rpi-cm4w-4gb8gb-p290540.html",
"https://www.reichelt.de/raspberry-pi-compute-module-4-4gb-ram-8gb-emmc-wlan-rpi-cm4w-4gb8gb-p290540.html",
sku: "CM4104008"
},

Expand Down

0 comments on commit 420bcf5

Please sign in to comment.