Shops Aktualisiert

This commit is contained in:
Domenik Rath 2025-01-21 09:54:17 +01:00
parent 0d4014c07a
commit 74198b6b04
2 changed files with 22 additions and 51 deletions

View File

@ -291,10 +291,6 @@
<label for="esska">Esska</label>
<label></label>
<br>
<input type="checkbox" id="toolineo" value="toolineo" class="baumarkt-checkbox">
<label for="toolineo">Toolineo</label>
<label></label>
<br>
<input type="checkbox" id="voelkner" value="voelkner" class="baumarkt-checkbox">
<label for="voelkner">Voelkner</label>
<label></label>
@ -303,20 +299,10 @@
<label for="megabad">Megabad</label>
<label></label>
<br>
<input type="checkbox" id="baubeschlag" value="baubeschlag" class="baumarkt-checkbox">
<label for="baubeschlag">Baubeschlag Shop</label>
<br>
<input type="checkbox" id="ips" value="ips" class="baumarkt-checkbox">
<label for="ips">IPS</label>
<label></label>
<br>
<input type="checkbox" id="haefele" value="haefele" class="baumarkt-checkbox">
<label for="haefele">Häfele</label>
<label></label>
<br>
<input type="checkbox" id="delker" value="delker" class="baumarkt-checkbox">
<label for="delker">Delker</label>
</div>
<div class="checkbox-group" >
@ -350,22 +336,6 @@
<input type="checkbox" id="transpak" value="transpak" class="verpackungen-checkbox">
<label for="transpak">Transpak</label>
</div>
<div class="checkbox-group" >
<label class="category-label">
<input type="checkbox" id="masterSchilderCheckbox" onclick="toggleSubCheckboxes('masterSchilderCheckbox', 'schilder')">
<u style="color: green; font-weight: bold;">Schilder Artikel</u>
</label>
<br>
<input type="checkbox" id="brewes" value="brewes" class="schilder-checkbox">
<label for="brewes">Brewes</label><br>
<input type="checkbox" id="schildershop24" value="schildershop24" class="schilder-checkbox">
<label for="schildershop24">Schildershop 24</label><br>
<input type="checkbox" id="vkfrenzel" value="vkfrenzel" class="schilder-checkbox">
<label for="vkfrenzel">VKF Renzel</label><br>
</div>
<div class="checkbox-group" >
<label class="category-label">
@ -391,12 +361,20 @@
<br>
<input type="checkbox" id="engelbert" value="engelbert" class="arbeitsschutz-checkbox">
<label for="engelbert">Engelbert Strauss</label><br>
</div>
<input type="checkbox" id="arbeitsplatzmattenprofi" value="arbeitsplatzmattenprofi" class="arbeitsschutz-checkbox">
<label for="arbeitsplatzmattenprofi">Arbeitsplatzmattenprofi</label><br>
<div class="checkbox-group" >
<label class="category-label Bücher">
<input type="checkbox" id="masterBuecherCheckbox" onclick="toggleSubCheckboxes
('masterBuecherCheckbox', 'buecher')">
<u style="color: green; font-weight: bold;">Bücher</u>
</label>
<br>
<input type="checkbox" id="buchammarkt" value="buchammarkt" class="buecher-checkbox">
<label for="buchammarkt">Buchhandlung Marburg</label><br>
<input type="checkbox" id="ara" value="ara" class="arbeitsschutz-checkbox">
<label for="ara">ARA</label><br>
<input type="checkbox" id="thalia" value="thalia" class="buecher-checkbox">
<label for="thalia"> Thalia</label><br>
</div>
<div class="checkbox-group" >
@ -410,9 +388,6 @@
<input type="checkbox" id="praxisdienst" value="praxisdienst" class="med-checkbox">
<label for="praxisdienst">Praxisdienst</label><br>
<input type="checkbox" id="gerl" value="gerl" class="med-checkbox">
<label for="gerl">Gerl</label><br>
</div>
<div class="checkbox-group" >
@ -471,6 +446,9 @@
<input type="checkbox" id="thieme" value="thieme" class="sonstige-checkbox">
<label for="thieme">Sport Thieme</label><br>
<input type="checkbox" id="vkfrenzel" value="vkfrenzel" class="sonstige-checkbox">
<label for="vkfrenzel">VKF Renzel</label><br>
</div>
</div>
</div>

21
main.go
View File

