Merge pull request #12 from TobiX/some-new-comics

Some new comics
This commit is contained in:
wummel 2013-03-04 10:13:51 -08:00
commit c0440266cf
6 changed files with 94 additions and 0 deletions

View file

@ -83,6 +83,20 @@ class AlienLovesPredator(_BasicScraper):
help = 'Index format: yyyy/mm/dd/name/'
class AlphaLuna(_BasicScraper):
url = 'http://www.alphaluna.net/'
stripUrl = url + 'issue-%s/'
imageSearch = compile(tagre("a", "href", r'[^"]*/(?:issue-|support/upcoming)[^"]+') + tagre("img", "src", r'([^"]*/PAGINAS/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'([^"]+)') + tagre("img", "alt", "Prev"))
help = 'Index format: issue/page (e.g. 4/05)'
class AlphaLunaSpanish(AlphaLuna):
name = 'AlphaLuna/Spanish'
url = 'http://alphaluna.net/spanish/'
stripUrl = url + 'issue-%s/'
class Altermeta(_BasicScraper):
url = 'http://altermeta.net/'
stripUrl = url + 'archive.php?comic=%s'

View file

@ -90,6 +90,31 @@ class BratHalla(_BasicScraper):
help = 'Index format: non'
class BrentalFloss(_BasicScraper):
url = 'http://brentalflossthecomic.com/'
stripUrl = url + '?id=%s'
imageSearch = compile(tagre("img", "src", r'([^"]*/img/comic/[^"]*)'))
prevSearch = compile(tagre("a", "href", r'([^"]*)') + "Prev")
help = 'Index format: n'
class BrentalFlossFit(BrentalFloss):
name = 'BrentalFloss/FlossedInTime'
url = 'http://brentalflossthecomic.com/fit/'
stripUrl = url + '?id=%s'
@classmethod
def prevUrlModifier(cls, prevUrl):
if prevUrl:
return prevUrl.replace("\n", "")
class BrentalFlossGuest(BrentalFloss):
name = 'BrentalFloss/GuestComics'
url = 'http://brentalflossthecomic.com/guestcomics/'
stripUrl = url + '?id=%s'
class Brink(_BasicScraper):
url = 'http://paperfangs.com/brink/'
stripUrl = url + '?p=%s'

View file

@ -38,6 +38,14 @@ class _DandyAndCompany(_BasicScraper):
help = 'Index format: none'
class DangerouslyChloe(_BasicScraper):
url = 'http://www.dangerouslychloe.com/'
stripUrl = url + 'strips-dc/%s'
imageSearch = compile(tagre("img", "src", r'([^"]*/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'([^"]*/strips-dc/[^"]+)', before="cn[id]prevt"))
help = 'Index format: name'
class DarkWings(_BasicScraper):
url = 'http://www.flowerlarkstudios.com/dark-wings/'
stripUrl = url + '%s'

View file

@ -16,6 +16,14 @@ class _MadamAndEve(_BasicScraper):
prevSearch = compile(r'<a href="(weekend_cartoon.php)"')
class MagickChicks(_BasicScraper):
url = 'http://www.magickchicks.com/'
stripUrl = url + 'strips-mc/%s'
imageSearch = compile(tagre("img", "src", r'([^"]*/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'([^"]*/strips-mc/[^"]+)', before="cn[id]prevt"))
help = 'Index format: name'
class ManlyGuysDoingManlyThings(_BasicScraper):
url = 'http://thepunchlineismachismo.com/'
stripUrl = url + 'archives/comic/%s'
@ -72,6 +80,15 @@ class MacHall(_BasicScraper):
help = 'Index format: yyyy-mm-dd'
class MenageA3(_BasicScraper):
adult = True
url = 'http://www.ma3comic.com/'
stripUrl = url + 'strips-ma3/%s'
imageSearch = compile(tagre("img", "src", r'([^"]*/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'([^"]*/strips-ma3/[^"]+)', before="cn[id]prev"))
help = 'Index format: name'
class Melonpool(_BasicScraper):
url = 'http://www.melonpool.com/'
stripUrl = url + '?p=%s'

View file

@ -8,6 +8,19 @@ from ..helpers import indirectStarter, bounceStarter
from ..util import tagre
class Namesake(_BasicScraper):
url = 'http://namesakecomic.com/'
stripUrl = url + 'comic/%s'
imageSearch = compile(tagre("img", "src", r'([^"]*/wp-content/uploads/[^"]+)', after='title='))
prevSearch = compile(tagre("a", "href", r'([^"]*/comic/[^"]+)', after='navi-prev'))
help = 'Index format: name'
@classmethod
def namer(cls, imageUrl, pageUrl):
imgmatch = compile(r'uploads/(\d+)/(\d+)/(.+)$').search(imageUrl)
return '-'.join(imgmatch.groups())
class NamirDeiter(_BasicScraper):
url = 'http://www.namirdeiter.com/'
stripUrl = url + 'comics/index.php?date=%s'

View file

@ -83,6 +83,15 @@ class SequentialArt(_BasicScraper):
help = 'Index format: name'
class ShadowGirls(_BasicScraper):
url = 'http://www.shadowgirlscomic.com/'
stripUrl = url + 'comics/%s'
imageSearch = compile(tagre("img", "src", r'([^"]*/comics/[^"]*)'))
prevSearch = compile(tagre("a", "href", r'([^"]*)', after='navi-prev'))
help = 'Index format: custom'
starter = indirectStarter(url, compile(tagre("a", "href", r'([^"]*/comics/[^"]+)')))
class Sheldon(_BasicScraper):
url = 'http://www.sheldoncomics.com/'
stripUrl = url + 'archive/%s.html'
@ -200,6 +209,14 @@ class _StationV3(_BasicScraper):
help = 'Index format: yyyymmdd'
class StickyDillyBuns(_BasicScraper):
url = 'http://www.stickydillybuns.com/'
stripUrl = url + 'strips-sdb/%s'
imageSearch = compile(tagre("img", "src", r'([^"]*/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'([^"]*/strips-sdb/[^"]+)', before="cn[id]prev"))
help = 'Index format: name'
class Stubble(_BasicScraper):
url = 'http://stubblecomics.com/'
stripUrl = url + '?p=%s'