From ca17332942be05158952f638199d4a7c7530e611 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Thu, 7 Nov 2013 20:48:10 +0100 Subject: [PATCH] Call self.starter() on indexed comics since it might set cookies. --- dosagelib/scraper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dosagelib/scraper.py b/dosagelib/scraper.py index c5b9e3561..533d706fe 100644 --- a/dosagelib/scraper.py +++ b/dosagelib/scraper.py @@ -131,6 +131,9 @@ class _BasicScraper(object): msg += u" for index %s" % self.indexes[0] else: msg += u" for indexes %s" % self.indexes + # Always call starter() since it might initialize cookies. + # See for example Oglaf comic. + self.starter() urls = [self.getIndexStripUrl(index) for index in self.indexes] else: urls = [self.getLatestUrl()]