From 9435469ffe339acd44acd2984dab9094b701bb9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Mart=C3=ADn=20N=C3=BA=C3=B1ez?= <83213317+P-ict0@users.noreply.github.com> Date: Fri, 21 Jun 2024 14:56:16 +0200 Subject: [PATCH] Add needed import --- pyproject.toml | 2 +- src/web_scraper/utils/notifier.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a89fafe..646687a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "dynamic-scraper" -version = "1.0.1" +version = "1.0.2" description = "Dynamic web scraper specifically designed for websites that dynamically load elements (such as AngularJS). It runs at specified time intervals and notifies you about specific updates on the site." readme = "README.md" requires-python = ">=3.10" diff --git a/src/web_scraper/utils/notifier.py b/src/web_scraper/utils/notifier.py index 63164d5..d0a932f 100644 --- a/src/web_scraper/utils/notifier.py +++ b/src/web_scraper/utils/notifier.py @@ -1,4 +1,5 @@ from .helpers import is_windows +import os try: from win11toast import notify