Retrieve more than one strip in index mode.
This commit is contained in:
parent
95e1fbbe55
commit
9ad4477d1f
2 changed files with 3 additions and 1 deletions
|
@ -8,6 +8,8 @@ Features:
|
|||
|
||||
Changes:
|
||||
- comics: CyanideAndHappiness image filename now has the strip number prefixed.
|
||||
- comics: Indexed retrieval can now retrieve all (-a) or some (-n)
|
||||
strips, not only one.
|
||||
|
||||
Fixes:
|
||||
- comics: Fixed LeastICouldDo image URL.
|
||||
|
|
|
@ -85,7 +85,7 @@ class _BasicScraper(object):
|
|||
if self.indexes:
|
||||
for index in self.indexes:
|
||||
url = self.stripUrl % index
|
||||
for strip in self.getStripsFor(url, 1):
|
||||
for strip in self.getStripsFor(url, maxstrips):
|
||||
yield strip
|
||||
else:
|
||||
url = self.getLatestUrl()
|
||||
|
|
Loading…
Reference in a new issue