diff options
| -rw-r--r-- | crawler/shop_rumundco.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawler/shop_rumundco.go b/crawler/shop_rumundco.go index 7ce5c29..11210d0 100644 --- a/crawler/shop_rumundco.go +++ b/crawler/shop_rumundco.go @@ -126,6 +126,9 @@ func (app *App) ScrapeRumundCo(shop Shop) []Angebot { // Rum & Co uses pagespeed image_url_noisy := e.ChildAttr("img", "data-src") + if "" == image_url_noisy { + image_url_noisy = e.ChildAttr("img", "src") + } if strings.Contains(image_url_noisy, "pagespeed") { r_pagespeed, err := regexp.Compile(`jpg(\.pagespeed.+)$`) |
