From 0a5b792c32d3bdb8f30db944db769d7ed22ccf78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damjan=20Ko=C5=A1ir?= Date: Fri, 7 Aug 2015 23:37:10 +1200 Subject: [PATCH] added Fragile (English and Spanish) --- dosagelib/plugins/f.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dosagelib/plugins/f.py b/dosagelib/plugins/f.py index f202ad423..bb0f75bc2 100755 --- a/dosagelib/plugins/f.py +++ b/dosagelib/plugins/f.py @@ -125,6 +125,18 @@ class ForLackOfABetterComic(_BasicScraper): help = 'Index format: number' +class Fragile(_ParserScraper): + url = 'http://www.fragilestory.com/' + imageSearch = '//div[@id="content_comics"]/a[@class="nobg"]/img' + prevSearch = '//a[@class="comicnav" and contains(text(),"Prev")]' + + +class FragileSpanish(_ParserScraper): + url = 'http://es.fragilestory.com/' + imageSearch = '//div[@id="content_comics"]/a[@class="nobg"]/img' + prevSearch = '//a[@class="comicnav" and contains(text(),"Anterior")]' + lang = 'es' + class Freefall(_BasicScraper): url = 'http://freefall.purrsia.com/default.htm' stripUrl = 'http://freefall.purrsia.com/ff%s/fc%s.htm'