Options refactored to its own file. Timeout increased to 60 sec

This commit is contained in:
Musab Gültekin
2019-06-08 20:27:45 +03:00
parent b90908066b
commit 2e3bd18430
3 changed files with 22 additions and 12 deletions

View File

@ -20,9 +20,6 @@ geziyor := NewGeziyor(Opt{
r.Exports <- map[string]interface{}{
"text": s.Find("span.text").Text(),
"author": s.Find("small.author").Text(),
"tags": s.Find("div.tags > a.tag").Map(func(_ int, s *goquery.Selection) string {
return s.Text()
}),
}
})