Added EdmundFinney, Gaia, GaiaGerman, InternetWebcomic,

NotInventedHere, RedsPlanet, RomanticallyApocalyptic,
  ScandinaviaAndTheWorld, TheGamerCat, Weregeek
This commit is contained in:
Bastian Kleineidam 2013-12-10 19:50:21 +01:00
parent 06306f5b7e
commit c3078ed855
9 changed files with 106 additions and 0 deletions

View file

@ -2,6 +2,11 @@ Dosage 2.9 (released xx.xx.2013)
Features: Features:
- events: Ensure maximum aspect ratio on displayed RSS images. - events: Ensure maximum aspect ratio on displayed RSS images.
- comics: Added EdmundFinney, Gaia, GaiaGerman, InternetWebcomic,
NotInventedHere, RedsPlanet, RomanticallyApocalyptic,
ScandinaviaAndTheWorld, TheGamerCat, Weregeek.
Thanks to Null000 for the patches.
Closes: GH bug #
Dosage 2.8 (released 8.12.2013) Dosage 2.8 (released 8.12.2013)

View file

@ -56,6 +56,15 @@ class EdibleDirt(_BasicScraper):
prevSearch = compile(tagre("a", "href", r"(index\.php\?id=\d+)")+"Previous") prevSearch = compile(tagre("a", "href", r"(index\.php\?id=\d+)")+"Previous")
help = 'Index format: number' help = 'Index format: number'
class EdmundFinney(_BasicScraper):
description = u"Edmund Finney's Quest to Find the Meaning of Life"
url = 'http://eqcomics.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2009/03/08/sunday-aliens'
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+-[^"/]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/\d+/[^"/]+/)' % rurl, after="navi navi-prev"))
help = 'Index format: yyyy/mm/dd/stripname'
class EerieCuties(_BasicScraper): class EerieCuties(_BasicScraper):
url = 'http://www.eeriecuties.com/' url = 'http://www.eeriecuties.com/'

View file