@ -116,14 +116,9 @@ func generateSearchUrl(website, query string) string {
"fkr": fmt.Sprintf("https://shop.fkr-baucentrum.de/suche/?q=%s", query),
"contorion": fmt.Sprintf("https://www.contorion.de/search?q=%s", query),
"esska": fmt.Sprintf("https://www.esska.de/shop/search/%s", query),
"toolineo": fmt.Sprintf("https://toolineo.de/#search:query=%s", query),
"voelkner": fmt.Sprintf("https://www.voelkner.de/search/search.html?keywords=%s", query),
"megabad": fmt.Sprintf("https://www.megabad.com/search/?query=sdyc/#/q/%s", query),
//knauss: "https://knauss.info/dksearch?sSearch=${query}"",
"baubeschlag": fmt.Sprintf("https://www.baubeschlagshop.de/fts.php?criteria=%s", query),
"ips": fmt.Sprintf("https://www.ips-kts.com/de/suche?query=%s", query),
"haefele": fmt.Sprintf("https://www.haefele.de/prod-live/web/WFS/Haefele-HDE-Site/de_DE/-/EUR/ViewParametricSearch-Browse?SearchTerm=%s", query),
"delker": fmt.Sprintf("https://www.delker2business.com/nwsearch/execute?query=%s", query),
"haefele": fmt.Sprintf("https://www.haefele.de/prod-live/web/WFS/Haefele-HDE-Site/de_DE/-/EUR/ViewParametricSearch-Browse?SearchTerm=%s", query),
// ------ Küche --------
"esmeyer": fmt.Sprintf("https://www.esmeyer-shop.de/search?search=%s", query),
@ -143,9 +138,7 @@ func generateSearchUrl(website, query string) string {
"rossmann": fmt.Sprintf("https://www.rossmann.de/de/search/?text=%s", query),
// ----- Schilder ------
"brewes": fmt.Sprintf("https://www.brewes.de/catalogsearch/result?q=%s", query),
"schildershop24": fmt.Sprintf("https://www.schildershop24.de/?action=Query&-query.&query.stichwort=%s", query),
"vkfrenzel": fmt.Sprintf("https://www.vkf-renzel.de/index.php?lang=0&cl=rasearch&searchparam=%s", query),
"vkfrenzel": fmt.Sprintf("https://www.vkf-renzel.de/index.php?lang=0&cl=rasearch&searchparam=%s", query),
// ----- Landwirtschaft -------
"siepmann": fmt.Sprintf("https://www.siepmann.net/siepmann_shop.php?suchfeld=%s", query),
@ -154,14 +147,10 @@ func generateSearchUrl(website, query string) string {
"kox": "https://www.kox-direct.de/?query=${query}&sid=6d0b4366af8bb99af514529b7e61ad&act=search",
// ----- Arbeitsschutz -------
"engelbert": fmt.Sprintf("https://www.engelbert-strauss.de/s/suche?query=%s", query),
"arbeitsplatzmattenprofi": fmt.Sprintf("https://arbeitsplatzmatten-profi.com/?s=%s", query),
"ara": fmt.Sprintf("https://ara-arbeitsschutz.de/navi.php?qs=%s", query),
"engelbert": fmt.Sprintf("https://www.engelbert-strauss.de/s/suche?query=%s", query),
// ------ Med. Artikel -------
"oekonomed": fmt.Sprintf("https://shop.oekonomed.de/de/advanced_search_result.php?keywords=%s&inc_subcat=1", query),
"praxisdienst": fmt.Sprintf("https://www.praxisdienst.de/index.php?stoken=268B7DE4&sid=hf02v2hm41hv6v8j3nttfgej8c&lang=0&cl=search&listorderby=reset&searchparam=%s", query),
"gerl": fmt.Sprintf("https://gerl-dental.de/search?query=%s", query),
// ----- Möbel -------
"ikea": fmt.Sprintf("https://www.ikea.com/de/de/search/?q=%s", query),
@ -184,6 +173,10 @@ func generateSearchUrl(website, query string) string {
// ----- Saatgut ------
"saatgutshop": fmt.Sprintf("https://www.saatgut-shop.de/advanced_search_result.php?categories_id=0&keywords=%s&inc_subcat=1", query),
"saatgutmanufaktur": fmt.Sprintf("https://shop.saatgut-manufaktur.de/advanced_search_result.php?keywords=%s&inc_subcat=1", query),
// ------ Bücher ------
"buchammarkt": fmt.Sprintf("https://bam-mr.buchkatalog.de/search?q=%s", query),
"thalia": fmt.Sprintf("https://www.thalia.de/suche?sq=%s", query),
}
if url, ok := searchUrls[website]; ok {