From: David ‘Bombe’ Roden Date: Wed, 17 Jul 2013 04:11:29 +0000 (+0200) Subject: Fix SMBC comic retrieval after website change. X-Git-Tag: v2~286 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=22762531e1207585950cca558e207dca1dab06c4;p=rhynodge.git Fix SMBC comic retrieval after website change. --- 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 f0b8e3d..7587e62 100644 --- a/src/main/java/net/pterodactylus/rhynodge/filters/comics/SaturdayMorningBreakfastCerealComicFilter.java +++ b/src/main/java/net/pterodactylus/rhynodge/filters/comics/SaturdayMorningBreakfastCerealComicFilter.java @@ -43,7 +43,7 @@ public class SaturdayMorningBreakfastCerealComicFilter extends ComicSiteFilter { @Override protected List extractImageUrls(Document document) { - String imageUrl = document.select(".comicboxcenter img").get(1).attr("src"); + String imageUrl = document.select("#comicimage img").get(1).attr("src"); String afterImageUrl = document.select("#aftercomic img").attr("src"); return FluentIterable.from(Arrays.asList(imageUrl, afterImageUrl)).filter(new Predicate() {