From: David ‘Bombe’ Roden Date: Fri, 3 May 2013 17:25:50 +0000 (+0200) Subject: Try different selector for main image. X-Git-Tag: v2~289 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=62feb4f8c15e2b11e073fc12a86081c9852b4f11;p=rhynodge.git Try different selector for main image. --- diff --git a/src/main/java/net/pterodactylus/rhynodge/filters/comics/SaturdayMorningBreakfastCerealComicFilter.java b/src/main/java/net/pterodactylus/rhynodge/filters/comics/SaturdayMorningBreakfastCerealComicFilter.java index 72e67dc..bf2c75c 100644 --- a/src/main/java/net/pterodactylus/rhynodge/filters/comics/SaturdayMorningBreakfastCerealComicFilter.java +++ b/src/main/java/net/pterodactylus/rhynodge/filters/comics/SaturdayMorningBreakfastCerealComicFilter.java @@ -42,7 +42,7 @@ public class SaturdayMorningBreakfastCerealComicFilter extends ComicSiteFilter { @Override protected List extractImageUrls(Document document) { - String imageUrl = document.select(".comicboxcenter img[usemap=#buttons] > img").attr("src"); + String imageUrl = document.select(".comicboxcenter img").get(1).attr("src"); String afterImageUrl = document.select("#aftercomic img").attr("src"); return FluentIterable.from(Arrays.asList(imageUrl, afterImageUrl)).filter(new Predicate() {