From cf95aa076a45cf713bd6f12e5b3328227ba32c68 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Tue, 6 Jun 2023 23:42:10 -0700 Subject: [PATCH] Add Rainburn --- dosagelib/plugins/r.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dosagelib/plugins/r.py b/dosagelib/plugins/r.py index 035fef337..5a10455cc 100644 --- a/dosagelib/plugins/r.py +++ b/dosagelib/plugins/r.py @@ -7,11 +7,19 @@ from re import compile from urllib.parse import urljoin from ..helpers import bounceStarter -from ..scraper import _BasicScraper, _ParserScraper +from ..scraper import ParserScraper, _BasicScraper, _ParserScraper from ..util import tagre from .common import WordPressScraper, WordPressNavi, WordPressWebcomic +class Rainburn(ParserScraper): + url = 'https://rainburn.virmir.com/' + stripUrl = url + 'comic.php?page=%s' + firstStripUrl = stripUrl % '1' + imageSearch = '//div[@class="comic"]//img' + prevSearch = '//a[contains(@class, "prev")]' + + class RalfTheDestroyer(WordPressScraper): url = 'http://ralfthedestroyer.com/'