Skip to content

Commit

Permalink
fix(Knihydobrovsky Cz Daily): #2675 - knihydobrovsky.cz - change sele…
Browse files Browse the repository at this point in the history
…ctor for picture link
  • Loading branch information
oleksandravalko authored and rarous committed Dec 12, 2024
1 parent eeffdb0 commit 94684f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actors/knihydobrovsky-daily/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function extractProducts({ document }) {
itemId,
itemUrl: canonical(item.querySelector("h3 a").getAttribute("href")),
itemName: item.querySelector("span.name").innerText,
img: item.querySelector("picture img").getAttribute("src"),
img: item.querySelector("img").getAttribute("srcset"),
currentPrice: currentPrice === "zdarma" ? 0 : (cleanPrice(currentPrice) ?? null),
originalPrice: originalPrice != null ? cleanPrice(originalPrice) ?? null: null,
discounted,
Expand Down

0 comments on commit 94684f0

Please sign in to comment.