Added MyCartoons

This commit is contained in:
Bastian Kleineidam 2013-03-20 21:42:04 +01:00
parent 2e3907d942
commit 448e80eaed
2 changed files with 13 additions and 1 deletions

View file

@ -5,7 +5,7 @@ Features:
comic strips
- comics: Added CucumberQuest, DemolitionSquad, DerFlix, DogHouseDiaries,
FonFlatter, FullFrontalNerdity, GeeksNextDoor, Katzenfuttergeleespritzer,
KickInTheHead, OrnerBoy, ParallelUniversum, Ruthe, SandraAndWooGerman.
KickInTheHead, MyCartoons, OrnerBoy, ParallelUniversum, Ruthe, SandraAndWooGerman.
Closes: GH bug #15, #19
Changes:

View file

@ -105,6 +105,18 @@ class Misfile(_BasicScraper):
help = 'Index format: yyyy-mm-dd'
class MyCartoons(_BasicScraper):
url = 'http://mycartoons.de/'
stripUrl = url + 'page/%s'
imageSearch = (
compile(tagre("img", "src", r'(http://mycartoons\.de/wp-content/cartoons/(?:[^"]+/)?\d+-\d+-\d+[^"]+)')),
compile(tagre("img", "src", r'(http://mycartoons\.de/cartoons/[^"]+/\d+-\d+-\d+[^"]+)'))
)
prevSearch = compile(tagre("a", "href", r'(http://mycartoons\.de/page/[^"]+)') + "«")
help = 'Index format: number'
lang = 'de'
class MysteriesOfTheArcana(_BasicScraper):
url = 'http://mysteriesofthearcana.com/'
stripUrl = url + 'index.php?action=comics&cid=%s'