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
@jerzybrzoska, checking your variable td is not nil before calling htmlquery.InnerText(td), like this if td != nil { record = htmlquery.InnerText(td) }
your xpath express is not good, change it to //div[@id='mw-content-text']/div[1]/table[1]/tbody/tr[3]/td[2] . div[@id='mw-content-text']/div[1]/table[1]/tbody/tr[3]/td[2] will not found any matching nodes.
This happens when calling
.InnerText
when a page happens to be blank (such as a redirect).The text was updated successfully, but these errors were encountered: