From 9f82dc3b7f54188227de04fe8a7c764cf1010938 Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 30 May 2023 17:34:49 +0300 Subject: [PATCH] Add changes. --- crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py | 4 ++-- crawlers/mooncrawl/mooncrawl/moonworm_crawler/crawler.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py b/crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py index f90cb666..d593c9c2 100644 --- a/crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py +++ b/crawlers/mooncrawl/mooncrawl/moonworm_crawler/cli.py @@ -149,8 +149,8 @@ def handle_historical_crawl(args: argparse.Namespace) -> None: addresses_filter = [] extend_tags.extend( [ - "moonworm_task_pickedup:True", - "historical_crawl_status:pending", + "#moonworm_task_pickedup:True", + "!#historical_crawl_status:finsihed", ] ) diff --git a/crawlers/mooncrawl/mooncrawl/moonworm_crawler/crawler.py b/crawlers/mooncrawl/mooncrawl/moonworm_crawler/crawler.py index 4aabb0ea..3418959d 100644 --- a/crawlers/mooncrawl/mooncrawl/moonworm_crawler/crawler.py +++ b/crawlers/mooncrawl/mooncrawl/moonworm_crawler/crawler.py @@ -180,7 +180,7 @@ def get_crawl_job_entries( if extend_tags is not None: for tag in extend_tags: - query += f" #{tag.rstrip()}" + query += f" {tag.rstrip()}" if created_at_filter is not None: # Filtering by created_at