build: pump up version and deps

This commit is contained in:
Karim shoair
2026-04-15 20:44:38 +02:00
parent f8ec79833f
commit 614d136f8c
7 changed files with 13 additions and 11 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
--- ---
name: scrapling-official name: scrapling-official
description: Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering. Use when asked to scrape, crawl, or extract data from websites; web_fetch fails; the site has anti-bot protections; write Python code to scrape/crawl; or write spiders. description: Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering. Use when asked to scrape, crawl, or extract data from websites; web_fetch fails; the site has anti-bot protections; write Python code to scrape/crawl; or write spiders.
version: "0.4.6" version: "0.4.7"
license: Complete terms in LICENSE.txt license: Complete terms in LICENSE.txt
metadata: metadata:
homepage: "https://scrapling.readthedocs.io/en/latest/index.html" homepage: "https://scrapling.readthedocs.io/en/latest/index.html"
@@ -40,7 +40,7 @@ Blazing fast crawls with real-time stats and streaming. Built by Web Scrapers fo
Create a virtual Python environment through any way available, like `venv`, then inside the environment do: Create a virtual Python environment through any way available, like `venv`, then inside the environment do:
`pip install "scrapling[all]>=0.4.6"` `pip install "scrapling[all]>=0.4.7"`
Then do this to download all the browsers' dependencies: Then do this to download all the browsers' dependencies:
@@ -9,7 +9,7 @@ All examples collect **all 100 quotes across 10 pages**.
Make sure Scrapling is installed: Make sure Scrapling is installed:
```bash ```bash
pip install "scrapling[all]>=0.4.6" pip install "scrapling[all]>=0.4.7"
scrapling install --force scrapling install --force
``` ```
+3 -3
View File
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "scrapling" name = "scrapling"
# Static version instead of a dynamic version so we can get better layer caching while building docker, check the docker file to understand # Static version instead of a dynamic version so we can get better layer caching while building docker, check the docker file to understand
version = "0.4.6" version = "0.4.7"
description = "Scrapling is an undetectable, powerful, flexible, high-performance Python library that makes Web Scraping easy and effortless as it should be!" description = "Scrapling is an undetectable, powerful, flexible, high-performance Python library that makes Web Scraping easy and effortless as it should be!"
readme = {file = "README.md", content-type = "text/markdown"} readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE"} license = {file = "LICENSE"}
@@ -77,8 +77,8 @@ fetchers = [
"patchright==1.58.2", "patchright==1.58.2",
"browserforge>=1.2.4", "browserforge>=1.2.4",
"apify-fingerprint-datapoints>=0.12.0", "apify-fingerprint-datapoints>=0.12.0",
"msgspec>=0.21.0", "msgspec>=0.21.1",
"anyio>=4.12.1", "anyio>=4.13.0",
"protego>=0.6.0", "protego>=0.6.0",
] ]
ai = [ ai = [
+1 -1
View File
@@ -1,5 +1,5 @@
__author__ = "Karim Shoair (karim.shoair@pm.me)" __author__ = "Karim Shoair (karim.shoair@pm.me)"
__version__ = "0.4.6" __version__ = "0.4.7"
__copyright__ = "Copyright (c) 2024 Karim Shoair" __copyright__ = "Copyright (c) 2024 Karim Shoair"
from typing import Any, TYPE_CHECKING from typing import Any, TYPE_CHECKING
+3 -1
View File
@@ -179,7 +179,9 @@ class ScraplingMCPServer:
""" """
session_id = session_id or uuid4().hex[:12] session_id = session_id or uuid4().hex[:12]
if session_id in self._sessions: if session_id in self._sessions:
raise ValueError(f"Session '{session_id}' already exists. Use a different ID or close the existing session first.") raise ValueError(
f"Session '{session_id}' already exists. Use a different ID or close the existing session first."
)
common_kwargs: Dict[str, Any] = dict( common_kwargs: Dict[str, Any] = dict(
wait=wait, wait=wait,
+2 -2
View File
@@ -14,12 +14,12 @@
"mimeType": "image/png" "mimeType": "image/png"
} }
], ],
"version": "0.4.6", "version": "0.4.7",
"packages": [ "packages": [
{ {
"registryType": "pypi", "registryType": "pypi",
"identifier": "scrapling", "identifier": "scrapling",
"version": "0.4.6", "version": "0.4.7",
"runtimeHint": "uvx", "runtimeHint": "uvx",
"packageArguments": [ "packageArguments": [
{ {
+1 -1
View File
@@ -1,6 +1,6 @@
[metadata] [metadata]
name = scrapling name = scrapling
version = 0.4.6 version = 0.4.7
author = Karim Shoair author = Karim Shoair
author_email = karim.shoair@pm.me author_email = karim.shoair@pm.me
description = Scrapling is an undetectable, powerful, flexible, high-performance Python library that makes Web Scraping easy and effortless as it should be! description = Scrapling is an undetectable, powerful, flexible, high-performance Python library that makes Web Scraping easy and effortless as it should be!