Added GoblinsComic

This commit is contained in:
Bastian Kleineidam 2013-04-09 19:37:24 +02:00
parent f71961acbc
commit f9179e9de5
2 changed files with 10 additions and 1 deletions

View file

@ -1,7 +1,7 @@
Dosage 2.0 (released xx.xx.2013) Dosage 2.0 (released xx.xx.2013)
Features: Features:
- comics: Added ExtraOrdinary, SnowFlakes, - comics: Added ExtraOrdinary, GoblinsComic, SnowFlakes,
StuffNoOneToldMe and WebDesignerCOTW. StuffNoOneToldMe and WebDesignerCOTW.
- comics: Added the --vote option to vote for popular comics. - comics: Added the --vote option to vote for popular comics.

View file

@ -84,6 +84,15 @@ class Goats(_BasicScraper):
help = 'Index format: yymmdd' help = 'Index format: yymmdd'
class GoblinsComic(_BasicScraper):
url = 'http://www.goblinscomic.com/'
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '06252005'
prevSearch = compile(tagre("a", "href", r'(http://www\.goblinscomic\.com/\d+/)', after="prev"))
imageSearch = compile(tagre("img", "src", r'(http://www\.goblinscomic\.com/comics/\d+\.[^"]+)'))
help = 'Index format: ddmmyyyy'
class GoneWithTheBlastwave(_BasicScraper): class GoneWithTheBlastwave(_BasicScraper):
url = 'http://www.blastwave-comic.com/index.php?p=comic&nro=1' url = 'http://www.blastwave-comic.com/index.php?p=comic&nro=1'
starter = indirectStarter(url, starter = indirectStarter(url,