Skip to content

🕷️ 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

I don't know how that happened!

Karim shoair78c718c1d2a4
diff --git a/scrapling/_types.py b/scrapling/_types.py
index ca6769c..f832320 100644
--- a/scrapling/_types.py
+++ b/scrapling/_types.py
@@ -7,13 +7,13 @@ from typing import (
)
try:
- from scrapling._types import Protocol
+ from typing import Protocol
except ImportError:
# Added in Python 3.8
Protocol = object
try:
- from scrapling._types import SupportsIndex
+ from typing import SupportsIndex
except ImportError:
# 'SupportsIndex' got added in Python 3.8
SupportsIndex = None