Added Eat That Toast
This commit is contained in:
parent
124cf99665
commit
740bcb72ce
1 changed files with 11 additions and 0 deletions
11
dosagelib/plugins/e.py
Normal file → Executable file
11
dosagelib/plugins/e.py
Normal file → Executable file
|
@ -47,6 +47,17 @@ class EatLiver(_BasicScraper):
|
|||
prevSearch = compile(tagre("a", "href", r'(i\.php\?n=\d+)') + "<< Previous")
|
||||
|
||||
|
||||
class EatThatToast(_BasicScraper):
|
||||
url = 'http://eatthattoast.com/'
|
||||
rurl = escape(url)
|
||||
stripUrl = url + 'comic/%s'
|
||||
firstStripUrl = stripUrl % 'thewizard/'
|
||||
imageSearch = compile(tagre("div", "id", r'comic') + "\s*.*\s*" + tagre("img", "src", r'(%swp-content/uploads/\d+/\d+/[^"]+)' % rurl))
|
||||
prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % rurl, after='comic-nav-base comic-nav-previous'))
|
||||
textSearch = compile(tagre("div", "id", r'comic') + "\s*.*\s*" + tagre("img", "alt", r'([^"]+)'))
|
||||
help = 'Index Format: name'
|
||||
|
||||
|
||||
class EdibleDirt(_BasicScraper):
|
||||
description = u'Edible Dirt, by Matt Rosemier'
|
||||
url = 'http://eddirt.frozenreality.co.uk/'
|
||||
|
|
Loading…
Reference in a new issue