Use slightly different selector for “heldentage.”
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 26 Aug 2015 19:09:23 +0000 (21:09 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 26 Aug 2015 19:09:23 +0000 (21:09 +0200)
src/main/java/net/pterodactylus/rhynodge/filters/comics/HeldentageFilter.java

index c3f21bf..a1f1636 100644 (file)
@@ -25,7 +25,7 @@ public class HeldentageFilter extends ComicSiteFilter {
 
        @Override
        protected List<String> extractImageUrls(Document document) {
-               return document.select("#mod_heldentage a img").stream().map(element -> element.attr("src")).collect(toList());
+               return document.select("#mod_jheldentage_display_latest img").stream().map(element -> element.attr("src")).collect(toList());
        }
 
        @Override