From 264a20a4dbbe93ae983e73c94535f9e640f86f85 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 6 Jan 2014 09:58:24 +0100 Subject: [PATCH] Disable disallowed drunkduck comics. --- dosagelib/plugins/drunkduck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dosagelib/plugins/drunkduck.py b/dosagelib/plugins/drunkduck.py index 09bd8965e..8d24f119c 100644 --- a/dosagelib/plugins/drunkduck.py +++ b/dosagelib/plugins/drunkduck.py @@ -14,7 +14,8 @@ _nextSearch = compile(_linkSearch + tagre("img", "class", "arrow_next")) _lastSearch = compile(_linkSearch + tagre("img", "class", "arrow_last")) def add(name, path): - classname = 'DrunkDuck_%s' % name + # XXX disallowed by robots.txt + classname = '_DrunkDuck_%s' % name _url = 'http://www.theduckwebcomics.com/%s/' % path @classmethod