Try different selector for main image.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 3 May 2013 17:04:20 +0000 (19:04 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 3 May 2013 17:04:20 +0000 (19:04 +0200)
src/main/java/net/pterodactylus/rhynodge/filters/comics/SaturdayMorningBreakfastCerealComicFilter.java

index 6a9b73a..3b1f820 100644 (file)
@@ -42,7 +42,7 @@ public class SaturdayMorningBreakfastCerealComicFilter extends ComicSiteFilter {
 
        @Override
        protected List<String> extractImageUrls(Document document) {
-               String imageUrl = document.select(".comicboxcenter img:eq(1)").attr("src");
+               String imageUrl = document.select(".comicboxcenter center img:eq(1)").attr("src");
                String afterImageUrl = document.select("#aftercomic img").attr("src");
                return FluentIterable.from(Arrays.asList(imageUrl, afterImageUrl)).filter(new Predicate<String>() {