summaryrefslogtreecommitdiff
path: root/commcrawler/scrapy.py
diff options
context:
space:
mode:
Diffstat (limited to 'commcrawler/scrapy.py')
-rw-r--r--commcrawler/scrapy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/commcrawler/scrapy.py b/commcrawler/scrapy.py
index 6af1c0b..e69268b 100644
--- a/commcrawler/scrapy.py
+++ b/commcrawler/scrapy.py
@@ -432,7 +432,8 @@ def launch_crawl(crawl_item, excluded_domains=None):
)
)
if has_url_to_process:
- process.start(stop_after_crawl=ONLY_FIRST_PAGE)
+ # process.start(stop_after_crawl=ONLY_FIRST_PAGE)
+ process.start()
page += 1
crawl_item.crawl_ended = timezone.now()
if ONLY_FIRST_PAGE and page <= page_number: