From db41a6c4b6a0fe4ff201a2066a3ca29ca3357d44 Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sun, 8 Feb 2026 20:46:14 +0200 Subject: [PATCH] docs: update pages with the new media for testing zensical --- docs/fetching/dynamic.md | 4 ++-- docs/fetching/static.md | 4 ++-- docs/index.md | 33 +++++++++++++++++++++++++++++++-- docs/parsing/main_classes.md | 7 +++---- 4 files changed, 38 insertions(+), 10 deletions(-) diff --git a/docs/fetching/dynamic.md b/docs/fetching/dynamic.md index e62d7b1..007d76b 100644 --- a/docs/fetching/dynamic.md +++ b/docs/fetching/dynamic.md @@ -122,9 +122,9 @@ page = DynamicFetcher.fetch('https://example.com', proxy='http://username:passwo ### Downloading Files ```python -page = DynamicFetcher.fetch('https://raw.githubusercontent.com/D4Vinci/Scrapling/main/images/poster.png') +page = DynamicFetcher.fetch('https://raw.githubusercontent.com/D4Vinci/Scrapling/main/images/main_cover.png') -with open(file='poster.png', mode='wb') as f: +with open(file='main_cover.png', mode='wb') as f: f.write(page.body) ``` diff --git a/docs/fetching/static.md b/docs/fetching/static.md index 5b2a2dc..22ce625 100644 --- a/docs/fetching/static.md +++ b/docs/fetching/static.md @@ -275,8 +275,8 @@ def scrape_products(): ```python from scrapling.fetchers import Fetcher -page = Fetcher.get('https://raw.githubusercontent.com/D4Vinci/Scrapling/main/images/poster.png') -with open(file='poster.png', mode='wb') as f: +page = Fetcher.get('https://raw.githubusercontent.com/D4Vinci/Scrapling/main/images/main_cover.png') +with open(file='main_cover.png', mode='wb') as f: f.write(page.body) ``` diff --git a/docs/index.md b/docs/index.md index e61b458..68185e8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,11 +2,16 @@ .md-typeset h1 { display: none; } +[data-md-color-scheme="default"] .only-dark { display: none; } +[data-md-color-scheme="slate"] .only-light { display: none; } +
- poster + Scrapling + Scrapling +
@@ -86,10 +91,34 @@ Scrapling’s GitHub stars have grown steadily since its release (see chart belo + + ## Installation Scrapling requires Python 3.10 or higher: diff --git a/docs/parsing/main_classes.md b/docs/parsing/main_classes.md index ac8af75..40a66f3 100644 --- a/docs/parsing/main_classes.md +++ b/docs/parsing/main_classes.md @@ -1,9 +1,8 @@ ## Introduction -> 💡 **Prerequisites:** -> -> - You’ve completed or read the [Querying elements](../parsing/selection.md) page to understand how to find/extract elements from the [Selector](../parsing/main_classes.md#selector) object. ->

+!!! success "Prerequisites" + + - You’ve completed or read the [Querying elements](../parsing/selection.md) page to understand how to find/extract elements from the [Selector](../parsing/main_classes.md#selector) object. After exploring the various ways to select elements with Scrapling and its related features, let's take a step back and examine the [Selector](#selector) class in general, as well as other objects, to gain a better understanding of the parsing engine.