Disable disallowed drunkduck comics.

This commit is contained in:
Bastian Kleineidam 2014-01-06 09:58:24 +01:00
parent a19db64d12
commit 264a20a4db

View file

@ -14,7 +14,8 @@ _nextSearch = compile(_linkSearch + tagre("img", "class", "arrow_next"))
_lastSearch = compile(_linkSearch + tagre("img", "class", "arrow_last")) _lastSearch = compile(_linkSearch + tagre("img", "class", "arrow_last"))
def add(name, path): def add(name, path):
classname = 'DrunkDuck_%s' % name # XXX disallowed by robots.txt
classname = '_DrunkDuck_%s' % name
_url = 'http://www.theduckwebcomics.com/%s/' % path _url = 'http://www.theduckwebcomics.com/%s/' % path
@classmethod @classmethod