Fix scrapers

This commit is contained in:
Senad Uka
2022-02-17 18:58:16 +01:00
parent f4ea31373d
commit 5f22302e44
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ func extractJustText(el *goquery.Selection) string {
}
el.Children().Each(func(_ int, el2 *goquery.Selection) {
if el2.Is("div, p, span, a") {
if el2.Is("div, p, span, a, h2, h3, h4, b, i") {
textPart += extractJustText(el2)
}
})