🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
fix(type hints): use correct import for Python < 3.12 (Fixes #163 )
Karim shoairc8e1d8d75d82
diff --git a/scrapling/core/_types.py b/scrapling/core/_types.pyindex f2fc097..25ddb5b 100644--- a/scrapling/core/_types.py+++ b/scrapling/core/_types.py@@ -4,7 +4,6 @@ Type definitions for type checking purposes.from typing import (TYPE_CHECKING,- TypedDict,TypeAlias,cast,overload,@@ -32,7 +31,7 @@ from typing import (Coroutine,SupportsIndex,)-from typing_extensions import Self, Unpack+from typing_extensions import Self, Unpack, TypedDict# Proxy can be a string URL or a dict (Playwright format: {"server": "...", "username": "...", "password": "..."})ProxyType = Union[str, Dict[str, str]]