- Updated text extraction using recursion
- Added new unit test
test: remove irrelevent test
Karim shoair
b3032f2
test: update the tests accordingly
Karim shoair
b2b1af0
test: remove the tests for the removed html_utils module
Karim shoair
d5fdb45
tests: Multiple changes to tests
Karim shoair
88842b1
- Remove all tests for the old encoding logic
- Stop using the `nopecha` test page to test Cloudflare solver
- Remove useless tests like testing for infinite timeout
- Fixes to make the code compatible with new changes
docs: update doc strings with correct naming
Karim shoair
4893321
test: adding new tests and updating existing ones
Karim shoair
4e9888e
Code Coverage is now 92%
test: adding new tests and updating existing ones
Karim shoair
ec56f6e
test: adding new tests and updating existing ones
Karim shoair
3b87ba3
The coverage is now 78%
refactor: replace's Selector inpt (text/body) with 1 argument called `content`
Karim shoair
3db9c55
refactor: huge change, many features/class got a better naming
Karim shoair
8e67a4c
- `Adaptor` became `Selector`
- `Adaptors` became `Selectors`
- `auto_match` argument/feature became `adaptive`
- `adaptor_arguments` argument became `selector_config`
- `automatch_domain` argument became `adaptive_domain`
- `additional_arguments` argument became `additional_args`
- `storage_adaptors` file became just `storage`
test: remove irrelevant test case
Karim shoair
d4fe1d6
fix(tests): fix for GitHub actions
Karim shoair
89e3017
chore: migrating to ruff and updating pre-commit hooks
Karim shoair
fcedcce
test: Rewrite automatch tests to a cleaner version and adding async test
Karim shoair
488acaf
test: Rewrite parser tests to a cleaner version and adding more tests
Karim shoair
5d8eb71
refactor(api)!: Unifying log under 1 logger and removing debug parameter
Karim shoair
df3c414
So now you control the logging and the debugging from the shell through the logger with the name 'scrapling'
Sorting all library imports with `isort`
Karim shoair
29489df
Update test_general.py
Karim shoair
20f65cb
Increasing the time a little bit for the performance test
Karim shoair
394bea9
It's prolonged on GitHub Actions for obvious reasons
Rework Selectors generation
Karim shoair
15febd6
- Renamed both `css_selector` and `xpath_selector` both to `generate_css_selector` and `generate_xpath_selector` for clarity and not interrupting the auto-completion while coding.
- Added `generate_full_css_selector` and `generate_full_xpath_selector` methods
Updating parser tests to use `find` and `css_first` functions