1
from re import compile, IGNORECASE
3
from dosage.helpers import BasicScraper, queryNamer
6
class MadamAndEve(BasicScraper):
7
latestUrl = 'http://www.madamandeve.co.za/week_of_cartns.php'
8
imageUrl = 'http://www.madamandeve.co.za/week_of_cartns.php'
9
imageSearch = compile(r'<IMG BORDER="0" SRC="(cartoons/me\d{6}\.(gif|jpg))">')
10
prevSearch = compile(r'<a href="(weekend_cartoon.php)"')
11
help = 'Index format: (none)'
14
class MagicHigh(BasicScraper):
15
latestUrl = 'http://www.doomnstuff.com/magichigh/index.php'
16
imageUrl = 'http://www.doomnstuff.com/magichigh/index.php?strip_id=%s'
17
imageSearch = compile(r'(istrip_files/strips/.+?)"')
18
prevSearch = compile(r'First .+?"(/magichigh.+?)".+?top_back')
19
help = 'Index format: n'
22
class MakeWithTheFunny(BasicScraper):
23
latestUrl = 'http://www.mwtfunny.com/'
24
imageUrl = 'http://www.mwtfunny.com/index.php?ComicID=%s'
25
imageSearch = compile(r'<img src=".+?(strips/\d{4}-\d{2}-\d{2}\..+?)">')
26
prevSearch = compile(r'href="(index.php\?ComicID=.+?)" alt=".+?previous')
27
help = 'Index format: n (unpadded)'
30
class Marilith(BasicScraper):
31
latestUrl = 'http://www.marilith.com/'
32
imageUrl = 'http://www.marilith.com/archive.php?date=%s'
33
imageSearch = compile(r'<img src="(comics/.+?)" border')
34
prevSearch = compile(r'<a href="(archive\.php\?date=.+?)"><img border=0 name=previous_day')
35
help = 'Index format: yyyymmdd'
38
class MarryMe(BasicScraper):
39
latestUrl = 'http://marrymemovie.com/main/'
40
imageUrl = 'http://marrymemovie.com/main/%s'
41
imageSearch = compile(r'(/comicfolder/.+?)"')
42
prevSearch = compile(r'Previous.+?(/main/.+?)">Page')
43
help = 'Index format: good luck !'
46
class MegaTokyo(BasicScraper):
47
latestUrl = 'http://www.megatokyo.com/'
48
imageUrl = 'http://www.megatokyo.com/strip/%s'
49
imageSearch = compile(r'"(strips/.+?)"', IGNORECASE)
50
prevSearch = compile(r'"(./strip/\d+?)">Prev')
51
help = 'Index format: nnnn'
54
class MyPrivateLittleHell(BasicScraper):
55
latestUrl = 'http://mutt.purrsia.com/mplh/'
56
imageUrl = 'http://mutt.purrsia.com/mplh/?date=%s'
57
imageSearch = compile(r'<img.+?src="(comics/.+?)"')
58
prevSearch = compile(r'<a.+?href="(\?date=\d+/\d+/\d+)">Prev</a>')
59
help = 'Index format: mm/dd/yyyy'
62
class MacHall(BasicScraper):
63
latestUrl = 'http://www.machall.com/'
64
imageUrl = 'http://www.machall.com/index.php?strip_id=%s'
65
imageSearch = compile(r'<img src="(comics/\d{4}\d{2}\d{2}\..*?)" border=0>')
66
prevSearch = compile(r'<a href="(view\.php\?date=\d{4}-\d{2}-\d{2})"><img border=0 src=\'drop_shadow/previous.gif\'>')
67
help = 'Index format: n (unpadded)'
70
class Misfile(BasicScraper):
71
latestUrl = 'http://www.misfile.com/'
72
imageUrl = 'http://www.misfile.com/?page=%s'
73
imageSearch = compile(r'<img src="(overlay\.php\?pageCalled=\d+)">')
74
prevSearch = compile(r'<a href="(\?page=\d+)"><img src="/images/back\.gif"')
75
help = 'Index format: n (unpadded)'
76
namer = queryNamer('pageCalled')
79
class MinesBigger(BasicScraper):
80
basePath = 'http://minesbigger.novablade.com/phpcomic/'
81
prevSearch = compile(r'<a href="(http://minesbigger\.novablade\.com/phpcomic/daily\.php\?date=\d{6})"><img src="../../images/phpprevious.gif')
84
class MysteriesOfTheArcana(BasicScraper):
85
latestUrl = 'http://mysteriesofthearcana.com/'
86
imageUrl = 'http://mysteriesofthearcana.com/index.php?action=comics&cid='
87
imageSearch = compile(r'(image.php\?type=com&i=.+?)"')
88
prevSearch = compile(r'(index.php\?action=comics&cid=.+?)".+?show_prev1')
89
help = 'Index format: n (unpadded)'
92
class MysticRevolution(BasicScraper):
93
latestUrl = 'http://www.mysticrev.com/index.php'
94
imageUrl = 'http://www.mysticrev.com/index.php?cid=%s'
95
imageSearch = compile(r'(comics/.+?)"')
96
prevSearch = compile(r'(\?cid=.+?)".+?prev.gif')
97
help = 'Index format: n (unpadded)'