summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHoàng Đức Hiếu <hdhoang@zahe.me>2015-05-30 10:22:27 +0700
committerHoàng Đức Hiếu <hdhoang@zahe.me>2015-05-30 11:40:01 +0700
commitd5f1487dd16ee90c8494693f4adf17b9a55a309d (patch)
tree54a95be67dd5f0ecb77d44349dc677d8a6280b44
parent7dcbea39cce13007375b770108a14fed76d8755f (diff)
enhancer: include buttersafe post under the comic
-rw-r--r--articleenhancer/regexenhancers.json5
-rw-r--r--articleenhancer/xpathenhancers.json3
2 files changed, 3 insertions, 5 deletions
diff --git a/articleenhancer/regexenhancers.json b/articleenhancer/regexenhancers.json
index fd83d0b3f..a680fbbc6 100644
--- a/articleenhancer/regexenhancers.json
+++ b/articleenhancer/regexenhancers.json
@@ -4,11 +4,6 @@
"%http://www.twogag.com/comics-rss/([^.]+)\\.jpg%": "http://www.twogag.com/comics/$1.jpg"
}
},
- "buttersafe.com": {
- "%(?:buttersafe.com)|(feedproxy.google.com/~r/Buttersafe)%": {
- "%buttersafe.com/comics/rss/([^.]+)RSS([^.]+)?.jpg%": "buttersafe.com/comics/$1$2.jpg"
- }
- },
"nichtlustig.de": {
"%nichtlustig.de%": {
"%.*static.nichtlustig.de/comics/full/(\\d+).*%s": "<img src=\"http://static.nichtlustig.de/comics/full/$1.jpg\" />"
diff --git a/articleenhancer/xpathenhancers.json b/articleenhancer/xpathenhancers.json
index 520c84a6f..eafb13716 100644
--- a/articleenhancer/xpathenhancers.json
+++ b/articleenhancer/xpathenhancers.json
@@ -173,5 +173,8 @@
},
"outdoordeals.de": {
"%outdoordeals.de%": "//article[contains(@class,'blogpost')]/div[@class='inner']"
+ },
+ "buttersafe.com": {
+ "%buttersafe.com%": "//div[@id='comic'] | //div[@class='post-comic']"
}
}