Repository navigation
Extract with type = computed the "selector" is not available as input ? #851
Unanswered
sandermanneke
asked this question in
Forums - Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I trying to extract a field using type computed - for example use python to remove redundant spaces.
I was expecting something like this to work:
However after looking looking at
crawl4ai/crawl4ai/extraction_strategy.py
Line 994 in 79328e4
I got around it by first creating the field and then overwriting it:
That works but it feels redundant and clunky. I was expecting the data from the selecter to be available.
Should I approach this differently ?
Also - I could not find any documentation on this. Did I overlook ?
All reactions