Skip to content

Is it possible to extract data using XPath or regex? #43

Answered by janreges
Wachynaky asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Wachynaky,

I have just implemented the ability to use XPath and RegEx in --extra-columns in commit cd6d55a. It will be released in the next version, or if you can, you can run the CLI version from the current main branch according to documentation.

XPath usage: Heading1=xpath://h1/text()
RegEx usage: ProductPrice=regexp:/Price:\s*?(\d+(?:\.\d{2})?)/i#1

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Wachynaky
Comment options

Answer selected by Wachynaky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants