commit
c0440266cf
6 changed files with 94 additions and 0 deletions
|
@ -83,6 +83,20 @@ class AlienLovesPredator(_BasicScraper):
|
||||||
help = 'Index format: yyyy/mm/dd/name/'
|
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):
|
class Altermeta(_BasicScraper):
|
||||||
url = 'http://altermeta.net/'
|
url = 'http://altermeta.net/'
|
||||||
stripUrl = url + 'archive.php?comic=%s'
|
stripUrl = url + 'archive.php?comic=%s'
|
||||||
|
|
|
@ -90,6 +90,31 @@ class BratHalla(_BasicScraper):
|
||||||
help = 'Index format: non'
|
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):
|
class Brink(_BasicScraper):
|
||||||
url = 'http://paperfangs.com/brink/'
|
url = 'http://paperfangs.com/brink/'
|
||||||
stripUrl = url + '?p=%s'
|
stripUrl = url + '?p=%s'
|
||||||
|
|
|
@ -38,6 +38,14 @@ class _DandyAndCompany(_BasicScraper):
|
||||||
help = 'Index format: none'
|
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):
|
class DarkWings(_BasicScraper):
|
||||||
url = 'http://www.flowerlarkstudios.com/dark-wings/'
|
url = 'http://www.flowerlarkstudios.com/dark-wings/'
|
||||||
stripUrl = url + '%s'
|
stripUrl = url + '%s'
|
||||||
|
|
|
@ -16,6 +16,14 @@ class _MadamAndEve(_BasicScraper):
|
||||||
prevSearch = compile(r'<a href="(weekend_cartoon.php)"')
|
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):
|
class ManlyGuysDoingManlyThings(_BasicScraper):
|
||||||
url = 'http://thepunchlineismachismo.com/'
|
url = 'http://thepunchlineismachismo.com/'
|
||||||
stripUrl = url + 'archives/comic/%s'
|
stripUrl = url + 'archives/comic/%s'
|
||||||
|
@ -72,6 +80,15 @@ class MacHall(_BasicScraper):
|
||||||
help = 'Index format: yyyy-mm-dd'
|
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):
|
class Melonpool(_BasicScraper):
|
||||||
url = 'http://www.melonpool.com/'
|
url = 'http://www.melonpool.com/'
|
||||||
stripUrl = url + '?p=%s'
|
stripUrl = url + '?p=%s'
|
||||||
|
|
|
@ -8,6 +8,19 @@ from ..helpers import indirectStarter, bounceStarter
|
||||||
from ..util import tagre
|
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):
|
class NamirDeiter(_BasicScraper):
|
||||||
url = 'http://www.namirdeiter.com/'
|
url = 'http://www.namirdeiter.com/'
|
||||||
stripUrl = url + 'comics/index.php?date=%s'
|
stripUrl = url + 'comics/index.php?date=%s'
|
||||||
|
|
|
@ -83,6 +83,15 @@ class SequentialArt(_BasicScraper):
|
||||||
help = 'Index format: name'
|
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):
|
class Sheldon(_BasicScraper):
|
||||||
url = 'http://www.sheldoncomics.com/'
|
url = 'http://www.sheldoncomics.com/'
|
||||||
stripUrl = url + 'archive/%s.html'
|
stripUrl = url + 'archive/%s.html'
|
||||||
|
@ -200,6 +209,14 @@ class _StationV3(_BasicScraper):
|
||||||
help = 'Index format: yyyymmdd'
|
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):
|
class Stubble(_BasicScraper):
|
||||||
url = 'http://stubblecomics.com/'
|
url = 'http://stubblecomics.com/'
|
||||||
stripUrl = url + '?p=%s'
|
stripUrl = url + '?p=%s'
|
||||||
|
|
Loading…
Reference in a new issue