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

@@ -79,7 +79,7 @@ func setupSiArticlePageCrawler(crArticlePage *colly.Collector) {
text := ""
e.ForEach("p.article__top-content, p.article__content, h4.article__content, h3.article__content, h2.article__content, div.article__content", func(_ int, el *colly.HTMLElement) {
e.ForEach("div.article__top-content, div.article__content, h4, h3, h2, div.article__content", func(_ int, el *colly.HTMLElement) {
text += extractJustText(el.DOM)
})