This commit is contained in:
Daulet Amirkhanov 2025-10-13 15:43:37 +01:00
parent 4b6f7433c7
commit 9cc941a0be

View file

@ -20,7 +20,7 @@ logger = get_logger(__name__)
try: try:
from playwright.async_api import async_playwright from playwright.async_api import async_playwright
except ImportError: except ImportError:
logger.error( logger.warning(
"Failed to import playwright, make sure to install using pip install playwright>=1.9.0" "Failed to import playwright, make sure to install using pip install playwright>=1.9.0"
) )
async_playwright = None async_playwright = None
@ -28,7 +28,7 @@ except ImportError:
try: try:
from protego import Protego from protego import Protego
except ImportError: except ImportError:
logger.error("Failed to import protego, make sure to install using pip install protego>=0.1") logger.warning("Failed to import protego, make sure to install using pip install protego>=0.1")
Protego = None Protego = None