Call self.starter() on indexed comics since it might set cookies.

This commit is contained in:
Bastian Kleineidam 2013-11-07 20:48:10 +01:00
parent 74cca6bac3
commit ca17332942

View file

@ -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()]