added comic Internet Webcomic

This commit is contained in:
Damjan Košir 2013-12-10 16:32:16 +13:00
parent f095f6309e
commit b53ca04ee7

View file

@ -38,6 +38,17 @@ class IDreamOfAJeanieBottle(_BasicScraper):
help = 'Index format: n (unpadded)' help = 'Index format: n (unpadded)'
class InternetWebcomic(_BasicScraper):
description = u"Internet Webcomic"
url = 'http://www.internet-webcomic.com/'
rurl = escape(url)
stripUrl = url + '?p=%s'
firstStripUrl = stripUrl % '30'
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"/]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\?p=\d+)' % rurl, after="navi navi-prev"))
help = 'Index format: n'
class IrregularWebcomic(_BasicScraper): class IrregularWebcomic(_BasicScraper):
url = 'http://www.irregularwebcomic.net/' url = 'http://www.irregularwebcomic.net/'
stripUrl = url + '%s.html' stripUrl = url + '%s.html'