We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51e89df commit d64f2d2Copy full SHA for d64f2d2
goose/__init__.py
@@ -68,11 +68,10 @@ def crawl(self, crawl_candiate):
68
article = crawler.crawl(crawl_candiate)
69
except (UnicodeDecodeError, ValueError):
70
self.config.parser_class = parsers[0]
71
- try:
72
- if isinstance(crawl_candiate, basestring):
73
- return self.crawl(crawl_candiate)
74
- except exception as e:
75
- print >> sys.stderr, 'Article Crawl error: ', traceback.format_exec()
+ if isinstance(crawl_candiate, basestring):
+ return self.crawl(crawl_candiate)
+ except exception as e:
+ print >> sys.stderr, 'Article Crawl error: ', traceback.format_exec()
76
return article
77
78
def initialize(self):
0 commit comments