diff --git a/dosagelib/plugins/l.py b/dosagelib/plugins/l.py index 2dc0579b0..75f4558cd 100644 --- a/dosagelib/plugins/l.py +++ b/dosagelib/plugins/l.py @@ -46,10 +46,16 @@ class LazJonesAndTheMayfieldRegulators(_ParserScraper): class LazJonesAndTheMayfieldRegulatorsSideStories(LazJonesAndTheMayfieldRegulators): name = 'LazJonesAndTheMayfieldRegulators/SideStories' baseUrl = 'https://www.lazjones.com/' - url = baseUrl + 'sidestories' + url = baseUrl + 'comics' stripUrl = baseUrl + 'comic/%s' firstStripUrl = stripUrl % 'journal01' + def getPrevUrl(self, url, data): + # Fix broken navigation links + if url == self.url and data.xpath(self.prevSearch + '/@href')[0] == self.stripUrl % 'summer00': + return self.stripUrl % 'summer21' + return super(LazJonesAndTheMayfieldRegulators, self).getPrevUrl(url, data) + class LeastICouldDo(_ParserScraper): url = 'https://leasticoulddo.com/'