diff --git a/scrapinglib/parser.py b/scrapinglib/parser.py index d3727d0..8c8b7fa 100644 --- a/scrapinglib/parser.py +++ b/scrapinglib/parser.py @@ -85,7 +85,7 @@ class Parser: else: self.detailurl = self.queryNumberUrl(number) if not self.detailurl: - return None + return 404 htmltree = self.getHtmlTree(self.detailurl) result = self.dictformat(htmltree) return result