From 3937cfba4bce89915ef8c4eefac000143daf4fc4 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Tue, 19 Mar 2013 20:54:16 +0100 Subject: [PATCH] Added SandraAndWooGerman --- doc/changelog.txt | 5 +++-- dosagelib/plugins/s.py | 11 +++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/doc/changelog.txt b/doc/changelog.txt index 5030c2243..98c9c511c 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -3,8 +3,9 @@ Dosage 1.14 (released xx.xx.2013) Features: - comics: Added KeenSpot comic strips and enable ComicGenesis comic strips -- comics: Added CucumberQuest, DemolitionSquad, DerFlix, DogHouseDiaries, FonFlatter, - FullFrontalNerdity, GeeksNextDoor, KickInTheHead, OrnerBoy, Ruthe. +- comics: Added CucumberQuest, DemolitionSquad, DerFlix, DogHouseDiaries, + FonFlatter, FullFrontalNerdity, GeeksNextDoor, KickInTheHead, OrnerBoy, + Ruthe, SandraAndWooGerman. Closes: GH bug #15, #19 Changes: diff --git a/dosagelib/plugins/s.py b/dosagelib/plugins/s.py index 96276ffa2..06d3a8a8f 100644 --- a/dosagelib/plugins/s.py +++ b/dosagelib/plugins/s.py @@ -28,11 +28,22 @@ class SamAndFuzzy(_BasicScraper): class SandraAndWoo(_BasicScraper): url = 'http://www.sandraandwoo.com/' stripUrl = url + '%s/' + firstStripUrl = stripUrl % '2000/01/01/welcome-to-sandra-and-woo' imageSearch = compile(tagre("img", "src", r'(http://www\.sandraandwoo\.com/comics/\d+-\d+-\d+-[^"]+)')) prevSearch = compile(tagre("a", "href", r'(http://www\.sandraandwoo\.com/\d+/\d+/\d+/[^"]+/)', after="prev")) help = 'Index format: yyyy/mm/dd/number-stripname' +class SandraAndWooGerman(_BasicScraper): + url = 'http://www.sandraandwoo.com/woode/' + stripUrl = url + '%s/' + firstStripUrl = stripUrl % '2008/10/19/ein-ausgefuchster-waschbar' + imageSearch = compile(tagre("img", "src", r'(http://www\.sandraandwoo\.com/woode/comics/\d+-\d+-\d+-[^"]+)')) + prevSearch = compile(tagre("a", "href", r'(http://www\.sandraandwoo\.com/woode/\d+/\d+/\d+/[^"]+/)', after="prev")) + help = 'Index format: yyyy/mm/dd/number-stripname' + lang = 'de' + + class SarahZero(_BasicScraper): url = 'http://www.sarahzero.com/' stripUrl = url + 'sz_%s.html'