diff --git a/doc/changelog.txt b/doc/changelog.txt index 430fafdcd..5030c2243 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -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 diff --git a/dosagelib/plugins/d.py b/dosagelib/plugins/d.py index f872d3791..8ff5d2f6d 100644 --- a/dosagelib/plugins/d.py +++ b/dosagelib/plugins/d.py @@ -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'