Add DemolitionSquad.

This commit is contained in:
Bastian Kleineidam 2013-03-19 20:45:59 +01:00
parent ea4a59318f
commit 78fb63859c
2 changed files with 18 additions and 1 deletions

View file

@ -3,7 +3,7 @@ Dosage 1.14 (released xx.xx.2013)
Features:
- comics: Added KeenSpot comic strips and enable ComicGenesis
comic strips
- comics: Added CucumberQuest, DerFlix, DogHouseDiaries, FonFlatter,
- comics: Added CucumberQuest, DemolitionSquad, DerFlix, DogHouseDiaries, FonFlatter,
FullFrontalNerdity, GeeksNextDoor, KickInTheHead, OrnerBoy, Ruthe.
Closes: GH bug #15, #19

View file

@ -79,6 +79,23 @@ class DeepFried(_BasicScraper):
help = 'Index format: non'
class DemolitionSquad(_BasicScraper):
url = 'http://www.demolitionsquad.de/'
starter = indirectStarter(url,
compile(tagre("a", "href", r'(no_cache/comicstrips/einzelansicht/archive/[^"]+)')))
stripUrl = url + 'comicstrips/einzelansicht/article/%s/'
firstStripUrl = stripUrl % 'videospiele-hentai-master'
imageSearch = compile(tagre("img", "src", r'(uploads/pics/[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(comicstrips/einzelansicht/article/[^"]+)') +
tagre("img", "src", r'fileadmin/templates/images/button_back.gif'))
help = 'Index format: stripname'
lang = 'de'
def prevUrlModifier(self, url):
# remove CGI params
return url.split('?')[0]
class DerFlix(_BasicScraper):
url = 'http://derflix.de/'
stripUrl = url + 'index.php?preselect=%s'