From 176495afcb5f4cbea8ab61d21a4c298a63f25fa7 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Mon, 26 Dec 2022 01:28:47 -0800 Subject: [PATCH] Add Vreakerz --- dosagelib/plugins/v.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dosagelib/plugins/v.py b/dosagelib/plugins/v.py index e807882e8..191ea106f 100644 --- a/dosagelib/plugins/v.py +++ b/dosagelib/plugins/v.py @@ -3,7 +3,7 @@ # Copyright (C) 2012-2014 Bastian Kleineidam # Copyright (C) 2015-2020 Tobias Gruetzmacher # Copyright (C) 2019-2020 Daniel Ring -from ..scraper import _ParserScraper +from ..scraper import ParserScraper, _ParserScraper from ..helpers import bounceStarter, indirectStarter @@ -82,3 +82,11 @@ class VirmirWorld(_ParserScraper): def getIndexStripUrl(self, index): index = index.split('-') return self.stripUrl % (index[0], index[1]) + + +class Vreakerz(ParserScraper): + url = 'http://vreakerz.angrykitten.nl/' + stripUrl = url + 'stories/read/%s' + firstStripUrl = stripUrl % '1' + imageSearch = '//img[contains(@src, "storypages")]' + prevSearch = '//a[@class="btn-prior"]'