Dont stop on image regex errors.
This commit is contained in:
parent
421b036b4b
commit
6a2f55ddef
1 changed files with 5 additions and 1 deletions
|
@ -126,7 +126,11 @@ class _BasicScraper(object):
|
|||
out.info('Skipping URL %s' % url)
|
||||
self.skippedUrls.add(url)
|
||||
else:
|
||||
try:
|
||||
yield self.getComicStrip(url, data, baseUrl)
|
||||
except ValueError as msg:
|
||||
# image not found
|
||||
out.error(msg)
|
||||
if self.firstStripUrl == url:
|
||||
out.debug("Stop at first URL %s" % url)
|
||||
self.hitFirstStripUrl = True
|
||||
|
|
Loading…
Reference in a new issue