diff --git a/dosagelib/plugins/smackjeeves.py b/dosagelib/plugins/smackjeeves.py index 2b3b89443..1696713e3 100644 --- a/dosagelib/plugins/smackjeeves.py +++ b/dosagelib/plugins/smackjeeves.py @@ -72,12 +72,9 @@ def add(name, url, adult, bounce): url = url, starter = _starter, prevUrlModifier = lambda cls, url: modifier(url), - stripUrl = url + '%s/', imageSearch = _imageSearch, prevSearch = _prevSearch, - prevUrlMatchesStripUrl = not adult, lang = 'es' if name.lower().endswith('spanish') else 'en', - help = 'Index format: nnnn (some increasing number)', namer = namer, ) diff --git a/dosagelib/scraper.py b/dosagelib/scraper.py index 8148dfcd0..79f113614 100644 --- a/dosagelib/scraper.py +++ b/dosagelib/scraper.py @@ -54,10 +54,6 @@ class Scraper(object): # if more than one image per URL is expected multipleImagesPerStrip = False - # set to False if previous URLs do not match the strip URL (ie. because of - # redirects) - prevUrlMatchesStripUrl = True - # set to True if this comic contains adult content adult = False diff --git a/tests/test_comics.py b/tests/test_comics.py index 65047c76c..ad235c699 100644 --- a/tests/test_comics.py +++ b/tests/test_comics.py @@ -60,7 +60,7 @@ def _test_comic(outdir, scraperobj): for strip in scraperobj.getStrips(MaxStrips): _check_strip(outdir, strip, scraperobj.multipleImagesPerStrip) - if num_strips > 0 and scraperobj.prevUrlMatchesStripUrl: + if num_strips > 0: _check_stripurl(strip, scraperobj) num_strips += 1