diff --git a/pyproject.toml b/pyproject.toml index 6536a2a4..4f4f7efc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ dependencies = [ "pyyaml>=6.0.2", "sentry-sdk>=2.14.0", "uritemplate>=4.1.1", - "harvester>=0.3.2", + "harvester>=0.4.0", ] [tool.uv] diff --git a/src/importer/management/commands/_news_items.py b/src/importer/management/commands/_news_items.py index c9dcb495..7dc5d512 100644 --- a/src/importer/management/commands/_news_items.py +++ b/src/importer/management/commands/_news_items.py @@ -38,7 +38,7 @@ def process_blog(blog: BlogSchema) -> None: # Check if the blog already exists if Blog.objects.filter(title=blog.title, url=blog.url).exists(): - logger.info(f"Blog {blog.title} already exists") + logger.debug(f"Blog {blog.title} already exists") return logger.info(f"Adding blog: {blog.title}") @@ -60,7 +60,7 @@ def process_report(report: ReportSchema) -> None: # Check if the report already exists if Report.objects.filter(title=report.title, url=report.url).exists(): - logger.info(f"Report {report.title} already exists") + logger.debug(f"Report {report.title} already exists") return logger.info(f"Adding report: {report.title}") diff --git a/uv.lock b/uv.lock index 9cf8a685..31a98582 100644 --- a/uv.lock +++ b/uv.lock @@ -495,7 +495,7 @@ wheels = [ [[package]] name = "harvester" -version = "0.3.4" +version = "0.4.0" source = { registry = "https://pypi.thespacedevs.com/simple/" } dependencies = [ { name = "beautifulsoup4" }, @@ -506,9 +506,9 @@ dependencies = [ { name = "requests" }, { name = "selenium" }, ] -sdist = { url = "https://pypi.thespacedevs.com/packages/harvester-0.3.4.tar.gz", hash = "sha256:2d14217643f783731723eb97ca6ddc04362b813cb4f06b2c629377ccd5d3e548" } +sdist = { url = "https://pypi.thespacedevs.com/packages/harvester-0.4.0.tar.gz", hash = "sha256:dd2b720621da6317f9bf4eb5b5a77067461a96bd00d5a30c3d5ea1e329222468" } wheels = [ - { url = "https://pypi.thespacedevs.com/packages/harvester-0.3.4-py3-none-any.whl", hash = "sha256:3457c4e6ea9e7d4afc7706734d145839218a9403f1c03b9f5290b74b1875bfcb" }, + { url = "https://pypi.thespacedevs.com/packages/harvester-0.4.0-py3-none-any.whl", hash = "sha256:9501e12d2874fb0e5507d6fb593d4295fe75efb62d95644d09fd2bf218ff5c32" }, ] [[package]] @@ -1203,7 +1203,7 @@ requires-dist = [ { name = "environs", extras = ["django"], specifier = ">=11.0.0" }, { name = "feedparser", specifier = ">=6.0.11" }, { name = "gunicorn", specifier = ">=23.0.0" }, - { name = "harvester", specifier = ">=0.3.2" }, + { name = "harvester", specifier = ">=0.4.0" }, { name = "httpx", specifier = ">=0.27.2" }, { name = "markdown", specifier = ">=3.7" }, { name = "psycopg2-binary", specifier = ">=2.9.9" },