From b1f3ed05efabd956cc9af7addc6a1f7601171ffb Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 5 Aug 2013 12:58:39 +0200 Subject: [PATCH] Fix Kevin & Kell filter. --- .../rhynodge/filters/comics/KevinAndKellComicFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/rhynodge/filters/comics/KevinAndKellComicFilter.java b/src/main/java/net/pterodactylus/rhynodge/filters/comics/KevinAndKellComicFilter.java index 3e725d2..bd460ca 100644 --- a/src/main/java/net/pterodactylus/rhynodge/filters/comics/KevinAndKellComicFilter.java +++ b/src/main/java/net/pterodactylus/rhynodge/filters/comics/KevinAndKellComicFilter.java @@ -37,13 +37,13 @@ public class KevinAndKellComicFilter extends ComicSiteFilter { @Override protected Optional extractTitle(Document document) { - Elements captionElements = document.select("#caption"); + Elements captionElements = document.select("#comicstripCaption"); return Optional.fromNullable(StringEscapeUtils.unescapeHtml4(captionElements.text())); } @Override protected List extractImageUrls(Document document) { - Elements imageTag = document.select("#comicstrip"); + Elements imageTag = document.select("#comicstrip img"); return imageTag.hasAttr("src") ? Arrays.asList(imageTag.attr("src")) : Collections.emptyList(); } -- 2.7.4