Fix scrapers
This commit is contained in:
@@ -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, h2, h3, h4, b, i") {
|
||||
if el2.Is("div, p, span, a") {
|
||||
textPart += extractJustText(el2)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user