Answer the question
In order to leave comments, you need to log in
How to get the text in the GO parser when it is inside a div, but besides it there is a lot of unnecessary stuff (details inside)?
Good afternoon. It is necessary to pull out the text "Kiev". When looking for a class list-jobs__details__info
, a lot of superfluous.
City = s.Find(".list-jobs__details__info").Text()
Can't be thrown out. How to get only Kiev from there?
Answer the question
In order to leave comments, you need to log in
City = s.Find(".list-jobs__details__info > .icon-location").Text()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question