You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as far as i can tell, the only way to do this is to create a new NodeNavigator with htmlquery.CreateXPathNavigator for each query.
additionally, it is cumbersome to turn the result of a query into a string. having to iterate through to find the first result, and then calling Value() seems like a lot, and there is no documentation i could find that suggests this is what you are supposed to do.
The text was updated successfully, but these errors were encountered:
htmlquery depend on the thirdy package golang html, it don't provide a 'Value()' method. one way is wrapper a html.Node to the new class it provides Value() and Attrs() these methods.
as far as i can tell, the only way to do this is to create a new NodeNavigator with htmlquery.CreateXPathNavigator for each query.
additionally, it is cumbersome to turn the result of a query into a string. having to iterate through to find the first result, and then calling Value() seems like a lot, and there is no documentation i could find that suggests this is what you are supposed to do.
The text was updated successfully, but these errors were encountered: