Fix SMBC again.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Jul 2013 04:13:55 +0000 (06:13 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Jul 2013 04:13:55 +0000 (06:13 +0200)
src/main/java/net/pterodactylus/rhynodge/filters/comics/SaturdayMorningBreakfastCerealComicFilter.java

index 7587e62..bfdbda4 100644 (file)
@@ -43,7 +43,7 @@ public class SaturdayMorningBreakfastCerealComicFilter extends ComicSiteFilter {
 
        @Override
        protected List<String> 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<String>() {