Fix some modules in m.py.

This commit is contained in:
Tobias Gruetzmacher 2016-04-30 01:59:28 +02:00
parent 1d52d33311
commit d5f91ecfd2

View file

@ -55,12 +55,11 @@ class ManlyGuysDoingManlyThings(_ParserScraper):
help = 'Index format: ddmmyyyy' help = 'Index format: ddmmyyyy'
class MareInternum(_ParserScraper): class MareInternum(_WordPressScraper):
url = 'http://marecomic.com/' url = 'http://www.marecomic.com/'
stripUrl = url + 'comics/ch%s' stripUrl = url + 'comic/%s/'
imageSearch = '//div[@id="comic"]//img' firstStripUrl = stripUrl % 'intro-page-1'
prevSearch = '//a[@class="comic-nav-base comic-nav-previous"]' help = 'Index format: ch<chapter>-page-<pagenum> (most of the time)'
help = 'Index format: <chapter>-page-<pagenum>'
class Marilith(_BasicScraper): class Marilith(_BasicScraper):
@ -161,12 +160,12 @@ class MonsieurLeChien(_BasicScraper):
class Moonsticks(_ParserScraper): class Moonsticks(_ParserScraper):
url = "http://moonsticks.org/" url = "http://moonsticks.org/"
imageSearch = "//div[@class='entry']//img" imageSearch = "//div[@class='entry']//img"
prevSearch = u"//a[text()='« Previous']" prevSearch = u"//a[text()='\u00AB Prev']"
class MrLovenstein(_BasicScraper): class MrLovenstein(_BasicScraper):
url = 'http://www.mrlovenstein.com/' url = 'http://www.mrlovenstein.com/'
stripUrl = url + 'comic/%s#comic' stripUrl = url + 'comic/%s'
firstStripUrl = stripUrl % '1' firstStripUrl = stripUrl % '1'
imageSearch = ( imageSearch = (
# captures rollover comic # captures rollover comic