From: David ‘Bombe’ Roden Date: Wed, 17 Jul 2013 04:13:55 +0000 (+0200) Subject: Fix SMBC again. X-Git-Tag: v2~285 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=be99a98089d2b53c402b1a570eda565a472404fe;p=rhynodge.git Fix SMBC again. --- 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 7587e62..bfdbda4 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("#comicimage img").get(1).attr("src"); + String imageUrl = document.select("#comicimage img").get(0).attr("src"); String afterImageUrl = document.select("#aftercomic img").attr("src"); return FluentIterable.from(Arrays.asList(imageUrl, afterImageUrl)).filter(new Predicate() {