Merge branch 'master' of github.com:wummel/dosage
This commit is contained in:
commit
1a96b63137
5 changed files with 49 additions and 0 deletions
|
@ -155,6 +155,16 @@ class DerTodUndDasMaedchen(_BasicScraper):
|
||||||
lang = 'de'
|
lang = 'de'
|
||||||
|
|
||||||
|
|
||||||
|
class DieFruehreifen(_BasicScraper):
|
||||||
|
url = 'http://www.die-fruehreifen.de/index.php'
|
||||||
|
stripUrl = url + '?id=%s&order=DESC'
|
||||||
|
firstStripUrl = stripUrl % '1'
|
||||||
|
imageSearch = compile(tagre("img", "src", r"(strips/[F,f]rueh[_]?[S,s]trip_\d+.jpg)"))
|
||||||
|
prevSearch = compile(tagre("a", "href", r"(index\.php\?id=\d+&order=DESC)") + tagre("img","id",r"naechster"))
|
||||||
|
help = 'Index format: n (unpadded)'
|
||||||
|
lang = 'de'
|
||||||
|
|
||||||
|
|
||||||
class DieselSweeties(_BasicScraper):
|
class DieselSweeties(_BasicScraper):
|
||||||
description = u'diesel sweeties : robot webcomic & geeky music t-shirts'
|
description = u'diesel sweeties : robot webcomic & geeky music t-shirts'
|
||||||
url = 'http://www.dieselsweeties.com/'
|
url = 'http://www.dieselsweeties.com/'
|
||||||
|
@ -315,3 +325,11 @@ class _DumbingOfAge(_BasicScraper):
|
||||||
prevSearch = compile(tagre("a", "href", r'(%s\d+/[^"]+)' % rurl, after="prev"))
|
prevSearch = compile(tagre("a", "href", r'(%s\d+/[^"]+)' % rurl, after="prev"))
|
||||||
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+[^"]+)' % rurl))
|
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+[^"]+)' % rurl))
|
||||||
help = 'Index format: yyyy/comic/book-num/seriesname/stripname'
|
help = 'Index format: yyyy/comic/book-num/seriesname/stripname'
|
||||||
|
|
||||||
|
class DungeonsAndDenizens(_BasicScraper):
|
||||||
|
url = 'http://dungeond.com/'
|
||||||
|
stripUrl = url + '\d/\d/\d/%s/'
|
||||||
|
firstStripUrl = stripUrl % '08232005'
|
||||||
|
imageSearch = compile(tagre("img", "src", r'(%sfiles//comics/[^"]+)' % url))
|
||||||
|
prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % url) + "Previous")
|
||||||
|
help = 'Index format: ddmmyyyy'
|
||||||
|
|
|
@ -128,6 +128,17 @@ class Misfile(_BasicScraper):
|
||||||
help = 'Index format: yyyy-mm-dd'
|
help = 'Index format: yyyy-mm-dd'
|
||||||
|
|
||||||
|
|
||||||
|
class MonsieurLeChien(_BasicScraper):
|
||||||
|
description = u'Le blog de Monsieur le Chien, réflexions vaines et assertions sans fondements d\'un contribuable moyen.'
|
||||||
|
url = 'http://www.monsieur-le-chien.fr/'
|
||||||
|
stripUrl = url + 'index.php?planche=%s'
|
||||||
|
firstStripUrl = stripUrl % '2'
|
||||||
|
lang = 'fr'
|
||||||
|
imageSearch = compile(tagre("img", "src", r'(i/planches/[^"]+)'))
|
||||||
|
prevSearch = compile(tagre("a", "href", r'([^"]+)') + tagre("img", "src", "i/precedent.gif"))
|
||||||
|
help = 'Index format: n'
|
||||||
|
|
||||||
|
|
||||||
class MrLovenstein(_BasicScraper):
|
class MrLovenstein(_BasicScraper):
|
||||||
url = 'http://www.mrlovenstein.com/'
|
url = 'http://www.mrlovenstein.com/'
|
||||||
rurl = escape(url)
|
rurl = escape(url)
|
||||||
|
|
|
@ -19,6 +19,7 @@ def add(name, host):
|
||||||
stripUrl = baseUrl + '?comic_id=%s',
|
stripUrl = baseUrl + '?comic_id=%s',
|
||||||
imageSearch = _imageSearch,
|
imageSearch = _imageSearch,
|
||||||
prevSearch = _prevSearch,
|
prevSearch = _prevSearch,
|
||||||
|
waitSeconds = 1,
|
||||||
help = 'Index format: n (unpadded)',
|
help = 'Index format: n (unpadded)',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -36,3 +37,4 @@ add('Soul', 'soul')
|
||||||
add('FT', 'ft')
|
add('FT', 'ft')
|
||||||
add('Bunnywith', 'bunnywith')
|
add('Bunnywith', 'bunnywith')
|
||||||
add('Braindead', 'braindead')
|
add('Braindead', 'braindead')
|
||||||
|
add('GrimTalesFromDownBelow', 'grim')
|
||||||
|
|
|
@ -71,6 +71,15 @@ class TheGentlemansArmchair(_BasicScraper):
|
||||||
help = 'Index Format: name'
|
help = 'Index Format: name'
|
||||||
|
|
||||||
|
|
||||||
|
class TheLandscaper(_BasicScraper):
|
||||||
|
url = 'http://landscaper.visual-assault.net/comic/latest'
|
||||||
|
rurl = escape(url)
|
||||||
|
stripUrl = url + 'comic/%s'
|
||||||
|
firstStripUrl = stripUrl % '1'
|
||||||
|
imageSearch = compile(tagre("img", "src", r'(/comics/comic/comic_page/[^"]+)'))
|
||||||
|
prevSearch = compile(tagre("a", "href", r'(/comic/[^"]+)')+'‹ Previous')
|
||||||
|
help = 'Index format: name'
|
||||||
|
|
||||||
class TheNoob(_BasicScraper):
|
class TheNoob(_BasicScraper):
|
||||||
url = 'http://www.thenoobcomic.com/index.php'
|
url = 'http://www.thenoobcomic.com/index.php'
|
||||||
stripUrl = url + '?pos=%s'
|
stripUrl = url + '?pos=%s'
|
||||||
|
|
|
@ -8,6 +8,15 @@ from ..scraper import _BasicScraper
|
||||||
from ..helpers import bounceStarter, indirectStarter
|
from ..helpers import bounceStarter, indirectStarter
|
||||||
from ..util import getQueryParams, tagre
|
from ..util import getQueryParams, tagre
|
||||||
|
|
||||||
|
class Underling(_BasicScraper):
|
||||||
|
url = 'http://underlingcomic.com/'
|
||||||
|
stripUrl = url
|
||||||
|
rurl = escape(url)
|
||||||
|
firstStripUrl = stripUrl + 'page-one/'
|
||||||
|
imageSearch = compile(tagre("img", "src", r'(%scomics/[^"]*)' % rurl))
|
||||||
|
prevSearch = compile(tagre("a", "href", r'([^"]+)', after = r'class="[^"]*navi-prev'))
|
||||||
|
help = 'Index format: nnn'
|
||||||
|
|
||||||
|
|
||||||
class Undertow(_BasicScraper):
|
class Undertow(_BasicScraper):
|
||||||
url = 'http://undertow.dreamshards.org/'
|
url = 'http://undertow.dreamshards.org/'
|
||||||
|
|
Loading…
Reference in a new issue