Commit Graph

1460 Commits

Author SHA1 Message Date
Karim shoair 4f0a593b7d Merge branch 'dev' into fix/atomic-checkpoint-cache-writes 2026-06-07 15:49:01 +03:00
Karim shoair 2b2abb3810 feat: add --version flag to the CLI (#303) 2026-06-07 15:37:41 +03:00
Karim shoair 507f7f626d Merge branch 'dev' into feat/cli-version-flag 2026-06-07 15:37:23 +03:00
Karim shoair 5d839c5995 Merge branch 'main' into dev 2026-06-07 15:37:12 +03:00
Karim shoair fa5f1477d0 Merge branch 'dev' into feat/cli-version-flag 2026-06-07 15:36:58 +03:00
Karim shoair b9bc17b461 docs: removing a sponsor 2026-06-07 15:11:06 +03:00
Ahmed Elshahat f0db3d7d14 fix(spiders): use os.replace for atomic checkpoint/cache writes on Windows
CheckpointManager.save() and ResponseCacheManager.put() write to a temp
file and then move it into place with Path.rename(). On Windows, os.rename
cannot overwrite an existing destination and raises FileExistsError
(WinError 183), so every write after the first one fails: checkpoint
saving raises and breaks resume, while the development response cache
swallows the error and keeps returning the stale entry.

Path.replace() (os.replace) overwrites the destination atomically on every
platform and behaves identically to rename() on POSIX, so this is a no-op
on Linux and macOS and only fixes the broken overwrite on Windows.

Add a regression test for the cache overwrite path; the checkpoint
overwrite is already covered by test_multiple_saves_overwrite.
2026-06-07 04:24:12 +03:00
Karim shoair 141b389cdb docs: updating the support page title 2026-06-04 17:47:40 +03:00
Karim shoair 3a2dd29255 docs: update a sponsor 2026-06-03 20:43:40 +03:00
Karim shoair 53ef32c723 docs: fix Docker image name in remaining examples (#315) 2026-06-02 02:19:27 +03:00
Karim shoair 6efd50dd17 Merge branch 'dev' into docs/fix-docker-image-name-sweep 2026-06-02 02:17:22 +03:00
Karim shoair 464fba2435 docs: remove a sponsor 2026-06-02 01:39:06 +03:00
Evan Alferez 9e43062a63 docs: use pyd4vinci/scrapling in remaining Docker examples (#282)
PR #283 fixed the bare `scrapling` image name in docs/ai/mcp-server.md;
the agent-skill MCP reference and CLI extract docs still used the
unqualified name, which Docker resolves against the official library
namespace and fails with pull access denied.
2026-06-01 09:30:21 +09:00
Karim shoair a6a57eee44 docs: update a sponsor 2026-05-30 15:37:08 +03:00
Karim shoair 961f659ac8 docs: remove old sponsors 2026-05-30 15:30:05 +03:00
ETM-Code c243c8aca5 feat: add --version flag to the CLI
- Add a `--version` flag to the main CLI group using click's `version_option`
- Prints `Scrapling, version <version>` and exits, sourcing the version from `scrapling.__version__`
- Add a CLI test asserting the flag's output

Closes #299
2026-05-30 11:37:22 +01:00
Karim shoair dbd48ffd60 docs: add a new sponsor 2026-05-28 00:53:54 +03:00
Karim shoair b31dc50a06 docs: remove an old sponsor 2026-05-27 04:10:38 +03:00
Karim shoair ed008efcf7 docs: updating a sponsor image 2026-05-18 19:33:49 +03:00
Karim shoair 735af8f221 docs: fix Docker image name in MCP example (#283) 2026-05-16 03:42:13 +03:00
Karim shoair b5d7d3d103 Merge branch 'main' into fix/mcp-docker-image-name 2026-05-16 03:41:48 +03:00
yetval b227583e5f docs: fix Docker image name in MCP example 2026-05-15 09:35:04 -04:00
Karim shoair 6380ef0f26 docs: adding a new sponsor 2026-05-11 15:41:27 +03:00
Karim shoair 9ee35014fe v0.4.8 (#277) 2026-05-11 04:59:43 +03:00
Karim shoair 66d8917013 ops: update tests deps 2026-05-11 04:37:18 +03:00
Karim shoair 149d5f0923 Merge branch 'main' into dev 2026-05-11 04:28:34 +03:00
Karim shoair 55931897d6 docs(agent): update skill zip file 2026-05-11 03:34:17 +03:00
Karim shoair 34651abc6b tests: remove old code and update the rest 2026-05-11 03:30:59 +03:00
Karim shoair ebd7e0971c build: update deps and browser useragents 2026-05-11 03:18:26 +03:00
Karim shoair c0ed8949f6 docs: update zensical version 2026-05-11 03:00:11 +03:00
Karim shoair 6a641912cd docs: add docs for the new features 2026-05-11 02:58:00 +03:00
Karim shoair 8a8b2d14ba test: add tests accordingly 2026-05-11 02:33:43 +03:00
Karim shoair f7da15771b feat(spiders): Add SitemapSpider 2026-05-11 02:33:37 +03:00
Karim shoair f093d0cf12 feat(spiders): Add CrawlSpider and CrawlRule 2026-05-10 21:13:16 +03:00
Karim shoair 18e9121135 feat(spiders): Add pure URL discovery primitive 2026-05-10 21:12:36 +03:00
Karim shoair 940036fa8f docs: removing a sponsor 2026-05-10 15:49:54 +03:00
Karim shoair e5d7ed27fb Merge branch 'main' into dev 2026-05-09 03:43:58 +03:00
Karim shoair 07e0c1c4b9 docs: adding a new sponsor 2026-05-06 17:37:48 +03:00
Karim shoair 37c17e8666 docs: adding a new sponsor 2026-05-05 15:38:13 +03:00
Karim shoair 333b6de0b5 fix(parser): change the default threshold and add warning 2026-05-02 19:58:53 +03:00
Karim shoair ea7b4bddd3 Merge branch 'main' into dev 2026-04-30 19:21:46 +03:00
Karim shoair a2285436e1 docs: adding a new sponsor 2026-04-30 19:20:25 +03:00
Karim shoair 90a853d0fd fix(request fp): hash request kwargs and headers correctly (#255) 2026-04-30 18:54:16 +03:00
Karim shoair 809d4782ba Merge branch 'dev' into fix/request-fingerprint 2026-04-30 18:45:25 +03:00
yetval 334b0f5538 fix: str(value) 2026-04-30 09:52:34 -04:00
Karim shoair f305580f1d Merge branch 'main' into dev 2026-04-30 16:25:35 +03:00
Karim shoair be9f12f05a docs: adding a new sponsor 2026-04-30 16:24:44 +03:00
Karim shoair 756a59516b Merge branch 'main' into dev 2026-04-28 23:31:47 +03:00
Karim shoair 984b90da65 docs: moving up a sponsor 2026-04-28 23:29:45 +03:00
yetval a5a5652996 test: add request fingerprint regressions 2026-04-26 16:31:58 -04:00