🕷️ 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
Another Compatibility fix for Python 3.7 because I deserve
Karim shoairc89fc88f5e4f
diff --git a/scrapling/storage_adaptors.py b/scrapling/storage_adaptors.pyindex da370ae..ec88925 100644--- a/scrapling/storage_adaptors.py+++ b/scrapling/storage_adaptors.py@@ -20,7 +20,7 @@ class StorageSystemMixin(ABC):"""self.url = url- @cache+ @cache(None, typed=True)def _get_base_url(self, default_value: str = 'default') -> str:if not self.url or type(self.url) is not str:return default_value@@ -52,7 +52,7 @@ class StorageSystemMixin(ABC):raise NotImplementedError('Storage system must implement `save` method')@staticmethod- @cache+ @cache(None, typed=True)def _get_hash(identifier: str) -> str:"""If you want to hash identifier in your storage system, use this safer"""identifier = identifier.lower().strip()