Merge branch 'master' of github.com:wummel/dosage

This commit is contained in:
Bastian Kleineidam 2014-02-17 14:57:51 +01:00
commit 6dabfe0480

View file

@ -193,7 +193,9 @@ class EvilInc(_BasicScraper):
url = 'http://evil-inc.com/' url = 'http://evil-inc.com/'
stripUrl = url + 'comic/%s' stripUrl = url + 'comic/%s'
firstStripUrl = stripUrl % 'monday-3' firstStripUrl = stripUrl % 'monday-3'
imageSearch = compile(tagre("img", "src", r'(http://i\d\.wp\.com/evil-inc\.com/wp-content/uploads/[^"]+)')) imageSearch = compile(tagre("div", "id", "comic") +
r'\s*.*\s*' + #filter out the variant href tag
tagre("img", "src", r'(http://i\d\.wp\.com/evil-inc\.com/wp-content/uploads/[^"]+)'))
prevSearch = compile(tagre("span", "class", "mininav-prev") + prevSearch = compile(tagre("span", "class", "mininav-prev") +
tagre("a", "href", r'([^"]+)')) tagre("a", "href", r'([^"]+)'))
help = 'Index format: stripname' help = 'Index format: stripname'