Merge branch 'upstream' of https://github.com/Lugoues/dosage into Lugoues-upstream

This commit is contained in:
Bastian Kleineidam 2014-01-06 09:38:25 +01:00
commit 3f4be55332
2 changed files with 17 additions and 0 deletions

9
dosagelib/plugins/c.py Normal file → Executable file
View file

@ -18,6 +18,15 @@ class Caggage(_BasicScraper):
prevSearch = compile(tagre("a", "href", r'(%sarchives/\d+)' % rurl, after="prev")) prevSearch = compile(tagre("a", "href", r'(%sarchives/\d+)' % rurl, after="prev"))
help = 'Index format: number' help = 'Index format: number'
class CampComic(_BasicScraper):
url = 'http://campcomic.com/comic/'
rurl = escape(url)
stripUrl = url + '%s'
firstStripUrl = stripUrl % '6'
imageSearch = compile(tagre("img", "src", r'(http://hw1\.pa-cdn\.com/camp/assets/img/katie/comics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(%s[^"]+)' % rurl, before="btn btnPrev"))
help = 'Index Format: number'
description = 'Camp Weedonwantcha is a place where kids get dropped off for the summer and are never picked up again.'
class CaptainSNES(_BasicScraper): class CaptainSNES(_BasicScraper):
description = u'Captain SNES' description = u'Captain SNES'

8
dosagelib/plugins/f.py Normal file → Executable file
View file

@ -142,6 +142,14 @@ class ForLackOfABetterComic(_BasicScraper):
help = 'Index format: number' help = 'Index format: number'
description = u'A hand drawn comic about everyday life situations.' description = u'A hand drawn comic about everyday life situations.'
class FoulLanguage(_BasicScraper):
description = u'Weekly cartoons about a geeky, neurotic, duck trying to survive in a stupid, stupid world.'
url = 'http://www.fowllanguagecomics.com/'
stripUrl = url + 'comic/%s'
firstStripUrl = stripUrl % 'part-of-the-process'
imageSearch = compile(tagre("img", "src", r'(http://i\d\.wp\.com/www\.fowllanguagecomics\.com/wp-content/uploads/\d+/\d+/[^"]+\.[a-z]+)', after="comic"))
prevSearch = compile(tagre("a", "href", r'([^"]+)', after="comic-nav-previous"))
help = 'Index format: yyyy/mm/stripname'
class Freefall(_BasicScraper): class Freefall(_BasicScraper):
url = 'http://freefall.purrsia.com/default.htm' url = 'http://freefall.purrsia.com/default.htm'