Fix scrapers

This commit is contained in:
Senad Uka
2022-02-17 19:00:57 +01:00
parent 135cf90e7a
commit cb20d84803
2 changed files with 1 additions and 1 deletions

View File

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

BIN
spider

Binary file not shown.