aboutsummaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 933a140..31f338d 100644
--- a/app.py
+++ b/app.py
@@ -33,7 +33,7 @@ def search():
def crawl():
try:
- db.create_tables([Page])
+ db.create_tables(Page.__subclasses__())
process = CrawlerProcess(get_project_settings())
process.crawl(ScrapSpider)
process.start()