Skip to content

Commit

Permalink
Grab higher-res image if exists (#2041)
Browse files Browse the repository at this point in the history
  • Loading branch information
feederbox826 authored Sep 23, 2024
1 parent aaf48db commit 416cc0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scrapers/Andomark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 416cc0a

Please sign in to comment.