From 7eb1bf6ff5992b4f72c3a05e7f98bc9488d633ce Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Fri, 27 May 2022 19:30:27 +0200 Subject: [PATCH] Fix MenageA3 (fixes #217) --- dosagelib/plugins/m.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/dosagelib/plugins/m.py b/dosagelib/plugins/m.py index 67cf0ef61..172a4ffcd 100644 --- a/dosagelib/plugins/m.py +++ b/dosagelib/plugins/m.py @@ -126,16 +126,9 @@ class Melonpool(_WordPressScraper): class MenageA3(_ComicControlScraper): adult = True - url = 'http://www.ma3comic.com/' - - @classmethod - def namer(cls, imageUrl, pageUrl): - """Remove random junk from image names.""" - imgname = imageUrl.split('/')[-1] - imgbase = imgname.rsplit('-', 1)[1] - return '%s' % (imgbase) - - help = 'Index format: name' + url = 'https://pixietrixcomix.com/menage-a-3/' + firstStripUrl = url + 'for-new-readers' + endOfLife = True class Metacarpolis(_ComicControlScraper):