From 416cc0a15318d8f574ea6835a98f6d9a5c853e46 Mon Sep 17 00:00:00 2001 From: feederbox826 <144178721+feederbox826@users.noreply.github.com> Date: Mon, 23 Sep 2024 16:02:21 -0400 Subject: [PATCH] Grab higher-res image if exists (#2041) --- scrapers/Andomark.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scrapers/Andomark.yml b/scrapers/Andomark.yml index ed8b16c9b..7baea836f 100644 --- a/scrapers/Andomark.yml +++ b/scrapers/Andomark.yml @@ -154,6 +154,7 @@ xPathScrapers: common: $scene: //div[contains(@class, "update_block")] $excludeUpdates: not(ancestor::*[contains(@class, "mpuSection")]) + $update_image: //div[@class="update_image"]/a/img[@src0_1x] scene: Title: $scene//span[@class="update_title"]/text()|//title/text() Date: @@ -261,7 +262,7 @@ xPathScrapers: yummysofie: Yum Sofie yummywomen: Yummywomen Image: &image - selector: //base/@href | //div[@class="update_image"]/a/img[@src0_1x]/@src0_1x | //span[@class="model_update_thumb"]/img/@src + selector: //base/@href | ($update_image/@src0_3x or $update_image/@src0_2x or $update_image/@src0_1x or $update_image/@src)[1] concat: / postProcess: - replace: