From 2c05fbb78fd02454d8a3304de84a66bad322da1f Mon Sep 17 00:00:00 2001 From: Techwolf Date: Thu, 16 Jul 2020 00:20:37 -0700 Subject: [PATCH] Fix Tamberlane --- dosagelib/plugins/t.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dosagelib/plugins/t.py b/dosagelib/plugins/t.py index e654b9611..180f59817 100644 --- a/dosagelib/plugins/t.py +++ b/dosagelib/plugins/t.py @@ -28,11 +28,8 @@ class Tamberlane(_WPWebcomic): url = baseUrl + 'latest/' stripUrl = baseUrl + 'tamberlane/%s/' firstStripUrl = stripUrl % 'page-1' - - def namer(self, imageUrl, pageUrl): - # Fix inconsistent filenames - filename = imageUrl.rsplit('/', 1)[-1] - return filename.replace('ai4zCWaA', 'Page_152') + imageSearch = '//div[@id="comic-page"]/img/@src' + prevSearch = '//a[@class="previous-link"]' class TheBrads(_ParserScraper):