From 82f8e4a07332c0436c69806727c219bfa4d376e5 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sat, 30 Nov 2024 11:23:07 +0200 Subject: [PATCH] Fixing import typo, thanks to #20 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ca23a6f..9f7a86e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Dealing with failing web scrapers due to anti-bot protections or website changes Scrapling is a high-performance, intelligent web scraping library for Python that automatically adapts to website changes while significantly outperforming popular alternatives. For both beginners and experts, Scrapling provides powerful features while maintaining simplicity. ```python ->> from scrapling.default import Fetcher, StealthyFetcher, PlayWrightFetcher +>> from scrapling.defaults import Fetcher, StealthyFetcher, PlayWrightFetcher # Fetch websites' source under the radar! >> page = StealthyFetcher.fetch('https://example.com', headless=True, network_idle=True) >> print(page.status) @@ -223,7 +223,7 @@ All of them can take these initialization arguments: `auto_match`, `huge_tree`, If you don't want to pass arguments to the generated `Adaptor` object and want to use the default values, you can use this import instead for cleaner code: ```python -from scrapling.default import Fetcher, StealthyFetcher, PlayWrightFetcher +from scrapling.defaults import Fetcher, StealthyFetcher, PlayWrightFetcher ``` then use it right away without initializing like: ```python