I'm attempting to extract some text from a webpage using hxselect from html-xml-utils 7.4. According to the man, hxselect will accept a comma delimited list of CSS selectors. I have three selectors:
/usr/local/bin/hxnormalize -x -i 0 -l 5000 https://domain.tld | /usr/local/bin/hxselect -s'\n' 'div#searchfieldouter, div#searchbutton, input.searchfield' > ~/result.html
The code performs properly with any one or two of the selectors. When I use more than two, only the first and last have any effect. Regardless of the selectors or number of selectors used, the middle ones seem to be ignored.
Is the bug in me or hxselect?
Option: hxselect -c ....