🕷️ 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
docs: making some adjustments
Karim shoairc8b9a04e8707
diff --git a/README.md b/README.mdindex 151efec..a6f3e32 100644--- a/README.md+++ b/README.md@@ -1,6 +1,6 @@<p align=center><br>- <a href="https://scrapling.readthedocs.io/en/latest/" target="_blank"><img src="https://raw.githubusercontent.com/D4Vinci/Scrapling/main/images/poster.png" style="width: 50%; height: 100%;"/></a>+ <a href="https://scrapling.readthedocs.io/en/latest/" target="_blank"><img src="https://raw.githubusercontent.com/D4Vinci/Scrapling/main/images/poster.png" style="width: 50%; height: 100%;" alt="main poster"/></a><br><i><code>Easy, effortless Web Scraping as it should be!</code></i></p>@@ -49,7 +49,7 @@Scrapling isn't just another Web Scraping library. It's the first **adaptive** scraping library that learns from website changes and evolves with them. While other libraries break when websites update their structure, Scrapling automatically relocates your elements and keeps your scrapers running.-Built for the modern Web, Scrapling features its own rapid parsing engine and fetchers to handle all Web Scraping challenges you face or will face. Built by Web Scrapers for Web Scrapers and regular users, there's something for everyone.+Built for the modern Web, Scrapling features **its own rapid parsing engine** and fetchers to handle all Web Scraping challenges you face or will face. Built by Web Scrapers for Web Scrapers and regular users, there's something for everyone.```python>> from scrapling.fetchers import Fetcher, AsyncFetcher, StealthyFetcher, DynamicFetcher@@ -148,6 +148,9 @@ page = DynamicFetcher.fetch('https://quotes.toscrape.com/')data = page.css('.quote .text::text')```+> [!NOTE]+> There's a wonderful guide to get you started quickly with Scraping [here](https://substack.thewebscraping.club/p/scrapling-hands-on-guide) written by The Web Scraping Club. In case you find it easier to get you started than the [documentation website](https://scrapling.readthedocs.io/en/latest/).+### Advanced Parsing & Navigation```pythonfrom scrapling.fetchers import Fetcher@@ -272,7 +275,7 @@ Starting with v0.3.2, this installation only includes the parser engine and its### Optional Dependencies-1. If you are going to use any of the extra features below, the fetchers, or their classes, then you need to install fetchers' dependencies, and then install their browser dependencies with+1. If you are going to use any of the extra features below, the fetchers, or their classes, then you need to install fetchers' dependencies and then install their browser dependencies with```bashpip install "scrapling[fetchers]"@@ -294,7 +297,7 @@ Starting with v0.3.2, this installation only includes the parser engine and its```bashpip install "scrapling[all]"```- Don't forget that you need to install the browser dependencies with `scrapling install` after any of these extras (if you didn't already)+ Remember that you need to install the browser dependencies with `scrapling install` after any of these extras (if you didn't already)### DockerYou can also install a Docker image with all extras and browsers with the following command from DockerHub:diff --git a/scrapling/engines/toolbelt/custom.py b/scrapling/engines/toolbelt/custom.pyindex 1f20038..d1f95b7 100644--- a/scrapling/engines/toolbelt/custom.py+++ b/scrapling/engines/toolbelt/custom.py@@ -18,7 +18,7 @@ from scrapling.parser import Selector, SQLiteStorageSystemclass Response(Selector):- """This class is returned by all engines as a way to unify response type between different libraries."""+ """This class is returned by all engines as a way to unify the response type between different libraries."""def __init__(self,@@ -132,7 +132,7 @@ class BaseFetcher:class StatusText:- """A class that gets the status text of response status code.+ """A class that gets the status text of the response status code.Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status"""