From 27d31dc052d53cecdb1d68158c03fbaf7654a37d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20=C4=90=E1=BB=A9c=20Hi=E1=BA=BFu?= Date: Sat, 30 May 2015 11:34:03 +0700 Subject: enhancer: use regex on loadingartist --- articleenhancer/regexenhancers.json | 6 ++++++ articleenhancer/xpathenhancers.json | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/articleenhancer/regexenhancers.json b/articleenhancer/regexenhancers.json index 403abb32a..c1c4d1ef0 100644 --- a/articleenhancer/regexenhancers.json +++ b/articleenhancer/regexenhancers.json @@ -39,5 +39,11 @@ "%-\\d+x\\d+%": "", "%(width|height)=\"\\d+\"%" : "" } + }, + "www.loadingartist.com": { + "%www.loadingartist.com/comic/%": { + "%-\\d+x\\d+%": "", + "%(width|height)=\"\\d+\"%" : "" + } } } diff --git a/articleenhancer/xpathenhancers.json b/articleenhancer/xpathenhancers.json index eafb13716..34a6e95db 100644 --- a/articleenhancer/xpathenhancers.json +++ b/articleenhancer/xpathenhancers.json @@ -99,9 +99,6 @@ "eqcomics.com": { "%feedproxy.google.com/~r/eqcomics%": "//div[@id=\"comic\"]/div/a/img" }, - "loadingartist.com": { - "%feedproxy.google.com/~r/LoadingArtist%": "//div[@id=\"comic\"]" - }, "thegamercat.com": { "%thegamercat.com%": "//div[@id=\"comic\"] | //div[@class=\"post-content\"]/div[@class=\"entry\"]/p" }, -- cgit v1.2.3