From 96a90e583267bac087575aab4e3b3ba6ef5b876c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 4 May 2015 20:19:40 +0200 Subject: [PATCH] Fix image URL extraction of SMBC --- .../filters/comics/SaturdayMorningBreakfastCerealComicFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e37f01a..f64028a 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(0).attr("src"); + String imageUrl = document.select("img#comic").get(0).attr("src"); String afterImageUrl = document.select("#aftercomic img").attr("src"); return FluentIterable.from(Arrays.asList(imageUrl, afterImageUrl)).filter(url -> url.length() > 0).toList(); } -- 2.7.4