Should fix memory usage problem when crawling (part three)

This commit is contained in:
Simon
2018-06-16 20:32:50 -04:00
parent 86144935e3
commit 1283cc9599
3 changed files with 9 additions and 9 deletions

2
app.py
View File

@@ -83,9 +83,7 @@ def website_links(website_id):
website = db.get_website_by_id(website_id)
if website:
print("FIXME: website_links")
links = searchEngine.get_link_list(website_id, website.url)
print(links)
return Response("\n".join(links), mimetype="text/plain")
else:
abort(404)