@ -8,6 +8,26 @@ from ..scraper import _BasicScraper
from ..helpers import indirectStarter from ..helpers import indirectStarter
from ..util import tagre from ..util import tagre
class Gaia(_BasicScraper):
description = u'Gaia, a story about the nature of reality, and the answer to Lilith?s simple, meek, world-shattering question: ?Will you come along??'
url = 'http://www.sandraandwoo.com/gaia/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2000/01/01/welcome-to-gaia/'
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+-[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/\d+/[^"]+/)' % rurl, after="prev"))
help = 'Index format: yyyy/mm/dd/number-stripname'
class GaiaGerman(_BasicScraper):
description = u'Gaia, eine Geschichte über das Wesen der Wirklichkeit und die Antwort auf Liliths einfache, bescheidene, welterschütternde Frage: ?Kommt ihr mit??'
url = 'http://www.sandraandwoo.com/gaiade/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2000/01/01/welcome-to-gaia/'
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+-[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/\d+/[^"]+/)' % rurl, after="prev"))
help = 'Index format: yyyy/mm/dd/number-stripname'
lang = 'de'
class Galaxion(_BasicScraper): class Galaxion(_BasicScraper):
description = u'Galaxion - Life. Love. Hyperspace.' description = u'Galaxion - Life. Love. Hyperspace.'

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'

View file

@ -163,6 +163,15 @@ class NoNeedForBushido(_BasicScraper):
starter = indirectStarter(url, starter = indirectStarter(url,
compile(tagre("a", "href", r'(%s\?webcomic1=[^"]+)' % rurl, after="last-webcomic"))) compile(tagre("a", "href", r'(%s\?webcomic1=[^"]+)' % rurl, after="last-webcomic")))
class NotInventedHere(_BasicScraper):
description = u'Not Invented Here'
url = 'http://notinventedhe.re/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % 'on/2009-9-21'
imageSearch = compile(tagre("img", "src", r'(http://thiswas.notinventedhe.re/on/\d+-\d+-\d+)'))
prevSearch = compile(tagre("a", "href", r'(/on/\d+-\d+-\d+)')+'\s*Previous')
help = 'Index format: yyyy-mm-dd'
class Nukees(_BasicScraper): class Nukees(_BasicScraper):
description = u'Nukees, The Atomic Comic Strip' description = u'Nukees, The Atomic Comic Strip'

View file

@ -49,6 +49,16 @@ class RedMeat(_BasicScraper):
def namer(cls, imageUrl, pageUrl): def namer(cls, imageUrl, pageUrl):
return imageUrl.split('/')[-2] return imageUrl.split('/')[-2]
class RedsPlanet(_BasicScraper):
description = u"Red's Planet"
url = 'http://www.redsplanet.com/comic/'
rurl = escape(url)
stripUrl = url + 'rp/%s/'
firstStripUrl = stripUrl % 'pro/prologue-01'
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+_[^"/]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%srp/[^"/]+/[^"/]+/)' % rurl))
help = 'Index format: chapter/stripname'
class RedString(_BasicScraper): class RedString(_BasicScraper):
description = u'A web comics about love and growing up. Art by Gina Biggs.' description = u'A web comics about love and growing up. Art by Gina Biggs.'
@ -60,6 +70,18 @@ class RedString(_BasicScraper):
help = 'Index format: nnn' help = 'Index format: nnn'
class RomanticallyApocalyptic(_BasicScraper):
description = u'Romantically Apocalyptic'
url = 'http://romanticallyapocalyptic.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '1'
imageSearch = compile(tagre("img", "src", r'(%sart/\d+[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\d+[^"]+)' % rurl)+"\s*"+tagre('span', 'class', 'spritePrevious'))
help = 'Index format: n'
adult = True
class Roza(_BasicScraper): class Roza(_BasicScraper):
url = 'http://www.junglestudio.com/roza/index.php' url = 'http://www.junglestudio.com/roza/index.php'
stripUrl = url + '?date=%s' stripUrl = url + '?date=%s'

View file

@ -79,6 +79,16 @@ class SandraOnTheRocks(_BasicScraper):
prevSearch = compile(tagre("a", "href", r'([^"]*/strips-sotr/[^"]+)', before="cn[id]prev")) prevSearch = compile(tagre("a", "href", r'([^"]*/strips-sotr/[^"]+)', before="cn[id]prev"))
help = 'Index format: name' help = 'Index format: name'
class ScandinaviaAndTheWorld(_BasicScraper):
description = u'Scandinavia and the World'
url = 'http://satwcomic.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % 'sweden-denmark-and-norway'
imageSearch = compile(tagre("img", "src", r'(%sart/[^"/]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s[^"/]+)' % rurl)+"\s*"+tagre('span', 'class', 'spritePrevious'))
help = 'Index format: stripname'
class ScaryGoRound(_BasicScraper): class ScaryGoRound(_BasicScraper):
url = 'http://www.scarygoround.com/' url = 'http://www.scarygoround.com/'
stripUrl = url + '?date=%s' stripUrl = url + '?date=%s'

View file

@ -49,6 +49,15 @@ class TheDreamlandChronicles(_BasicScraper):
bp[2] = bp[2][:-1] bp[2] = bp[2][:-1]
return "%s-%s-%s.%s" % (bp[0], bp[1], bp[2], ext) return "%s-%s-%s.%s" % (bp[0], bp[1], bp[2], ext)
class TheGamerCat(_BasicScraper):
description = u"The Gamer Cat"
url = 'http://www.thegamercat.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2011/06/06102011'
imageSearch = compile(tagre("img", "src", r'(%swordpress/comics/[^"/]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/[^"/]+/)' % rurl , after="navi navi-prev"))
help = 'Index format: yyyy/mm/mmddyyyy'
class TheNoob(_BasicScraper): class TheNoob(_BasicScraper):
url = 'http://www.thenoobcomic.com/index.php' url = 'http://www.thenoobcomic.com/index.php'

View file

@ -75,6 +75,17 @@ class WeCanSleepTomorrow(_BasicScraper):
help = 'Index format: yyyy/mm/dd/stripname' help = 'Index format: yyyy/mm/dd/stripname'
class Weregeek(_BasicScraper):
description = u'Weregeek'
url = 'http://www.weregeek.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2006/11/27/'
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'((%s)?(/)?\d+/\d+/\d+/)'% rurl)+'\s*'+ tagre('img', 'src', '[^"]*previous_day.gif'))
help = 'Index format: yyyy/mm/dd'
class WhiteNinja(_BasicScraper): class WhiteNinja(_BasicScraper):
baseUrl = 'http://www.whiteninjacomics.com/' baseUrl = 'http://www.whiteninjacomics.com/'
url = baseUrl + 'comics.shtml' url = baseUrl + 'comics.shtml'