This commit is contained in:
lor-engel 2023-04-13 08:37:14 +08:00 committed by GitHub
commit 0754f509e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ class Crawler(object):
...
def crawl_page(self, page):
self.reverse_index_queue.add(page.url)
self.doc_index_queue.add(page.url)
for url in page.child_urls:
self.data_store.add_link_to_crawl(url)
page.signature = self.create_signature(page)