Fix SMBC comic retrieval after website change.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Jul 2013 04:11:29 +0000 (06:11 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 17 Jul 2013 04:11:29 +0000 (06:11 +0200)
src/main/java/net/pterodactylus/rhynodge/filters/comics/SaturdayMorningBreakfastCerealComicFilter.java

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