From 4109adaa2aa1ce905f3590804535b6264725a469 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Tue, 6 Jun 2023 21:00:32 -0700 Subject: [PATCH] Fix AlphaLuna --- dosagelib/plugins/a.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dosagelib/plugins/a.py b/dosagelib/plugins/a.py index 7cff9fc8f..283c48858 100644 --- a/dosagelib/plugins/a.py +++ b/dosagelib/plugins/a.py @@ -6,7 +6,7 @@ from re import compile, escape, MULTILINE from ..util import tagre -from ..scraper import BasicScraper, _BasicScraper, _ParserScraper +from ..scraper import BasicScraper, ParserScraper, _BasicScraper, _ParserScraper from ..helpers import regexNamer, bounceStarter, indirectStarter from .common import WordPressScraper, WordPressNavi, WordPressWebcomic @@ -166,18 +166,18 @@ class AllTheGrowingThings(WordPressScraper): endOfLife = True -class AlphaLuna(_ParserScraper): - url = 'https://alphaluna.net/' +class AlphaLuna(ParserScraper): + url = 'https://alphalunacomic.net/' stripUrl = url + 'comic/%s/' firstStripUrl = stripUrl % 'issue-1-cover' imageSearch = '//main[@id="comic"]//img' prevSearch = '//a[@rel="prev"]' -class AlphaLunaSpanish(_ParserScraper): +class AlphaLunaSpanish(ParserScraper): name = 'AlphaLuna/Spanish' lang = 'es' - url = 'https://alphaluna.net/spanish/' + url = 'https://alphalunacomic.net/spanish/' stripUrl = url + 'comic/%s/' firstStripUrl = stripUrl % 'issue-1-cover' imageSearch = '//main[@id="comic"]//img'