XPath for HTML
Posted: 10 May 2016 16:11
Hey, I tried to get some information from a website (youtube) using the evaluateXpathAsString function. I want to use only the html I get via a GET request. When I try to execute the script, I get the following error:
org.xml.sax.SAXParseException: unterminated entity ref (position:ENTITY_REF @1:1024 in java.io.Stringreader@2e17e7bb)
I tried some other websites and got different errors, but none worked.
Should this function work with html?
org.xml.sax.SAXParseException: unterminated entity ref (position:ENTITY_REF @1:1024 in java.io.Stringreader@2e17e7bb)
I tried some other websites and got different errors, but none worked.
Should this function work with html?