Added MarriedToTheSea, NatalieDee

This commit is contained in:
Bastian Kleineidam 2013-07-10 18:43:53 +02:00
parent 3ada0bd6b0
commit 934546954b
3 changed files with 38 additions and 2 deletions

View file

@ -1,7 +1,11 @@
Dosage 2.5 (released xx.7.2013)
Dosage 2.5 (released xx.xx.2013)
Features:
- comics: Added ICanBarelyDraw.
- comics: Added ICanBarelyDraw, MarriedToTheSea, NatalieDee.
Closes: GH bug #37
Fixes:
- comics: Fixed GoblinsComic, KevinAndKell and other comics.
Dosage 2.4 (released 24.6.2013)

View file

@ -55,6 +55,22 @@ class Marilith(_BasicScraper):
help = 'Index format: yyyymmdd'
class MarriedToTheSea(_BasicScraper):
description = u'comics by Drew & Natalie Dee - Updates daily at midnight'
url = 'http://www.marriedtothesea.com/'
rurl = escape(url)
stripUrl = url + 'index.php?date=%s'
firstStripUrl = stripUrl % '022806'
imageSearch = compile(tagre("img", "src", r'(%s\d+/[^"]+)' % rurl, before="overflow"))
prevSearch = compile(tagre("a", "href", r'([^"]+)') + "<< Yesterday")
help = 'Index format: mmddyy'
@classmethod
def namer(cls, imageUrl, pageUrl):
unused, date, filename = imageUrl.rsplit('/', 2)
return '%s-%s' % (date, filename)
class Meek(_BasicScraper):
url = 'http://www.meekcomic.com/'
stripUrl = url + '%s'

View file

@ -33,6 +33,22 @@ class NamirDeiter(_BasicScraper):
help = 'Index format: yyyymmdd'
class NatalieDee(_BasicScraper):
description = u"America's Favorite Cracker"
url = 'http://www.nataliedee.com/'
rurl = escape(url)
stripUrl = url + 'index.php?date=%s'
firstStripUrl = stripUrl % '022806'
imageSearch = compile(tagre("img", "src", r'(%s\d+/[^"]+)' % rurl, before="overflow"))
prevSearch = compile(tagre("a", "href", r'([^"]+)') + "<< Yesterday")
help = 'Index format: mmddyy'
@classmethod
def namer(cls, imageUrl, pageUrl):
unused, date, filename = imageUrl.rsplit('/', 2)
return '%s-%s' % (date, filename)
class Nedroid(_BasicScraper):
url = 'http://nedroid.com/'
rurl = escape(url)