Commit Graph
100 Commits
Author SHA1 Message Date
Karim shoair 1240ee3eb0 fix(Fetcher): Fix the issue of passing cookies 2025-04-29 03:01:19 +03:00
Karim shoair 98ad50d5aa feat(cli): Adding two new commands (uncurl/curl2fetcher) 2025-04-29 02:45:50 +03:00
Karim shoair a9dded34f4 fix(install): Fix error with spaces in Python's path (#57) 2025-04-26 04:10:38 +03:00
Karim shoair e4bedc779b build: Bumping version up for beta testers 2025-04-22 05:17:08 +02:00
Karim shoair 49b7ae13f6 feat(cli): Adding Scrapling Shell feature 2025-04-22 05:15:57 +02:00
Karim shoair 5ac5d60d77 Merge branch 'main' into dev 2025-04-18 01:09:54 +02:00
Karim shoair 34d9d02636 chore: update Evomi banner 2025-04-15 14:24:22 +02:00
Karim shoair d5592662b8 chore: add Evomi banner 2025-04-15 14:20:49 +02:00
Karim shoair d9f28b2ba2 chore: updating discord link 2025-04-15 03:27:50 +02:00
Karim shoair 4d9f7b27ff docs: Update README.md 2025-04-15 03:23:34 +02:00
Karim shoair ad83c03472 chore: Moving Evomi up 2025-04-15 00:44:16 +02:00
Karim shoair 1aacdd6009 chore: updating Scrapeless ad 2025-04-14 17:57:42 +02:00
Karim shoair 482a4a9308 Merge branch 'main' into dev 2025-04-13 17:34:32 +02:00
Karim shoair 784c4e5bb8 docs: update docs link in CONTRIBUTING file 2025-04-13 17:34:23 +02:00
Karim shoair 0c8dd63f87 chore: migrating to ruff and updating pre-commit hooks 2025-04-13 17:32:00 +02:00
Karim shoair f34b42ea33 docs: add discord server to the issues tab 2025-04-13 15:22:13 +02:00
Karim shoair f13cafefb8 docs: add the discord server 2025-04-13 03:56:42 +02:00
Karim shoair ba42775d97 docs: Update README.md 2025-04-12 22:37:57 +02:00
Karim shoair 211825a49e docs: update README logo 2025-04-12 22:36:25 +02:00
Karim shoair ca9daf23de docs: Adding new poster 2025-04-12 22:31:58 +02:00
Karim shoair 8b93857546 docs: removing old documentation
Checkout the website at https://scrapling.readthedocs.io
2025-04-08 06:56:06 +02:00
Karim shoair 96e3c3d2b5 Update publish.yml 2025-04-08 06:34:21 +02:00
Karim shoair c3b141ed4b Merge pull request #55 from D4Vinci/dev
v0.2.99
2025-04-08 06:27:07 +02:00
Karim shoair cf81e4e1a9 docs: Update README file 2025-04-08 06:06:12 +02:00
Karim shoair 8833a0916e build: update docs URL 2025-04-08 06:05:02 +02:00
Karim shoair a79bf3cc9d feat(StealthyFetcher): adding the wait option
This will make fetcher sleep after fetch before closing the page
2025-04-08 03:08:48 +02:00
Karim shoair 8f5d66f678 fix(StealthyFetcher): fix redirection issue with async_fetch 2025-04-08 02:58:10 +02:00
Karim shoair d6a3434402 fix(PlayWrightFetcher): fix redirection issue with async_fetch 2025-04-08 02:57:01 +02:00
Karim shoair 128f7b9d6f feat(PlayWrightFetcher): adding the option to sleep after fetch before closing the page 2025-04-08 02:54:46 +02:00
Karim shoair eb4ca2c6a4 fix(StealthyFetcher): change additional_arguments to a dictionary argument 2025-04-08 02:24:43 +02:00
Karim shoair c36baf7b4c test: Update tests to use current configuration 2025-03-26 21:56:04 +02:00
Karim shoair 8551d7eeea docs: Update README reflect current version accurately 2025-03-26 19:25:49 +02:00
Karim shoair 811cd2d9b0 refactor: make auto_match disabled by default 2025-03-26 19:25:19 +02:00
Karim shoair fec8215631 docs: Clearer docs for recent changes 2025-03-26 05:56:49 +02:00
Karim shoair 7025a7910e build: Pump up the version 2025-03-26 05:44:45 +02:00
Karim shoair 8a2ac94243 docs: Updating the benchmarks table with current numbers
All libraries are updated to the latest version
2025-03-26 05:41:03 +02:00
Karim shoair d33e738c53 feat(StealthyFetcher): The ability to pass additional arguments to Camoufox 2025-03-26 05:36:05 +02:00
Karim shoair a0952dca8f docs: Updating the README to reflect the new changes 2025-03-26 05:28:28 +02:00
Karim shoair 7ca8aaf2df feat(custom_config): The ability to pass custom parser config to requests 2025-03-26 03:56:56 +02:00
Karim shoair d7ef555d99 docs: Updating the README to reflect the new changes 2025-03-26 03:01:42 +02:00
Karim shoair 416bd919ba fix: backward-compatibility with the new import logic 2025-03-26 02:49:02 +02:00
Karim shoair 7c0c23fd33 feat(unified import): Make one import for all fetchers
Why I didn't think of that from the start? IDK
2025-03-26 02:48:34 +02:00
Karim shoair c004e388c4 build: fix auto-release workflow
Escape special chars by using a cleaner approach
2025-03-17 15:33:07 +02:00
Karim shoair e60d0cb4db Merge pull request #51 from D4Vinci/dev
v0.2.98
2025-03-17 15:24:09 +02:00
Karim shoair 9b0515b1cd fix(defaults): Lazy Loading fetchers to lower memory usage on importing 2025-03-17 06:56:34 +02:00
Karim shoair 94f16ca1af build: Pumping up the version 2025-03-17 06:47:43 +02:00
Karim shoair ff3962b1ad fix: Adjusting cache size in all the library 2025-03-17 06:46:41 +02:00
Karim shoair 18d2d29fa8 docs: use a better import to reflect the new changes 2025-03-17 06:29:32 +02:00
Karim shoair bbc05ca164 fix(importing): Lazy Loading submodules to lower memory usage on importing
Load what you use instead of all submodules together
2025-03-17 06:24:42 +02:00
Karim shoair 68ac9d4d05 fix(parser): Lowering memory with replacing body property with html_content 2025-03-17 05:58:40 +02:00
Karim shoair e5a022ec6a fix(parser): Improving CSS selecting memory usage by ~144%
and speed by ~2%
2025-03-16 22:33:46 +02:00
Karim shoair ed89161cd9 build: fixing release workflow 2025-03-15 03:26:40 +02:00
Karim shoair 01bd9a3d28 Merge pull request #49 from D4Vinci/dev
v0.2.97
2025-03-15 03:19:35 +02:00
Karim shoair b85cd5c607 build: update publish.yml 2025-03-15 02:46:26 +02:00
Karim shoair 51f2cf6b47 docs: updating FUNDING.yml 2025-03-15 02:43:55 +02:00
Karim shoair 257b740e1d build: Pumping up the version 2025-03-15 02:38:46 +02:00
Karim shoair 55802bac97 build: New workflow to automatically create releases from PRs on main 2025-03-15 02:37:50 +02:00
Karim shoair e05ff06b92 build: Updating the publish workflow 2025-03-15 02:32:09 +02:00
Karim shoair 7bef44ea4c fix: Limit caching in all the library
To lower memory usage with high numbers of requests. Possibly improve case #48
2025-03-15 02:01:16 +02:00
Karim shoair 4f75827641 refactor(fetchers): Clearer more accurate type hints 2025-03-15 01:47:41 +02:00
Karim shoair b5c7a8c36d refactor/fix(Fetcher engine): Improvements and fixes
- Added the retries argument to the async methods, I don't understand how I missed it but that's why the code is rewritten now for easier maintenance.
2025-03-15 01:46:38 +02:00
Karim shoair 0c31fb7c0e refactor/fix(Playwright engine): Improvements and fixes 2025-03-15 01:45:12 +02:00
Karim shoair a2123fe91c refactor/fix(Camo engine): Improvements and fixes 2025-03-15 01:44:49 +02:00
Karim shoair 94909099a9 fix(Parser): Change default text content to empty string instead of None
For compatibility with previous fix/commit
2025-03-15 00:56:19 +02:00
Karim shoair bf6a3a9c20 fix(TextHandler): auto handling non-string type variables
Fix for #45
2025-03-08 01:42:58 +02:00
Karim shoair 6906b13500 docs: update Scrapeless promo 2025-03-05 15:22:50 +02:00
Karim shoair 26c10d5373 docs: updating scrapeless banner 2025-03-05 15:18:00 +02:00
Karim shoair 3ca4ea1d45 Merge pull request #43 from D4Vinci/dev
v0.2.96
2025-03-05 03:43:19 +02:00
Karim shoair f8662bee29 feat(cli): Adding the -f flag to install command 2025-03-05 03:32:43 +02:00
Karim shoair 087a85d615 fix(cli): Fix issue where install drops user into Python Shell 2025-03-05 03:28:07 +02:00
Karim shoair 7ed189aa4e docs: Updating the README 2025-03-05 03:15:11 +02:00
Karim shoair 5f06a34a2f build: Pumping version up 2025-03-05 03:13:47 +02:00
Karim shoair e9344a7384 fix(TextHandler): Fixing an issue with slicing
Slicing was returning `TextHandlers` instead of `TextHandler`. This solves #41 and corrects the type hint
2025-03-05 03:11:46 +02:00
Karim shoair 573bfe030c Merge pull request #40 from D4Vinci/dev
v0.2.95
2025-02-26 00:27:21 +02:00
Karim shoair 1dc79d449b docs: update library description 2025-02-26 00:19:54 +02:00
Karim shoair dc702d2d7c build: pumping version up 2025-02-25 23:57:31 +02:00
Karim shoair c596a13901 docs: reflect updates on README 2025-02-25 23:54:23 +02:00
Karim shoair 5f4ec3ba3a fix(Fetcher): make stealthy_headers don't overwrite user headers
Fix for #39
2025-02-25 23:14:59 +02:00
Karim shoair 5251abbd1a Merge pull request #38 from D4Vinci/dev
v0.2.94
2025-02-22 18:55:16 +02:00
Karim shoair 7f7b8e080b docs(README): add history to the page to reflect new changes 2025-02-22 18:47:02 +02:00
Karim shoair aa4d365901 fix(StealthyFetcher): no need to disable coop now
Camoufox can now click inside coop iframes without it
2025-02-22 18:46:02 +02:00
Karim shoair 10ecd41444 feat(StealthyFetcher): Add the redirections history 2025-02-22 18:45:17 +02:00
Karim shoair 8049ac0f28 feat(PlayWrightFetcher): Add the redirections history 2025-02-22 17:47:27 +02:00
Karim shoair 3d2418b67a feat(Fetcher): Add the redirections history to Fetcher
Feature requested in #32
2025-02-22 16:58:54 +02:00
Karim shoair f0db07a31f build: pumping up deps and version to 0.2.94 2025-02-22 15:25:35 +02:00
Karim shoair 390bd51cb1 fix(TextHandler): correcting case_sensitive argument logic
This is awkward, I can't believe how this slipped from me!
2025-02-22 15:20:11 +02:00
Karim shoair db068f4eaa build: fix classifiers 2025-01-31 03:53:28 +02:00
Karim shoair e40a1e1f73 Merge pull request #33 from D4Vinci/dev
v0.2.93
2025-01-31 03:43:05 +02:00
Karim shoair 7c35341d85 refactor(parser/get_all_text): Cleaner and a bit faster implementation 2025-01-31 02:47:49 +02:00
Karim shoair a6fd25f64c fix(parser): fix traverse selectors 2025-01-31 01:57:19 +02:00
Karim shoair a8d475afb0 feat(parser): Make all returned html as TextHandler
So you can do regex on raw html if wanted etc...
2025-01-31 01:38:48 +02:00
Karim shoair 3330e9f475 refactor(parser/automatch): Cleaner and faster implementation
~5% speed boost
2025-01-31 01:34:02 +02:00
Karim shoair 37a31a120e refactor(parser/find_by_regex): Better implementation for ~60% speed boost 2025-01-31 01:19:11 +02:00
Karim shoair 2c6142d96d refactor(parser/find_by_text): Better implementation for ~20% speed boost 2025-01-31 01:12:00 +02:00
Karim shoair 9ea245eab4 doc(README): be more specific about what the regex match 2025-01-31 00:48:59 +02:00
Karim shoair 3f23f18473 style(TextHandler): fix re overload 2025-01-31 00:48:27 +02:00
Karim shoair 1962c11f64 fix(parser/find_all): Logic issues made conditions used sometimes in a (and) fashion and other times (OR)
Also, the speed boost is 6-14% not 95% as I said first :(
2025-01-31 00:23:54 +02:00
Karim shoair 57090f90a4 refactor(parser/find_all): about ~95% speed increase
Boom!
2025-01-30 23:39:46 +02:00
Karim shoair f37538320f feat(parser): adding below_elements method 2025-01-30 23:05:10 +02:00
Karim shoair ae60c2c0ad fix(playwright engine): bug in checking nstbrowser_config type 2025-01-30 20:07:19 +02:00