From a48a26ca6e87db48b2b1b9fa127baec39e42ebda Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 24 Apr 2013 07:20:55 +0200 Subject: [PATCH] Search image tag correctly. --- .../pterodactylus/rhynodge/filters/comics/CtrlAltDelComicFilter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/rhynodge/filters/comics/CtrlAltDelComicFilter.java b/src/main/java/net/pterodactylus/rhynodge/filters/comics/CtrlAltDelComicFilter.java index 97b30c4..7401369 100644 --- a/src/main/java/net/pterodactylus/rhynodge/filters/comics/CtrlAltDelComicFilter.java +++ b/src/main/java/net/pterodactylus/rhynodge/filters/comics/CtrlAltDelComicFilter.java @@ -42,7 +42,7 @@ public class CtrlAltDelComicFilter extends ComicSiteFilter { @Override protected List extractImageUrls(Document document) { - Elements imageTags = document.select(".content img"); + Elements imageTags = document.select("#content img"); return FluentIterable.from(imageTags).transform(new Function() { @Override @@ -54,7 +54,7 @@ public class CtrlAltDelComicFilter extends ComicSiteFilter { @Override protected List extractImageComments(Document document) { - Elements imageTags = document.select(".content img"); + Elements imageTags = document.select("#content img"); return FluentIterable.from(imageTags).transform(new Function() { @Override -- 2.7.4