Merge branch 'master' of github.com:wummel/dosage
This commit is contained in:
commit
6dabfe0480
1 changed files with 3 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue