fatal error: concurrent map writes goroutine 166 [running]: runtime.throw(0xab7b31, 0x15) /usr/local/go/src/runtime/panic.go:1116 +0x72 fp=0xc0062eba90 sp=0xc0062eba60 pc=0x453732 runtime.mapassign_faststr(0xa13de0, 0xc0002353e0, 0xc00037edc3, 0x18, 0xaa058b) /usr/local/go/src/runtime/map_faststr.go:211 +0x3f7 fp=0xc0062ebaf8 sp=0xc0062eba90 pc=0x4338e7 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ed80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:310 +0x7b3 fp=0xc0062ebfb8 sp=0xc0062ebaf8 pc=0x825103 runtime.goexit() /usr/local/go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc0062ebfc0 sp=0xc0062ebfb8 pc=0x483571 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1 [semacquire]: syscall.ByteSliceFromString(0xc003395d40, 0x5b, 0x7f1cb42a5080, 0x0, 0xc00018d370, 0x2f6c00c000010668, 0x5a) /usr/local/go/src/syscall/syscall.go:53 +0x95 syscall.BytePtrFromString(...) /usr/local/go/src/syscall/syscall.go:69 syscall.fstatat(0xffffffffffffff9c, 0xc003395d40, 0x5b, 0xc001da41d8, 0x100, 0x5b, 0xc003395d40) /usr/local/go/src/syscall/zsyscall_linux_amd64.go:1476 +0x3f syscall.Lstat(...) /usr/local/go/src/syscall/syscall_linux_amd64.go:76 os.lstatNolog(0xc003395d40, 0x5b, 0x5b, 0x1, 0xc003395d40, 0x5b) /usr/local/go/src/os/stat_unix.go:42 +0x6e os.Lstat(0xc003395d40, 0x5b, 0x2, 0xc003395d40, 0x5b, 0x0) /usr/local/go/src/os/stat.go:22 +0x4d path/filepath.walk(0xc0016304b0, 0x42, 0xb89740, 0xc001b2d1e0, 0xc00018d548, 0x0, 0x0) /usr/local/go/src/path/filepath/path.go:378 +0x1d3 path/filepath.walk(0xc000117880, 0x3f, 0xb89740, 0xc000236ea0, 0xc00018d548, 0x0, 0x0) /usr/local/go/src/path/filepath/path.go:384 +0x2ff path/filepath.walk(0x7ffeac7767c9, 0x37, 0xb89740, 0xc000236dd0, 0xc00018d548, 0x0, 0xc00018d248) /usr/local/go/src/path/filepath/path.go:384 +0x2ff path/filepath.Walk(0x7ffeac7767c9, 0x37, 0xc00018d548, 0x10, 0x0) /usr/local/go/src/path/filepath/path.go:406 +0xff _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand(0x7ffeac7767c9, 0x37, 0xffffffffffffffff, 0xbfb68fba0171df8d) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:265 +0x1a1 main.main() /home/ec2-user/environment/cluster2/tgnews.go:75 +0x72a goroutine 6 [syscall]: os/signal.signal_recv(0x0) /usr/local/go/src/runtime/sigqueue.go:147 +0x9c os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x22 created by os/signal.Notify.func1 /usr/local/go/src/os/signal/signal.go:127 +0x44 goroutine 8 [chan receive]: main.main.func1(0xc000073140, 0xbfb68fba0171df8d, 0x3c8f46, 0x1251a20) /home/ec2-user/environment/cluster2/tgnews.go:36 +0x41 created by main.main /home/ec2-user/environment/cluster2/tgnews.go:35 +0x176 goroutine 9 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0030bca00, 0xc000b732c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc000b733c0, 0xaa0599, 0x2, 0xc0027f0800, 0x172d, 0x2e, 0x254, 0xc0030bc9e0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a060, 0xc0027f0800, 0x172d, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000b73518, 0xc0019d7d00, 0x5d, 0xc000716780) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 10 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c28015220, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0019afae0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0019afad0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0023c1900, 0x2327, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001253650, 0x6f, 0xc0023c1900, 0x2327, 0xc0023c1900, 0x2327, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001253650, 0x6f, 0xc0023c1900, 0x2327, 0xaa0378, 0x1, 0xc0023c1900, 0x2327, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e4e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 11 [semacquire]: strings.genSplit(0xc000018f00, 0x23e4, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc005e66000, 0x34c, 0x34c) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc001a033c0, 0xaa0569, 0x2, 0xc0023bcf00, 0x23e4, 0x1, 0x34c, 0xc005af70c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a060, 0xc0023bcf00, 0x23e4, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001a03518, 0xc00146cd40, 0x2a, 0xc000d6aed0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e5a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 12 [runnable]: strings.genSplit(0xc003d10633, 0x17bd, 0xaa0378, 0x1, 0x0, 0x290, 0xc004bd7500, 0x291, 0x291) /usr/local/go/src/strings/strings.go:264 +0x133 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0018d93c0, 0xaa05c9, 0x2, 0xc0024a8000, 0x1df0, 0xf, 0x291, 0xc002b02d80) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a060, 0xc0024a8000, 0x1df0, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0018d9518, 0xc00146c8c0, 0x7d, 0xc000fefc00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 13 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc003f68a00, 0x1a44, 0xae4d68) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:71 +0x129 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc003f68a00, 0x1a44, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc003f68a00, 0x1a44, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc003f68a00, 0x1a44, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc003f68a00, 0x1a44, 0x0, 0x0, 0x1a44, 0xc003f68a00, 0x1a44) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc003f68a00, 0x1a44, 0x1a44, 0x2000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00048ef00, 0x4a, 0xc003f68a00, 0x1a44, 0xc003f68a00, 0x1a44, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00048ef00, 0x4a, 0xc003f68a00, 0x1a44, 0xaa0378, 0x1, 0xc003f68a00, 0x1a44, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 14 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88001fa0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d69400, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d693f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0011ce000, 0x1e54, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00049e000, 0x55, 0xc0011ce000, 0x1e54, 0xc0011ce000, 0x1e54, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00049e000, 0x55, 0xc0011ce000, 0x1e54, 0xaa0378, 0x1, 0xc0011ce000, 0x1e54, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e7e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 15 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c40013d50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00174c320, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00174c310, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001734000, 0x1c05, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b26c0, 0x85, 0xc001734000, 0x1c05, 0xc001734000, 0x1c05, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b26c0, 0x85, 0xc001734000, 0x1c05, 0xaa0378, 0x1, 0xc001734000, 0x1c05, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e8a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 16 [semacquire]: bytes.makeSlice(0x6e5, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0004ab290, 0x189, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0004ab290, 0xc000490000, 0x189, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0004ab290, 0xc000490000, 0x189, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0004ab290, 0xc000b7c690, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc0004ab290, 0xc000b7c150, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0004ab290, 0xc000b7c0e0, 0xb84d20, 0xc0004ab290) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0004ab290, 0xc000b7c0e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0000aeae0, 0x50d201, 0xc0004b00a0, 0x8a, 0x3f) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc000f0d518, 0xc0000be620, 0xc00367fc60) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 18 [runnable]: github.com/gigawattio/window.Rolling(0xc0041f6000, 0x375, 0x375, 0x3, 0x0, 0x374, 0xc0041f6000) /home/develop/go/src/github.com/gigawattio/window/rolling.go:15 +0x140 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc000b77518, 0xc0005f6fe0, 0xc001752440) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:329 +0x8ed github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ea20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 19 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001e4d120, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001e4d100, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0018cb300, 0x1906, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0001784fb, 0x77, 0xc0018cb300, 0x1906, 0xc0018cb300, 0x1906, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0001784fb, 0x77, 0xc0018cb300, 0x1906, 0xaa0378, 0x1, 0xc0018cb300, 0x1906, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007eae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 20 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b801922c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00315bd40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00315bd20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00080e000, 0x1fc6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003348400, 0x7c, 0xc00080e000, 0x1fc6, 0xc00080e000, 0x1fc6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003348400, 0x7c, 0xc00080e000, 0x1fc6, 0xaa0378, 0x1, 0xc00080e000, 0x1fc6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007eba0, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 21 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88081000, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020f3300, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020f32f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001673000, 0xb07, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb431a, 0x65, 0xc001673000, 0xb07, 0xc001673000, 0xb07, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb431a, 0x65, 0xc001673000, 0xb07, 0xaa0378, 0x1, 0xc001673000, 0xb07, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ec60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 22 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c800134a0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000e83420, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000e83410, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003be0480, 0x470, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d6c3c0, 0x95, 0xc003be0480, 0x470, 0xc003be0480, 0x470, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d6c3c0, 0x95, 0xc003be0480, 0x470, 0xaa0378, 0x1, 0xc003be0480, 0x470, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ed20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 23 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c78001620, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020d4140, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020d4130, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000fdf200, 0x596, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010d40a0, 0x98, 0xc000fdf200, 0x596, 0xc000fdf200, 0x596, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010d40a0, 0x98, 0xc000fdf200, 0x596, 0xaa0378, 0x1, 0xc000fdf200, 0x596, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ede0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 24 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003447588, 0xaa058b, 0x2, 0xc003919c20, 0x8d, 0x7, 0xc003447290, 0x42d308) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x5, 0xc005b873e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:635 +0x82 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc005e84de0, 0xc003447320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc003447518, 0xc00321fbf0, 0xc0030bccc0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc003447518, 0xc00321fbf0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc003447518, 0xc00321fbf0, 0xc00321fbf0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007eea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 25 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be86a9340, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00147d000, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00147cfe0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001afa700, 0x61a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001253420, 0x62, 0xc001afa700, 0x61a, 0xc001afa700, 0x61a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001253420, 0x62, 0xc001afa700, 0x61a, 0xaa0378, 0x1, 0xc001afa700, 0x61a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ef60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 26 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0027e28d0, 0xaa03ab, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc00298f518, 0xc0027e28d0, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:566 +0x95 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00298f518, 0xc0016bc140, 0x2a) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:386 +0x1ae github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 27 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c4800b7b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001280070, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001280060, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00249e000, 0x596, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014f0a20, 0x66, 0xc00249e000, 0x596, 0xc00249e000, 0x596, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014f0a20, 0x66, 0xc00249e000, 0x596, 0xaa0378, 0x1, 0xc00249e000, 0x596, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f0e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 28 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c70001c80, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00155d3c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00155d3b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0010dc000, 0xda7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3e000, 0x42, 0xc0010dc000, 0xda7, 0xc0010dc000, 0xda7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3e000, 0x42, 0xc0010dc000, 0xda7, 0xaa0378, 0x1, 0xc0010dc000, 0xda7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f1a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 29 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc001add500, 0x29a2, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc001add500, 0x29a2, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc001add500, 0x29a2, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc001add500, 0x29a2, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc001add500, 0x29a2, 0x0, 0x0, 0x29a2, 0xc001add500, 0x29a2) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc001add500, 0x29a2, 0x29a2, 0x3000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00056a070, 0x7b, 0xc001add500, 0x29a2, 0xc001add500, 0x29a2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00056a070, 0x7b, 0xc001add500, 0x29a2, 0xaa0378, 0x1, 0xc001add500, 0x29a2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 30 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88143130, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000fc9c40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000fc9ad0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001323700, 0x531, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00201a090, 0x7f, 0xc001323700, 0x531, 0xc001323700, 0x531, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00201a090, 0x7f, 0xc001323700, 0x531, 0xaa0378, 0x1, 0xc001323700, 0x531, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 31 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1ba80a8040, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0027fe240, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0027fe230, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00184f900, 0x108b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b1a80, 0x5e, 0xc00184f900, 0x108b, 0xc00184f900, 0x108b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b1a80, 0x5e, 0xc00184f900, 0x108b, 0xaa0378, 0x1, 0xc00184f900, 0x108b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f3e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 32 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb0170530, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00174c1e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00174c1c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0013f3900, 0x10b1, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00158c380, 0x7e, 0xc0013f3900, 0x10b1, 0xc0013f3900, 0x10b1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00158c380, 0x7e, 0xc0013f3900, 0x10b1, 0xaa0378, 0x1, 0xc0013f3900, 0x10b1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f4a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 34 [semacquire]: github.com/fatih/set.(*Set).Add(0xc00627dfe0, 0xc004edd2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004edd3c0, 0xaa04f9, 0x2, 0xc002e1db00, 0x859, 0x1, 0xeb, 0xc005c5e6c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a060, 0xc002e1db00, 0x859, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc004edd518, 0xc0001d41a0, 0x53, 0xc000716c00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 35 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc00684e002, 0x16ba, 0xc005845248, 0x79bc18) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc00684e002, 0x16ba, 0x0, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc001757518, 0xc0034329e0, 0xc0030bc660) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:297 +0x11e github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f6e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 36 [semacquire]: github.com/gigawattio/window.Rolling(0xc002368000, 0x3f4, 0x3f4, 0x3, 0x0, 0x3f3, 0xc002368000) /home/develop/go/src/github.com/gigawattio/window/rolling.go:15 +0x140 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00176d518, 0xc003433080, 0xc00042c160) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:329 +0x8ed github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f7a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 50 [select]: github.com/patrickmn/go-cache.(*janitor).Run(0xc00038e000, 0xc00038c000) /home/develop/go/src/github.com/patrickmn/go-cache/cache.go:1079 +0xd5 created by github.com/patrickmn/go-cache.runJanitor /home/develop/go/src/github.com/patrickmn/go-cache/cache.go:1099 +0xa9 goroutine 37 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b8c0041b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002b591f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002b591e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002847800, 0x6e5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb4000, 0x6f, 0xc002847800, 0x6e5, 0xc002847800, 0x6e5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb4000, 0x6f, 0xc002847800, 0x6e5, 0xaa0378, 0x1, 0xc002847800, 0x6e5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 38 [semacquire]: bytes.makeSlice(0x83e, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0060390c0, 0x2, 0x2) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0060390c0, 0xc006037e54, 0x2, 0x2, 0x83, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc0060390c0, 0xc0059f2a00, 0x1e6, 0xc0059f2800, 0x1e4) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:440 +0xf7 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0060390c0, 0xc0008dd030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:233 +0x452 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0060390c0, 0xc0008dd030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060390c0, 0xc0008dcf50, 0x1, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0060390c0, 0xc0008dcf50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:189 +0xdfe github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0060390c0, 0xc0008dcf50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060390c0, 0xc0008dc700, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0004090c0, 0xc0008dc700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0004090c0, 0xc0008dc700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060390c0, 0xc0008dc620, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0004090c0, 0xc0008dc620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0004090c0, 0xc0008dc620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060390c0, 0xc00205cee0, 0xc0027fa380, 0x7f1cb42a3560) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0004090c0, 0xc00205cee0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0004090c0, 0xc00205cee0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060390c0, 0xc00205ce00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0004090c0, 0xc00205ce00, 0x54b170, 0xc002ccea90) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc00205ce00, 0x0, 0x0, 0x0, 0x0, 0xc00205ce00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc004593f50, 0x0, 0x0, 0x0, 0x1000, 0xc005c38000, 0xf92, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005c38000, 0xf92, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc0030cc3c0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc000409518, 0xc00230c960, 0xc000c1bd20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 39 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc002776420, 0xc00111e3f0, 0xc001fec500) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc001593518, 0xc000e0e420, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:384 +0x144 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f9e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 40 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0037493a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003749390, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001b54c00, 0x582, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001646b80, 0x79, 0xc001b54c00, 0x582, 0xc001b54c00, 0x582, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001646b80, 0x79, 0xc001b54c00, 0x582, 0xaa0378, 0x1, 0xc001b54c00, 0x582, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007faa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 41 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88011c00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003c30520, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003c30510, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001274800, 0xbcc, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fee680, 0x74, 0xc001274800, 0xbcc, 0xc001274800, 0xbcc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fee680, 0x74, 0xc001274800, 0xbcc, 0xaa0378, 0x1, 0xc001274800, 0xbcc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fb60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 42 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be4e1d880, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001daf2f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001daf2e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003508f00, 0x494, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001646039, 0x39, 0xc003508f00, 0x494, 0xc003508f00, 0x494, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001646039, 0x39, 0xc003508f00, 0x494, 0xaa0378, 0x1, 0xc003508f00, 0x494, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fc20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 43 [semacquire]: bytes.makeSlice(0x82, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc005f5d0c0, 0x2, 0x2) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc005f5d0c0, 0xc005f5c1bc, 0x2, 0x2, 0x42, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc005f5d0c0, 0xc000c53c00, 0xdf, 0x7, 0xc000c53c00) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:440 +0xf7 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005f5d0c0, 0xc00081d180, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:176 +0xb28 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005f5d0c0, 0xc00081d180, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f5d0c0, 0xc00081d0a0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00167d0c0, 0xc00081d0a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00167d0c0, 0xc00081d0a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f5d0c0, 0xc00081cfc0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00167d0c0, 0xc00081cfc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00167d0c0, 0xc00081cfc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f5d0c0, 0xc00081c8c0, 0xc00167cd40, 0x46a81e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00167d0c0, 0xc00081c8c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00167d0c0, 0xc00081c8c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f5d0c0, 0xc00081c7e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00167d0c0, 0xc00081c7e0, 0x54b170, 0xc001c4fba0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc00081c7e0, 0x0, 0x0, 0x0, 0x0, 0xc00081c7e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00038ab70, 0x0, 0x0, 0x0, 0xc00, 0xc00511c800, 0xa84, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc00511c800, 0xa84, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2d01535c00000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00167d518, 0xc002ec21a0, 0xc00367e8c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 44 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc001d93600, 0xd4d, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc001d93600, 0xd4d, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc001d93600, 0xd4d, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc001d93600, 0xd4d, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc001d93600, 0xd4d, 0x0, 0x0, 0xd4d, 0xc001d93600, 0xd4d) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc001d93600, 0xd4d, 0xd4d, 0xd80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003053920, 0x58, 0xc001d93600, 0xd4d, 0xc001d93600, 0xd4d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003053920, 0x58, 0xc001d93600, 0xd4d, 0xaa0378, 0x1, 0xc001d93600, 0xd4d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fda0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 45 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be0001170, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000630520, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000630510, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00184e600, 0x1094, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00130acf0, 0x86, 0xc00184e600, 0x1094, 0xc00184e600, 0x1094, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00130acf0, 0x86, 0xc00184e600, 0x1094, 0xaa0378, 0x1, 0xc00184e600, 0x1094, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fe60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 46 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880011e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00394fd40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00394fd30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00189f200, 0xc7a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001140000, 0x88, 0xc00189f200, 0xc7a, 0xc00189f200, 0xc7a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001140000, 0x88, 0xc00189f200, 0xc7a, 0xaa0378, 0x1, 0xc00189f200, 0xc7a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ff20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 47 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc000cd9300, 0x0, 0xb856e0, 0xc000c1ab08, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x67e github.com/andybalholm/cascadia.(*parser).parseSelector(0xc000cd9300, 0xc0001ba930, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc000cd9300, 0x42ca96, 0xc003582510, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc000cd9370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc0016bc280, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc002ee63f0, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc000cd9518, 0xc00230cca0, 0xabc101, 0x1d, 0x87, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 48 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8807a6d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0019b0110, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0019b0100, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003303000, 0x1594, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0015e2640, 0x98, 0xc003303000, 0x1594, 0xc003303000, 0x1594, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0015e2640, 0x98, 0xc003303000, 0x1594, 0xaa0378, 0x1, 0xc003303000, 0x1594, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e0c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 49 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 66 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880130b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c32dc0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c32da0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001751000, 0xd99, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001aa4000, 0xab, 0xc001751000, 0xd99, 0xc001751000, 0xd99, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001aa4000, 0xab, 0xc001751000, 0xd99, 0xaa0378, 0x1, 0xc001751000, 0xd99, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 67 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8801c690, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002c2bfb0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002c2bfa0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002b09b00, 0x833, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d44900, 0x85, 0xc002b09b00, 0x833, 0xc002b09b00, 0x833, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d44900, 0x85, 0xc002b09b00, 0x833, 0xaa0378, 0x1, 0xc002b09b00, 0x833, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 68 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003467330, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003467320, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002e0eb00, 0x55b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001244630, 0xaf, 0xc002e0eb00, 0x55b, 0xc002e0eb00, 0x55b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001244630, 0xaf, 0xc002e0eb00, 0x55b, 0xaa0378, 0x1, 0xc002e0eb00, 0x55b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e3c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 69 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00469b588, 0xaa058b, 0x2, 0xc002827800, 0x621, 0x6, 0x27, 0xc002c4ca80) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00469b518, 0xc001e2d2e0, 0x2e) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e480, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 70 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e540, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 71 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882b29c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001a1a120, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001a1a110, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00057b000, 0xe19, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fa4000, 0x99, 0xc00057b000, 0xe19, 0xc00057b000, 0xe19, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fa4000, 0x99, 0xc00057b000, 0xe19, 0xaa0378, 0x1, 0xc00057b000, 0xe19, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e600, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 72 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b701866b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001f359c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001f359a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00223e700, 0x659, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00033e060, 0x54, 0xc00223e700, 0x659, 0xc00223e700, 0x659, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00033e060, 0x54, 0xc00223e700, 0x659, 0xaa0378, 0x1, 0xc00223e700, 0x659, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e6c0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 73 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc002e77900, 0x100e, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x2e6 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc002e77900, 0x100e, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc002e77900, 0x100e, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc002e77900, 0x100e, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc002e77900, 0x100e, 0x0, 0x0, 0x100e, 0xc002e77900, 0x100e) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc002e77900, 0x100e, 0x100e, 0x1500) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00162c000, 0xa2, 0xc002e77900, 0x100e, 0xc002e77900, 0x100e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00162c000, 0xa2, 0xc002e77900, 0x100e, 0xaa0378, 0x1, 0xc002e77900, 0x100e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e780, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 74 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88007cb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0037494b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0037494a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000480e00, 0x639, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003584660, 0x56, 0xc000480e00, 0x639, 0xc000480e00, 0x639, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003584660, 0x56, 0xc000480e00, 0x639, 0xaa0378, 0x1, 0xc000480e00, 0x639, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e840, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 75 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88003860, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002a8e8e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002a8e8d6, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00289b200, 0x872, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000027980, 0x71, 0xc00289b200, 0x872, 0xc00289b200, 0x872, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000027980, 0x71, 0xc00289b200, 0x872, 0xaa0378, 0x1, 0xc00289b200, 0x872, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033e900, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 77 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc000fc1000, 0xf40, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:87 +0x379 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc000fc1000, 0xf40, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc000fc1000, 0xf40, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc000fc1000, 0xf40, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc000fc1000, 0xf40, 0x0, 0x0, 0xf40, 0xc000fc1000, 0xf40) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc000fc1000, 0xf40, 0xf40, 0x1300) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00036c2a0, 0x67, 0xc000fc1000, 0xf40, 0xc000fc1000, 0xf40, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00036c2a0, 0x67, 0xc000fc1000, 0xf40, 0xaa0378, 0x1, 0xc000fc1000, 0xf40, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033ea80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 78 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88002c00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003588010, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003588004, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001d77c00, 0xb37, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00180e320, 0x92, 0xc001d77c00, 0xb37, 0xc001d77c00, 0xb37, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00180e320, 0x92, 0xc001d77c00, 0xb37, 0xaa0378, 0x1, 0xc001d77c00, 0xb37, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033eb40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 79 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88006880, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0024420c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0024420b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001fda000, 0x72d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00130a120, 0x8c, 0xc001fda000, 0x72d, 0xc001fda000, 0x72d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00130a120, 0x8c, 0xc001fda000, 0x72d, 0xaa0378, 0x1, 0xc001fda000, 0x72d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033ec00, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 80 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc001dbfec0, 0xc001f6fce0, 0xc001e87210) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc001e87518, 0xc001dbfec0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:527 +0xc5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc001e87518, 0xc00000e9e0, 0x2e) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033ecc0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 81 [semacquire]: strings.genSplit(0xc0047f1500, 0x1428, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc005f92000, 0x30b, 0x30b) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00018b3c0, 0xaa04df, 0x2, 0xc005318a00, 0x1428, 0x9, 0x30b, 0xc005dd6ee0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235650, 0xc005318a00, 0x1428, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00018b518, 0xc005af6b80, 0x92, 0xc000d6d9d0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033ed80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 82 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c604ba2d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc004529a20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc004529a10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0013d8000, 0x8be, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b2510, 0x89, 0xc0013d8000, 0x8be, 0xc0013d8000, 0x8be, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b2510, 0x89, 0xc0013d8000, 0x8be, 0xaa0378, 0x1, 0xc0013d8000, 0x8be, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033ee40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 83 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc00541e000, 0x17ce, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc00541e000, 0x17ce, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc00541e000, 0x17ce, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc00541e000, 0x17ce, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc00541e000, 0x17ce, 0x0, 0x0, 0x17ce, 0xc00541e000, 0x17ce) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc00541e000, 0x17ce, 0x17ce, 0x1a80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011f4510, 0x87, 0xc00541e000, 0x17ce, 0xc00541e000, 0x17ce, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011f4510, 0x87, 0xc00541e000, 0x17ce, 0xaa0378, 0x1, 0xc00541e000, 0x17ce, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033ef00, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 84 [semacquire]: strings.genSplit(0xc00675c000, 0x91c, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0x108, 0x108) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005c573c0, 0xaa0599, 0x2, 0xc002854000, 0x91c, 0x19, 0x108, 0xc0000bf8a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235650, 0xc002854000, 0x91c, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005c57518, 0xc0005f7380, 0x83, 0xc0040e27e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033efc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 85 [runnable]: bytes.makeSlice.func1() /usr/local/go/src/bytes/buffer.go:224 +0x68 bytes.makeSlice(0xb62c, 0xc006f1a000, 0xb62c, 0xb62c) /usr/local/go/src/bytes/buffer.go:229 +0x96 bytes.(*Buffer).grow(0xc0013b7388, 0x1aa, 0x1) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0013b7388, 0xc002bd76c0, 0x1aa, 0x5165d7, 0xc006d0b8d8, 0xc0023aca58) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc005e05d50) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc005e05ce0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0039c6000) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0033ea690) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001f49f80) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc001ec8630, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0013b7518, 0xc003924820, 0xfd, 0xc002503219) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 86 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c54115550, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0038fa680, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0038fa640, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000bdd400, 0x4f2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004be2a0, 0x5c, 0xc000bdd400, 0x4f2, 0xc000bdd400, 0x4f2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004be2a0, 0x5c, 0xc000bdd400, 0x4f2, 0xaa0378, 0x1, 0xc000bdd400, 0x4f2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 87 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8829b9e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b5ea80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b5ea70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0015ae900, 0x886, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb6240, 0x3d, 0xc0015ae900, 0x886, 0xc0015ae900, 0x886, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb6240, 0x3d, 0xc0015ae900, 0x886, 0xaa0378, 0x1, 0xc0015ae900, 0x886, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 88 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c10000eb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001739ea0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001739e90, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00327b300, 0x1841, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4e000, 0x64, 0xc00327b300, 0x1841, 0xc00327b300, 0x1841, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4e000, 0x64, 0xc00327b300, 0x1841, 0xaa0378, 0x1, 0xc00327b300, 0x1841, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f2c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 89 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88f7a4f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00174df00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00174def0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002132c00, 0x1189, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010b8580, 0xac, 0xc002132c00, 0x1189, 0xc002132c00, 0x1189, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010b8580, 0xac, 0xc002132c00, 0x1189, 0xaa0378, 0x1, 0xc002132c00, 0x1189, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 90 [semacquire]: github.com/fatih/set.(*Set).Add(0xc003924340, 0xc00181b2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00181b3c0, 0xaa04d9, 0x2, 0xc0035cb000, 0x3723, 0xc0035cb000, 0xc00181b3b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a060, 0xc0035cb000, 0x3723, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00181b518, 0xc0019d6500, 0x9e, 0xc000fa41e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 91 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0054b7800, 0x25bf, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0054b7800, 0x25bf, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0054b7800, 0x25bf, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0054b7800, 0x25bf, 0x0, 0x0, 0x25bf, 0xc0054b7800, 0x25bf) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0054b7800, 0x25bf, 0x25bf, 0x2600) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d481a0, 0xc8, 0xc0054b7800, 0x25bf, 0xc0054b7800, 0x25bf, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d481a0, 0xc8, 0xc0054b7800, 0x25bf, 0xaa0378, 0x1, 0xc0054b7800, 0x25bf, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 92 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00372b588, 0xaa058b, 0x2, 0xc0063a0000, 0x2ce1, 0x0, 0x1, 0xc0062bf6a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00372b518, 0xc002c4d5c0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f5c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 93 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c4812c6b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0019c6e50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0019c6e40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002730600, 0x5cf, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0015e2820, 0x97, 0xc002730600, 0x5cf, 0xc002730600, 0x5cf, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0015e2820, 0x97, 0xc002730600, 0x5cf, 0xaa0378, 0x1, 0xc002730600, 0x5cf, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 94 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88001a20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00041d660, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00041d650, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001af3000, 0x78a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c73320, 0x87, 0xc001af3000, 0x78a, 0xc001af3000, 0x78a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c73320, 0x87, 0xc001af3000, 0x78a, 0xaa0378, 0x1, 0xc001af3000, 0x78a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 96 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be853c9d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00155c1d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00155c1c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004307800, 0x2617, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000ee6aa0, 0x4a, 0xc004307800, 0x2617, 0xc004307800, 0x2617, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000ee6aa0, 0x4a, 0xc004307800, 0x2617, 0xaa0378, 0x1, 0xc004307800, 0x2617, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f8c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 97 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc0067be000, 0x993, 0xa80, 0xc0067be000) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc0067be000, 0x993, 0x9ea, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa3a2a, 0x4, 0xc001e2aa80, 0x9ea, 0x0, 0x0, 0x10, 0xab52f4) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xe1 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:304 +0x33a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 98 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb01c2620, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001a1a480, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001a1a470, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000588000, 0x8a6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011402d0, 0x8f, 0xc000588000, 0x8a6, 0xc000588000, 0x8a6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011402d0, 0x8f, 0xc000588000, 0x8a6, 0xaa0378, 0x1, 0xc000588000, 0x8a6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033fa40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 99 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd4182b10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001894950, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001894940, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002494d80, 0xc82, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010d4820, 0x92, 0xc002494d80, 0xc82, 0xc002494d80, 0xc82, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010d4820, 0x92, 0xc002494d80, 0xc82, 0xaa0378, 0x1, 0xc002494d80, 0xc82, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033fb00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 100 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c34105380, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000db99d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000db99c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003ca7200, 0x8fc, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00359e000, 0x54, 0xc003ca7200, 0x8fc, 0xc003ca7200, 0x8fc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00359e000, 0x54, 0xc003ca7200, 0x8fc, 0xaa0378, 0x1, 0xc003ca7200, 0x8fc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033fbc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 101 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc001700000, 0x1005, 0xae4d68) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:87 +0x379 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc001700000, 0x1005, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc001700000, 0x1005, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc001700000, 0x1005, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc001700000, 0x1005, 0x0, 0x0, 0x1005, 0xc001700000, 0x1005) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc001700000, 0x1005, 0x1005, 0x1300) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b3c20, 0x83, 0xc001700000, 0x1005, 0xc001700000, 0x1005, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b3c20, 0x83, 0xc001700000, 0x1005, 0xaa0378, 0x1, 0xc001700000, 0x1005, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033fc80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 102 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c100ad150, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0019c6ba0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0019c6b90, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00159f080, 0x54f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fef180, 0x80, 0xc00159f080, 0x54f, 0xc00159f080, 0x54f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fef180, 0x80, 0xc00159f080, 0x54f, 0xaa0378, 0x1, 0xc00159f080, 0x54f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033fd40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 103 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880127f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002a8fc50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002a8fc40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000d91100, 0xcf4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b0140, 0x9b, 0xc000d91100, 0xcf4, 0xc000d91100, 0xcf4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b0140, 0x9b, 0xc000d91100, 0xcf4, 0xaa0378, 0x1, 0xc000d91100, 0xcf4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033fe00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 104 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c50109db0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0028e2890, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0028e2880, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0027ded00, 0x8cb, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb8aa2, 0x44, 0xc0027ded00, 0x8cb, 0xc0027ded00, 0x8cb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb8aa2, 0x44, 0xc0027ded00, 0x8cb, 0xaa0378, 0x1, 0xc0027ded00, 0x8cb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033fec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 106 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002ec3500, 0xc0005e5950, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x2a8 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 107 [semacquire]: strings.genSplit(0xc0015c1900, 0x4f7, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x9db, 0xc0015c0000, 0x4f7) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003443588, 0xaa058b, 0x2, 0xc0015c0000, 0x4f7, 0x0, 0xc0034433d8, 0xc0062bf748) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc003443518, 0xc005ccba40, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:528 +0xfd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc003443518, 0xc001562ca0, 0x3e) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360120, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 108 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003601e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 109 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c2c254c70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003fa8f90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003fa8f80, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00155f600, 0x299, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001200240, 0xb8, 0xc00155f600, 0x299, 0xc00155f600, 0x299, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001200240, 0xb8, 0xc00155f600, 0x299, 0xaa0378, 0x1, 0xc00155f600, 0x299, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003602a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 110 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fafa0, 0x0, 0x0, 0x0, 0xc004a44a02, 0x132e, 0x2, 0xc002075a58, 0xaa3a2a, 0x4, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0001fafa0, 0xc004a44a02, 0x132e, 0x0, 0x0, 0xc000235650, 0x127d7a0) /usr/local/go/src/regexp/regexp.go:557 +0x10a _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa3a2a, 0x4, 0xc004a44a02, 0x132e, 0x0, 0x0, 0x10, 0xab52f4) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:304 +0x33a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 111 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0040602e0, 0xc0005e9950, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x2a8 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 112 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bac1f61d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00359a320, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00359a310, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003ca7b00, 0x8a0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00201a000, 0x8e, 0xc003ca7b00, 0x8a0, 0xc003ca7b00, 0x8a0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00201a000, 0x8e, 0xc003ca7b00, 0x8a0, 0xaa0378, 0x1, 0xc003ca7b00, 0x8a0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003604e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 113 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc002892d00, 0x825, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:153 +0x1f1 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc002892d00, 0x825, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc002892d00, 0x825, 0x0, 0x0, 0x825, 0xc002892d00, 0x825) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc002892d00, 0x825, 0x825, 0xc00) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b3cb0, 0x8e, 0xc002892d00, 0x825, 0xc002892d00, 0x825, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b3cb0, 0x8e, 0xc002892d00, 0x825, 0xaa0378, 0x1, 0xc002892d00, 0x825, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003605a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 115 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c781d7ac0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0017d7960, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0017d7950, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00457e000, 0xfc5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001167780, 0x74, 0xc00457e000, 0xfc5, 0xc00457e000, 0xfc5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001167780, 0x74, 0xc00457e000, 0xfc5, 0xaa0378, 0x1, 0xc00457e000, 0xfc5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 116 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88003180, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003171740, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003171720, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002028000, 0x993, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0028403c0, 0xb6, 0xc002028000, 0x993, 0xc002028000, 0x993, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0028403c0, 0xb6, 0xc002028000, 0x993, 0xaa0378, 0x1, 0xc002028000, 0x993, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003607e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 118 [semacquire]: strings.Replace(0xc00194c000, 0x32cb, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x14, 0xc00194c000, 0x32cb) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0021698f8, 0xc000cc9500, 0x32c7, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 119 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c58200490, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002aa6820, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002aa6800, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003284800, 0x15b2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001d9671b, 0x58, 0xc003284800, 0x15b2, 0xc003284800, 0x15b2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001d9671b, 0x58, 0xc003284800, 0x15b2, 0xaa0378, 0x1, 0xc003284800, 0x15b2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360a20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 120 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be0009d10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000db85b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000db85a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000d16000, 0x1c3d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00180eaa0, 0x9e, 0xc000d16000, 0x1c3d, 0xc000d16000, 0x1c3d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00180eaa0, 0x9e, 0xc000d16000, 0x1c3d, 0xaa0378, 0x1, 0xc000d16000, 0x1c3d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360ae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 121 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc0008db520, 0x1189d00, 0x1) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc0008db520, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0008db520) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0008db520, 0xc0001c7ce0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00230dbc0, 0x0, 0x0, 0x0, 0xc000cd3200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00230dbc0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc000cd38f8, 0xc00131b300, 0x122b, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360ba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 122 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c207ff340, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c5dd20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c5dd10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002e61800, 0x164f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0000a0060, 0x51, 0xc002e61800, 0x164f, 0xc002e61800, 0x164f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0000a0060, 0x51, 0xc002e61800, 0x164f, 0xaa0378, 0x1, 0xc002e61800, 0x164f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360c60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 123 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc000e8e000, 0x1fb7, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc000e8e000, 0x1fb7, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc000e8e000, 0x1fb7, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc000e8e000, 0x1fb7, 0x0, 0x0, 0x1fb7, 0xc000e8e000, 0x1fb7) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc000e8e000, 0x1fb7, 0x1fb7, 0x2600) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b033d, 0x80, 0xc000e8e000, 0x1fb7, 0xc000e8e000, 0x1fb7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b033d, 0x80, 0xc000e8e000, 0x1fb7, 0xaa0378, 0x1, 0xc000e8e000, 0x1fb7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360d20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 124 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc003ab6000, 0x39a4, 0xc003d1f218, 0xc002fdce00) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc003ab6000, 0x39a4, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003d1f3c0, 0xaa05c9, 0x2, 0xc003ab6000, 0x39a4, 0x1, 0x5ac, 0xc0020d70c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc003ab6000, 0x39a4, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003d1f518, 0xc0039246e0, 0x83, 0xc004373ef0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360de0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 125 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c24418be0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d69450, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d69440, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00155a000, 0xfb1, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00126e3c0, 0xba, 0xc00155a000, 0xfb1, 0xc00155a000, 0xfb1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00126e3c0, 0xba, 0xc00155a000, 0xfb1, 0xaa0378, 0x1, 0xc00155a000, 0xfb1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360ea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 126 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inBodyIM(0xc0044d7d40, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:901 +0x820 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0044d7d40) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0044d7d40, 0xc00242a2a0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc001af4aa0, 0x0, 0x0, 0x0, 0xc003be9200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc001af4aa0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003be98f8, 0xc001cb6c00, 0x125f, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360f60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 127 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc0048d2600, 0x5b9, 0xc000795218, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc0048d2600, 0x5b9, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0007953c0, 0xaa0503, 0x2, 0xc0048d2600, 0x5b9, 0x1, 0xaf, 0xc0016bd680) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc0048d2600, 0x5b9, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000795518, 0xc00039acc0, 0x49, 0xc00048f450) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 128 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b70cfb520, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0017d6090, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0017d6080, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc005125800, 0xac1, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00387f8f0, 0x6b, 0xc005125800, 0xac1, 0xc005125800, 0xac1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00387f8f0, 0x6b, 0xc005125800, 0xac1, 0xaa0378, 0x1, 0xc005125800, 0xac1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003610e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 129 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88012270, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0021bc790, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0021bc780, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003e8c000, 0x97e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb5b20, 0x6e, 0xc003e8c000, 0x97e, 0xc003e8c000, 0x97e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb5b20, 0x6e, 0xc003e8c000, 0x97e, 0xaa0378, 0x1, 0xc003e8c000, 0x97e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003611a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 130 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88ab1320, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0039d6110, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0039d6100, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004505900, 0x4ce, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002a8cf00, 0x98, 0xc004505900, 0x4ce, 0xc004505900, 0x4ce, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002a8cf00, 0x98, 0xc004505900, 0x4ce, 0xaa0378, 0x1, 0xc004505900, 0x4ce, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 131 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c7c2908b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018db9b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018db9a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002cda800, 0x789, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0016820f0, 0x47, 0xc002cda800, 0x789, 0xc002cda800, 0x789, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0016820f0, 0x47, 0xc002cda800, 0x789, 0xaa0378, 0x1, 0xc002cda800, 0x789, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 132 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb061fb40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0016290e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0016290d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003922400, 0x8d1, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c72b40, 0x59, 0xc003922400, 0x8d1, 0xc003922400, 0x8d1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c72b40, 0x59, 0xc003922400, 0x8d1, 0xaa0378, 0x1, 0xc003922400, 0x8d1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003613e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 133 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c7c247890, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003940420, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003940400, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000487800, 0x6da, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00049e19e, 0x34, 0xc000487800, 0x6da, 0xc000487800, 0x6da, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00049e19e, 0x34, 0xc000487800, 0x6da, 0xaa0378, 0x1, 0xc000487800, 0x6da, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003614a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 134 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 135 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88038bb0, 0x7f1bb855e5b0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002b58090, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002b58080, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002d82000, 0x93b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4a9a0, 0x63, 0xc002d82000, 0x93b, 0xc002d82000, 0x93b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4a9a0, 0x63, 0xc002d82000, 0x93b, 0xaa0378, 0x1, 0xc002d82000, 0x93b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 136 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b802444e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002aa6900, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002aa68e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002afe000, 0xa4f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00049e780, 0x58, 0xc002afe000, 0xa4f, 0xc002afe000, 0xa4f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00049e780, 0x58, 0xc002afe000, 0xa4f, 0xaa0378, 0x1, 0xc002afe000, 0xa4f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003616e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 137 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c200165d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0039af540, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0039af530, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003893500, 0x944, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00036c0e0, 0x3f, 0xc003893500, 0x944, 0xc003893500, 0x944, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00036c0e0, 0x3f, 0xc003893500, 0x944, 0xaa0378, 0x1, 0xc003893500, 0x944, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003617a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 138 [semacquire]: github.com/PuerkitoBio/goquery.pushStack(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/utilities.go:159 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00111f290, 0xab6b38, 0x13, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0xb3 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCanonicalLink(0xc001013518, 0xc00042ce40, 0xaba6c1, 0x1a) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:239 +0x47 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:135 +0x446 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 139 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88019ed0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001628060, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001628050, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001340680, 0x56f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00002a730, 0x4d, 0xc001340680, 0x56f, 0xc001340680, 0x56f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00002a730, 0x4d, 0xc001340680, 0x56f, 0xaa0378, 0x1, 0xc001340680, 0x56f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 140 [semacquire]: strings.Replace(0xc004043500, 0x9f7, 0xaa04bd, 0x2, 0xaa03a3, 0x1, 0x1, 0xb7b900, 0xc00005e060) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/jaytaylor/html2text.FromHTMLNode(0xc00393ddc0, 0x0, 0x0, 0x0, 0x0, 0xc00393ddc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:81 +0x158 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002b60270, 0x0, 0x0, 0x0, 0x1000, 0xc003f36000, 0xee9, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc003f36000, 0xee9, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000d6a5d0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002f81518, 0xc000d80c20, 0xc0005f75e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003619e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 141 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361aa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 142 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361b60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 143 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c504fdc20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0045299a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc004529990, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004417400, 0xafd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0012522cd, 0x3a, 0xc004417400, 0xafd, 0xc004417400, 0xafd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0012522cd, 0x3a, 0xc004417400, 0xafd, 0xaa0378, 0x1, 0xc004417400, 0xafd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361c20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 144 [runnable]: github.com/fatih/set.(*Set).Add(0xc005c80820, 0xc00082d950, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x2a8 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 145 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc003879800, 0x1511, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc003879800, 0x1511, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc003879800, 0x1511, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc003879800, 0x1511, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc003879800, 0x1511, 0x0, 0x0, 0x1511, 0xc003879800, 0x1511) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc003879800, 0x1511, 0x1511, 0x1800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000cfe060, 0x29, 0xc003879800, 0x1511, 0xc003879800, 0x1511, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000cfe060, 0x29, 0xc003879800, 0x1511, 0xaa0378, 0x1, 0xc003879800, 0x1511, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361da0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 146 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc000f412e0, 0x432e00, 0xc000f41210, 0x89951e, 0x9) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:724 +0x716 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc000f412e0, 0xc000357b00, 0x5, 0xc000f41230, 0x46620f) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc000f412e0, 0xc000f412f8, 0x43b3b7, 0x1252790, 0xc000f41200, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xaa64ee, 0x5, 0x7f1c8c57d598, 0xc000f41301, 0x10100000042ab7a, 0x0, 0x10cd) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaa64ee, 0x5, 0x0, 0x0, 0xaa0301) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0030f7830, 0xaa64ee, 0x5, 0x12de) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).getTitleUnmodified(0xc000f41518, 0xc0020d7340, 0x10cd, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:57 +0x47 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:128 +0x282 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 147 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c541c4f50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003bf3670, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003bf3660, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0010da400, 0x817, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000916f00, 0x5e, 0xc0010da400, 0x817, 0xc0010da400, 0x817, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000916f00, 0x5e, 0xc0010da400, 0x817, 0xaa0378, 0x1, 0xc0010da400, 0x817, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361f20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 148 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c80e10a30, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00091bc40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00091bc30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002056c00, 0xb38, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001252380, 0x63, 0xc002056c00, 0xb38, 0xc002056c00, 0xb38, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001252380, 0x63, 0xc002056c00, 0xb38, 0xaa0378, 0x1, 0xc002056c00, 0xb38, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 149 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc40fef50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001e4cf60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001e4cf50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001624400, 0xb6f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014ec0e0, 0x69, 0xc001624400, 0xb6f, 0xc001624400, 0xb6f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014ec0e0, 0x69, 0xc001624400, 0xb6f, 0xaa0378, 0x1, 0xc001624400, 0xb6f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e0c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 150 [semacquire]: strings.Replace(0xc003e3b000, 0xe60, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x5, 0xc003e3b000, 0xe60) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00307d8f8, 0xc0013aa000, 0xe5e, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 151 [semacquire]: regexp/syntax.(*compiler).inst(...) /usr/local/go/src/regexp/syntax/compile.go:173 regexp/syntax.(*compiler).rune(0xc004f90b30, 0xc002c281d8, 0x1, 0xa, 0xd5, 0xe00000007) /usr/local/go/src/regexp/syntax/compile.go:267 +0x27c regexp/syntax.(*compiler).compile(0xc004f90b30, 0xc0047f44d0, 0x200000001) /usr/local/go/src/regexp/syntax/compile.go:110 +0x12c regexp/syntax.(*compiler).compile(0xc004f90b30, 0xc0047f4540, 0x0) /usr/local/go/src/regexp/syntax/compile.go:156 +0xb29 regexp/syntax.Compile(0xc0047f4540, 0xc0047f4540, 0x1, 0x1) /usr/local/go/src/regexp/syntax/compile.go:83 +0x10a regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:178 +0xd7 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc004f90ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc004f90ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc002d30dbc) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc004f90ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc004f90ff8, 0x1, 0xc0047b4760, 0xc010275f880, 0x2804b42a27d0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc004f90ff8, 0x4, 0x16, 0xc00332ef01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc00332e000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc0043a2410, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc004832690, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00263d8f8, 0xc0032fc000, 0xfe8, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 152 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fb5e0, 0x0, 0x0, 0x0, 0xc004c8f800, 0xaa6, 0x2, 0xc000d8ba58, 0xaa6444, 0x5, ...) /usr/local/go/src/regexp/regexp.go:642 +0x7ae regexp.(*Regexp).ReplaceAllString(0xc0001fb5e0, 0xc004c8f800, 0xaa6, 0xaa0378, 0x1, 0xc004c8ec00, 0xaa6) /usr/local/go/src/regexp/regexp.go:557 +0x10a _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa6444, 0x5, 0xc004c8f800, 0xaa6, 0xaa0378, 0x1, 0xc004c8f800, 0xaa6) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:305 +0x37c created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 153 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc00529d440, 0x15, 0x2, 0xc004039e68, 0xc00275f880, 0xc004039f08, ...) /usr/local/go/src/regexp/regexp.go:642 +0x7ae regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc00529d440, 0x15, 0xaa0378, 0x1, 0xc001d7dc80, 0x1) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00403b0c0, 0xc002622930, 0xc000156420, 0xc004039fa0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00403b0c0, 0xc0026228c0, 0xc000000001, 0x9) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00403b0c0, 0xc0026228c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00403b0c0, 0xc0026228c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00403b0c0, 0xc0026227e0, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00403b0c0, 0xc0026227e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00403b0c0, 0xc0026227e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00403b0c0, 0xc001871a40, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0034f50c0, 0xc001871a40, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0034f50c0, 0xc001871a40, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00403b0c0, 0xc001871960, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0034f50c0, 0xc001871960, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0034f50c0, 0xc001871960, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00403b0c0, 0xc001658f50, 0xc00437c380, 0x7f1cb42a49b8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0034f50c0, 0xc001658f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0034f50c0, 0xc001658f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00403b0c0, 0xc001658e70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0034f50c0, 0xc001658e70, 0x54b170, 0xc0000a7380) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc001658e70, 0x0, 0x0, 0x0, 0x0, 0xc001658e70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001db8b70, 0x0, 0x0, 0x0, 0x1000, 0xc00540d000, 0xe7d, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc00540d000, 0xe7d, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc0014ecc40) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0034f5518, 0xc00367fee0, 0xc0001d51a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e3c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 154 [semacquire]: strings.Replace(0xc003020000, 0xdfb, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x7, 0xc003020000, 0xdfb) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc002ac58f8, 0xc0012e2000, 0xdf8, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 155 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc002d190e0, 0x1cd, 0x2, 0xc005dc4198, 0xa, 0x2, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc002d190e0, 0x1cd, 0xaa0378, 0x1, 0x0, 0x0) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dc50c0, 0xc0035107e0, 0xc005dc41b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005dc50c0, 0xc003510770, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc005dc50c0, 0xc003510770, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005dc50c0, 0xc003510770, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dc50c0, 0xc003510770, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005dc50c0, 0xc003510150, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005dc50c0, 0xc003510150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dc50c0, 0xc003510150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005dc50c0, 0xc003510070, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005dc50c0, 0xc003510070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dc50c0, 0xc003510070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005dc50c0, 0xc0026b3490, 0xc001f8830c, 0x4) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005dc50c0, 0xc0026b3490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dc50c0, 0xc0026b3490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005dc50c0, 0xc0026b33b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dc50c0, 0xc0026b33b0, 0x54b170, 0xc000236dd0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0026b33b0, 0x0, 0x0, 0x0, 0x0, 0xc0026b33b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001f4ea50, 0x0, 0x0, 0x0, 0xa80, 0xc006904a80, 0xa6e, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc006904a80, 0xa6e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x995771cb00000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005dc5518, 0xc002ec3c80, 0xc00230c5a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 156 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001e67020, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001e67010, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0031e6600, 0x5bf, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d44360, 0x86, 0xc0031e6600, 0x5bf, 0xc0031e6600, 0x5bf, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d44360, 0x86, 0xc0031e6600, 0x5bf, 0xaa0378, 0x1, 0xc0031e6600, 0x5bf, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 157 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc0057ab0c0, 0xc00325cb40, 0x12c, 0x7, 0xc00325cb40) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:430 +0x233 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0057ab0c0, 0xc000fbb500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:176 +0xb28 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0057ab0c0, 0xc000fbb500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0057ab0c0, 0xc000fbb420, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0057ab0c0, 0xc000fbb420, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0057ab0c0, 0xc000fbb420, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0057ab0c0, 0xc000fbb340, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0057ab0c0, 0xc000fbb340, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0057ab0c0, 0xc000fbb340, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0057ab0c0, 0xc001001ce0, 0x7f1c8c3c5db0, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0057ab0c0, 0xc001001ce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0057ab0c0, 0xc001001ce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0057ab0c0, 0xc001001c00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0057ab0c0, 0xc001001c00, 0x54b170, 0xc002325520) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc001001c00, 0x0, 0x0, 0x0, 0x0, 0xc001001c00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002daef90, 0x0, 0x0, 0x0, 0x1000, 0xc001643000, 0xe00, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc001643000, 0xe00, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc00007e780) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0057ab518, 0xc00039a640, 0xc00039b2a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e6c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 159 [semacquire]: github.com/andybalholm/cascadia.Selector.matchAllInto(0xc001e2cd20, 0xc0022fdc00, 0xc001e2cd40, 0x4, 0x4, 0xc001e2cd40, 0x4, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:129 +0x11e github.com/andybalholm/cascadia.Selector.matchAllInto(0xc001e2cd20, 0xc0022fd7a0, 0x0, 0x0, 0x0, 0x4f4a7f4e48c7fd74, 0xc000ed7138, 0xc000ed71e0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:133 +0x9e github.com/andybalholm/cascadia.Selector.matchAllInto(0xc001e2cd20, 0xc0022fd730, 0x0, 0x0, 0x0, 0x10, 0x9ed160, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:133 +0x9e github.com/andybalholm/cascadia.Selector.MatchAll(0xc001e2cd20, 0xc0022fd730, 0xc000ed71d0, 0x747325, 0xc003f9e000) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:124 +0x46 github.com/PuerkitoBio/goquery.findWithMatcher.func1(0x0, 0xc0022fd650, 0x0, 0x8, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:547 +0x8e github.com/PuerkitoBio/goquery.mapNodes(0xc000011568, 0x1, 0x1, 0xc000ed7330, 0x1, 0x0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:693 +0xf6 github.com/PuerkitoBio/goquery.findWithMatcher(0xc000011568, 0x1, 0x1, 0xb856e0, 0xc001e2cd20, 0xc000ed73b0, 0x753f20, 0xaa3fc2) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:543 +0x81 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001ec9c50, 0xaa408e, 0x4, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x85 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000ed7518, 0xc002ec2ea0, 0x68, 0xc001160cb0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:126 +0x200 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 161 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88012690, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00189a0d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00189a0c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003783680, 0x41e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001006460, 0x94, 0xc003783680, 0x41e, 0xc003783680, 0x41e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001006460, 0x94, 0xc003783680, 0x41e, 0xaa0378, 0x1, 0xc003783680, 0x41e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e9c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 162 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b90003f20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020fa3a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020fa390, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001b70900, 0x453, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0030cc060, 0x5e, 0xc001b70900, 0x453, 0xc001b70900, 0x453, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0030cc060, 0x5e, 0xc001b70900, 0x453, 0xaa0378, 0x1, 0xc001b70900, 0x453, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ea80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 163 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000029b00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000029af0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00180b080, 0x51f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003072c00, 0x60, 0xc00180b080, 0x51f, 0xc00180b080, 0x51f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003072c00, 0x60, 0xc00180b080, 0x51f, 0xaa0378, 0x1, 0xc00180b080, 0x51f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037eb40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 164 [semacquire]: regexp/syntax.Parse(0xaa5b70, 0x5, 0xc0068c00d4, 0x7f1cb42a4201, 0x47f290, 0xc0067faef0) /usr/local/go/src/regexp/syntax/parse.go:712 +0x54 regexp.compile(0xaa5b70, 0x5, 0xd4, 0xc000043058, 0xc0068c7248, 0x509d68) /usr/local/go/src/regexp/regexp.go:170 +0x5a regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 regexp.MustCompile(0xaa5b70, 0x5, 0xaa0378) /usr/local/go/src/regexp/regexp.go:309 +0x4b github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002295518, 0xc0016bcea0, 0xc0013e7960) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:324 +0x7f8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ec00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 165 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc00133c340, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc00133c410, 0xc00132f1f0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00367f2a0, 0x0, 0x0, 0x0, 0xc002291200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00367f2a0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0022918f8, 0xc001fbc600, 0x1215, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ecc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 167 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c681dea70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0028e2820, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0028e2810, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001092800, 0x38a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000026b80, 0x79, 0xc001092800, 0x38a, 0xc001092800, 0x38a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000026b80, 0x79, 0xc001092800, 0x38a, 0xaa0378, 0x1, 0xc001092800, 0x38a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ee40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 168 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88079a00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001589170, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001589160, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003782d80, 0x41e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00048ea50, 0x4e, 0xc003782d80, 0x41e, 0xc003782d80, 0x41e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00048ea50, 0x4e, 0xc003782d80, 0x41e, 0xaa0378, 0x1, 0xc003782d80, 0x41e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ef00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 170 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c4c227120, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001dcdc60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001dcdc50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001c47500, 0x9a4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011406c0, 0x89, 0xc001c47500, 0x9a4, 0xc001c47500, 0x9a4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011406c0, 0x89, 0xc001c47500, 0x9a4, 0xaa0378, 0x1, 0xc001c47500, 0x9a4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 171 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inHeadIM(0xc0008db6c0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:640 +0x2e8 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0008db6c0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0008db6c0, 0xc000fce3f0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00230dc20, 0x0, 0x0, 0x0, 0xc002071200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00230dc20, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0020718f8, 0xc002249000, 0xe38, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 172 [runnable]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0048322a0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003b5b518, 0xc002c4c8e0, 0x7c, 0xc000d4bf00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 173 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc004a74c00, 0x5a0, 0xc00225f218, 0xc0011d2700) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc004a74c00, 0x5a0, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00225f3c0, 0xaa058b, 0x2, 0xc004a74c00, 0x5a0, 0x8, 0xbb, 0xc004c4cb60) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235650, 0xc004a74c00, 0x5a0, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00225f518, 0xc00039b320, 0x9d, 0xc00180e640) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f2c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 174 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc002771800, 0xa93, 0xc0028ed218, 0xc003f9e000) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc002771800, 0xa93, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0028ed3c0, 0xaa0569, 0x2, 0xc002771800, 0xa93, 0x1, 0x11d, 0xc002b03e60) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc002771800, 0xa93, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0028ed518, 0xc000d81060, 0x90, 0xc0014f1290) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 175 [semacquire]: strings.genSplit(0xc0012e0480, 0x421, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc0008f2000, 0x96, 0x96) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0022653c0, 0xaa05c9, 0x2, 0xc005f78000, 0x421, 0x1, 0x96, 0xc0001d4020) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235650, 0xc005f78000, 0x421, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002265518, 0xc0063945e0, 0x80, 0xc000d4bb00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 176 [semacquire]: strings.genSplit(0xc0050ff000, 0xdf8, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc00566a800, 0x156, 0x156) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0022973c0, 0xaa04df, 0x2, 0xc004da0000, 0xdf8, 0xd, 0x156, 0xc0045841c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235650, 0xc004da0000, 0xdf8, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002297518, 0xc00039b760, 0xb4, 0xc000ee5c9d) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 178 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002d8ec40, 0xc003d472c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003d473c0, 0xaa0503, 0x2, 0xc004c17200, 0x5ec, 0x1, 0xad, 0xc002d8ec20) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0005d2060, 0xc004c17200, 0x5ec, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003d47518, 0xc005b540e0, 0x63, 0xc000c4f3b0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 179 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d4a0, 0x0, 0x0, 0x0, 0xc0067d6000, 0x7d1, 0x2, 0xc003fa3038, 0xc0067d6000, 0x7d1, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d4a0, 0xc0067d6000, 0x7d1, 0xaa04bf, 0x2, 0x1, 0x1) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.FromHTMLNode(0xc0055976c0, 0x0, 0x0, 0x0, 0x0, 0xc0055976c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:80 +0x191 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc003582270, 0x0, 0x0, 0x0, 0x1300, 0xc005063300, 0x1123, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005063300, 0x1123, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9cd4b6b900000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc000403518, 0xc005b54820, 0xc001af57c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 180 [semacquire]: bytes.makeSlice(0x7a7, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0005d37a0, 0x21b, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0005d37a0, 0xc00550a480, 0x21b, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0005d37a0, 0xc00550a480, 0x21b, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0005d37a0, 0xc0035fe5b0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc0005d37a0, 0xc00347e150, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0005d37a0, 0xc00347e0e0, 0xb84d20, 0xc0005d37a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0005d37a0, 0xc00347e0e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc002dae2d0, 0x1c3199039, 0x1251a20, 0xc00039a580, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 181 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f8c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 182 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b80262c50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0038fa960, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0038fa950, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003998c00, 0x1139, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4f650, 0x63, 0xc003998c00, 0x1139, 0xc003998c00, 0x1139, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4f650, 0x63, 0xc003998c00, 0x1139, 0xaa0378, 0x1, 0xc003998c00, 0x1139, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 183 [runnable]: github.com/fatih/set.(*Set).Add(0xc0020d7300, 0xc00005d950, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x2a8 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037fa40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 184 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc006cd8d00, 0x86d, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:71 +0x129 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc006cd8d00, 0x86d, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc006cd8d00, 0x86d, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc006cd8d00, 0x86d, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc006cd8d00, 0x86d, 0x0, 0x0, 0x86d, 0xc006cd8d00, 0x86d) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc006cd8d00, 0x86d, 0x86d, 0x900) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002e3fc40, 0x32, 0xc006cd8d00, 0x86d, 0xc006cd8d00, 0x86d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002e3fc40, 0x32, 0xc006cd8d00, 0x86d, 0xaa0378, 0x1, 0xc006cd8d00, 0x86d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037fb00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 185 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c14004b50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003173d70, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003173d50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001f98000, 0xe15, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000026100, 0x71, 0xc001f98000, 0xe15, 0xc001f98000, 0xe15, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000026100, 0x71, 0xc001f98000, 0xe15, 0xaa0378, 0x1, 0xc001f98000, 0xe15, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037fbc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 186 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc003582360, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000ed9518, 0xc003924780, 0x6e, 0xc000c4f730) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037fc80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 187 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88004ba0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002060840, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002060830, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001ae4f80, 0x1a00, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0009161e0, 0x60, 0xc001ae4f80, 0x1a00, 0xc001ae4f80, 0x1a00, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0009161e0, 0x60, 0xc001ae4f80, 0x1a00, 0xaa0378, 0x1, 0xc001ae4f80, 0x1a00, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037fd40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 188 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c7404cb90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00315bc80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00315bc70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001903900, 0x117f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002a8c0a0, 0x92, 0xc001903900, 0x117f, 0xc001903900, 0x117f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002a8c0a0, 0x92, 0xc001903900, 0x117f, 0xaa0378, 0x1, 0xc001903900, 0x117f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037fe00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 189 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0037971a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003797190, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003730a80, 0x92d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001646500, 0x7c, 0xc003730a80, 0x92d, 0xc003730a80, 0x92d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001646500, 0x7c, 0xc003730a80, 0x92d, 0xaa0378, 0x1, 0xc003730a80, 0x92d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037fec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 190 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9c026c80, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00071a940, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00071a920, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000c69500, 0x13c0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0027642c0, 0xa2, 0xc000c69500, 0x13c0, 0xc000c69500, 0x13c0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0027642c0, 0xa2, 0xc000c69500, 0x13c0, 0xaa0378, 0x1, 0xc000c69500, 0x13c0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ff80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 191 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd4107810, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00357a950, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00357a940, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0032b1500, 0x953, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0016837c0, 0x4b, 0xc0032b1500, 0x953, 0xc0032b1500, 0x953, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0016837c0, 0x4b, 0xc0032b1500, 0x953, 0xaa0378, 0x1, 0xc0032b1500, 0x953, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 192 [runnable]: strings.genSplit(0xc006522000, 0x151, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x1, 0xc000e38100, 0x1d) /usr/local/go/src/strings/strings.go:245 +0x2b0 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc0036c1518, 0xc00321ef90, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:567 +0xd5 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x4, 0xc00321ef90) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:636 +0xa4 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc00321ec90, 0xc0036c1320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc0036c1518, 0xc00321eb70, 0xc00065e260) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc0036c1518, 0xc00321eb70, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc0036c1518, 0xc00321eb70, 0xc00321eb70) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e120, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 193 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88a9c610, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003c30460, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003c30450, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00047e000, 0xef7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011604d0, 0x6c, 0xc00047e000, 0xef7, 0xc00047e000, 0xef7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011604d0, 0x6c, 0xc00047e000, 0xef7, 0xaa0378, 0x1, 0xc00047e000, 0xef7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e1e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 194 [semacquire]: strings.genSplit(0xc005525000, 0xd89, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0x157, 0x157) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00470d3c0, 0xaa059b, 0x2, 0xc001db4000, 0xd89, 0x1, 0x157, 0xc0017f7fc0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002355f0, 0xc001db4000, 0xd89, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00470d518, 0xc0017f7c20, 0x4a, 0xc00002ab40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e2a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 195 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c2cca64b0, 0x7f1c2cca65b0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003555730, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003555720, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0046a8000, 0xd8d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d6c000, 0x57, 0xc0046a8000, 0xd8d, 0xc0046a8000, 0xd8d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d6c000, 0x57, 0xc0046a8000, 0xd8d, 0xaa0378, 0x1, 0xc0046a8000, 0xd8d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 196 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x2c77170, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00394fef0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00394fee0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001765000, 0x7c5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00036c000, 0x6d, 0xc001765000, 0x7c5, 0xc001765000, 0x7c5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00036c000, 0x6d, 0xc001765000, 0x7c5, 0xaa0378, 0x1, 0xc001765000, 0x7c5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 197 [semacquire]: bytes.makeSlice(0xb30, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc001763290, 0x10c, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc001763290, 0xc00303e360, 0x10c, 0x6, 0xffffffffffffffff, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc001763290, 0xc00303e360, 0x10c, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc001763290, 0xc00456d3b0, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc001763290, 0xc00456d340, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc001763290, 0xc00456c930, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc001763290, 0xc00456c850, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc001763290, 0xc00456c150, 0xb84d20, 0xc001763290) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc001763290, 0xc00456c150, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc00101e4e0, 0x3, 0xc00223b3d0, 0x6, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003ab3518, 0xc00039bf00, 0xc002c4d540) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e4e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 198 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b98025fc0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001ee4c80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001ee4c70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002805000, 0xe73, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004f8120, 0x51, 0xc002805000, 0xe73, 0xc002805000, 0xe73, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004f8120, 0x51, 0xc002805000, 0xe73, 0xaa0378, 0x1, 0xc002805000, 0xe73, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e5a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 199 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c6c7247e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00041ccb0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00041cc90, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc005b66000, 0x5c7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4e1c0, 0x61, 0xc005b66000, 0x5c7, 0xc005b66000, 0x5c7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4e1c0, 0x61, 0xc005b66000, 0x5c7, 0xaa0378, 0x1, 0xc005b66000, 0x5c7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 200 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882671f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00379a5b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00379a5a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002f6c000, 0x1e9c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001006500, 0x91, 0xc002f6c000, 0x1e9c, 0xc002f6c000, 0x1e9c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001006500, 0x91, 0xc002f6c000, 0x1e9c, 0xaa0378, 0x1, 0xc002f6c000, 0x1e9c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 201 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b7c3df5f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00330c0c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00330c0b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001ec2400, 0x389, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001252000, 0x62, 0xc001ec2400, 0x389, 0xc001ec2400, 0x389, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001252000, 0x62, 0xc001ec2400, 0x389, 0xaa0378, 0x1, 0xc001ec2400, 0x389, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e7e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 202 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:24 +0x165 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e8a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 203 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c2c2b78f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00153d440, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00153d410, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0032bf900, 0x495, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0012520e0, 0x64, 0xc0032bf900, 0x495, 0xc0032bf900, 0x495, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0012520e0, 0x64, 0xc0032bf900, 0x495, 0xaa0378, 0x1, 0xc0032bf900, 0x495, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 204 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0030d6500, 0x4ad, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:87 +0x379 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0030d6500, 0x4ad, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0030d6500, 0x4ad, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0030d6500, 0x4ad, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0030d6500, 0x4ad, 0x0, 0x0, 0x4ad, 0xc0030d6500, 0x4ad) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0030d6500, 0x4ad, 0x4ad, 0x500) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00359fb00, 0x53, 0xc0030d6500, 0x4ad, 0xc0030d6500, 0x4ad, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00359fb00, 0x53, 0xc0030d6500, 0x4ad, 0xaa0378, 0x1, 0xc0030d6500, 0x4ad, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049ea20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 205 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c40089380, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b21150, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b21140, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00106a000, 0x4fd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0039d2000, 0x73, 0xc00106a000, 0x4fd, 0xc00106a000, 0x4fd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0039d2000, 0x73, 0xc00106a000, 0x4fd, 0xaa0378, 0x1, 0xc00106a000, 0x4fd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049eae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 206 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88001760, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c33d20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c33d10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000483800, 0x6df, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb84d0, 0x6e, 0xc000483800, 0x6df, 0xc000483800, 0x6df, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb84d0, 0x6e, 0xc000483800, 0x6df, 0xaa0378, 0x1, 0xc000483800, 0x6df, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049eba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 207 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Join(0xc005fa6000, 0x1a, 0x20, 0xaa03a3, 0x1, 0xc005fa6000, 0x10) /usr/local/go/src/strings/strings.go:438 +0x4c8 github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc005f37388, 0xc00187fae0, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:135 +0x1c8 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc005f37388, 0xc00399b260, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0xc005f37301, 0xc0000a3150) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc005f37518, 0xc00399b260, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049ec60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 208 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88dfcc40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00316f930, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00316f920, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0039a0000, 0xc78, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4e2a0, 0x64, 0xc0039a0000, 0xc78, 0xc0039a0000, 0xc78, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4e2a0, 0x64, 0xc0039a0000, 0xc78, 0xaa0378, 0x1, 0xc0039a0000, 0xc78, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049ed20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 209 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c6c000dc0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00251cf80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00251cf70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002a16c00, 0x5e4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000916d3f, 0x3f, 0xc002a16c00, 0x5e4, 0xc002a16c00, 0x5e4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000916d3f, 0x3f, 0xc002a16c00, 0x5e4, 0xaa0378, 0x1, 0xc002a16c00, 0x5e4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049ede0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 210 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88002ec0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001f72080, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001f72070, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001c46000, 0x996, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0017c6700, 0x71, 0xc001c46000, 0x996, 0xc001c46000, 0x996, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0017c6700, 0x71, 0xc001c46000, 0x996, 0xaa0378, 0x1, 0xc001c46000, 0x996, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049eea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 211 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c4c433c60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00379b240, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00379b230, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001f42c00, 0x509, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000026c80, 0x7d, 0xc001f42c00, 0x509, 0xc001f42c00, 0x509, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000026c80, 0x7d, 0xc001f42c00, 0x509, 0xaa0378, 0x1, 0xc001f42c00, 0x509, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049ef60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 213 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c881c4540, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023dcf90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023dcf80, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00146f500, 0x6fa, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00387e540, 0x6d, 0xc00146f500, 0x6fa, 0xc00146f500, 0x6fa, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00387e540, 0x6d, 0xc00146f500, 0x6fa, 0xaa0378, 0x1, 0xc00146f500, 0x6fa, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f0e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 214 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f1a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 215 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 216 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0020ffba0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x260 golang.org/x/net/html.(*parser).parse(0xc0020ffc70, 0xc004bf8380, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002ec2f80, 0x0, 0x0, 0x0, 0xc00228d200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002ec2f80, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00228d8f8, 0xc00206d000, 0xdba, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 217 [semacquire]: strings.genSplit(0xad4eab, 0xf75, 0xaa03a3, 0x1, 0x0, 0xffffffffffffffff, 0xc00030ca00, 0x6e, 0x6e) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:23 +0x140 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f3e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 219 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0054c7000, 0x7b1, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:153 +0x1f1 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0054c7000, 0x7b1, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0054c7000, 0x7b1, 0x0, 0x0, 0x7b1, 0xc0054c7000, 0x7b1) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0054c7000, 0x7b1, 0x7b1, 0x800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001669380, 0xca, 0xc0054c7000, 0x7b1, 0xc0054c7000, 0x7b1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001669380, 0xca, 0xc0054c7000, 0x7b1, 0xaa0378, 0x1, 0xc0054c7000, 0x7b1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 220 [semacquire]: strings.genSplit(0xc0042cb680, 0x161, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x161, 0xc0042cb500, 0x161) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0049af588, 0xaa058b, 0x2, 0xc0042cb500, 0x161, 0x0, 0xc0049af3d8, 0xc0017f6d68) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc0049af518, 0xc000ce2c30, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:528 +0xfd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0049af518, 0xc0016bdce0, 0x70) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 221 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0005f6060, 0xc000b8d950, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x2a8 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f6e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 222 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9818dcc0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00091a640, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00091a630, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0014dd000, 0xfcb, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d455f0, 0x84, 0xc0014dd000, 0xfcb, 0xc0014dd000, 0xfcb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d455f0, 0x84, 0xc0014dd000, 0xfcb, 0xaa0378, 0x1, 0xc0014dd000, 0xfcb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f7a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 223 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.LangToStringShort(0x3c, 0x307, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesUtil.go:199 +0x56 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Lang.Iso6391(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesUtil.go:191 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0030f8380, 0x307, 0x307, 0x380) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x4b _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001252fc0, 0x6b, 0xc0030f8380, 0x307, 0xc0030f8380, 0x307, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001252fc0, 0x6b, 0xc0030f8380, 0x307, 0xaa0378, 0x1, 0xc0030f8380, 0x307, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 224 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc001c4e1a0, 0xc00364e000, 0x4e9) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc001c4e1a0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc001c4e1a0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc001c4e1a0, 0xc003e19340, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc000d81360, 0x0, 0x0, 0x0, 0xc003e1f200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc000d81360, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003e1f8f8, 0xc002ac0000, 0x3b25, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 225 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88003b20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018dba20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018dba10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0020d8e00, 0x634, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d44990, 0x8a, 0xc0020d8e00, 0x634, 0xc0020d8e00, 0x634, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d44990, 0x8a, 0xc0020d8e00, 0x634, 0xaa0378, 0x1, 0xc0020d8e00, 0x634, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f9e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 226 [semacquire]: bytes.makeSlice(0x82, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc005d503d8, 0x2, 0x2) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc005d503d8, 0xc005d5013c, 0x2, 0x2, 0x40, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc005d503d8, 0xc004151ef0, 0x8d, 0x8d, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:440 +0xf7 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005d503d8, 0xc0042fc380, 0xc003122160, 0xc005d50308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005d503d8, 0xc0042fc310, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005d510c0, 0xc0042fc310, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005d510c0, 0xc0042fc310, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005d510c0, 0xc0042fc230, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002f850c0, 0xc0042fc230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002f850c0, 0xc0042fc230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005d510c0, 0xc0042fc150, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002f850c0, 0xc0042fc150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002f850c0, 0xc0042fc150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005d510c0, 0xc005bcda40, 0xc002f84d40, 0x46a81e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002f850c0, 0xc005bcda40, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002f850c0, 0xc005bcda40, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005d510c0, 0xc005bcd960, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002f850c0, 0xc005bcd960, 0x54b170, 0xc002daadd0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc005bcd960, 0x0, 0x0, 0x0, 0x0, 0xc005bcd960, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc005b870e0, 0x0, 0x0, 0x0, 0x2500, 0xc001522a00, 0x21ad, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc001522a00, 0x21ad, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc0011d67d0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002f85518, 0xc0019d73e0, 0xc00146d060) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049faa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 227 [semacquire]: regexp.(*Regexp).ReplaceAllString(0xc0001fb5e0, 0xc004bf2d00, 0x8ae, 0xaa0378, 0x1, 0xc0027dc900, 0x8ae) /usr/local/go/src/regexp/regexp.go:560 +0x135 _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa6444, 0x5, 0xc004bf2d00, 0x8ae, 0xaa0378, 0x1, 0xc004bf2d00, 0x8ae) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049fb60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:305 +0x37c created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 228 [semacquire]: github.com/fatih/set.(*Set).Add(0xc001af4d20, 0xc00638b2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00638b3c0, 0xaa0599, 0x2, 0xc003638500, 0x2294, 0x40, 0x33f, 0xc001af4ce0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0000ae7b0, 0xc003638500, 0x2294, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00638b518, 0xc001af48e0, 0x88, 0xc00533e89e) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049fc20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 229 [semacquire]: strings.Replace(0xc002c26000, 0x1c2a, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x6, 0xc002c26000, 0x1c2a) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0039db8f8, 0xc002c26000, 0x1c2a, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049fce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 230 [semacquire]: regexp/syntax.Parse(0xabc10c, 0x11, 0xd4, 0x0, 0x0, 0xabc106) /usr/local/go/src/regexp/syntax/parse.go:712 +0x54 regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:170 +0x5a regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc002b55300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc002b55300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc002b55300, 0x0, 0xb856e0, 0xc001af4428, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc002b55300, 0xc00148d030, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc002b55300, 0x42ca96, 0xc003c85860, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc002b55370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc0046485e0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0018f1ce0, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc002b55518, 0xc0019d6400, 0xabc101, 0x1d, 0x81, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049fda0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 231 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882af4e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00251dc40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00251dc30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0036d8800, 0xaa5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4b030, 0x66, 0xc0036d8800, 0xaa5, 0xc0036d8800, 0xaa5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4b030, 0x66, 0xc0036d8800, 0xaa5, 0xaa0378, 0x1, 0xc0036d8800, 0xaa5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049fe60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 232 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b784bfe80, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00316f340, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00316f330, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0030ece00, 0x603, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb4380, 0x68, 0xc0030ece00, 0x603, 0xc0030ece00, 0x603, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb4380, 0x68, 0xc0030ece00, 0x603, 0xaa0378, 0x1, 0xc0030ece00, 0x603, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049ff20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 233 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88002100, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001ebeb20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001ebeb10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0019a4800, 0x3aa, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00049e300, 0x52, 0xc0019a4800, 0x3aa, 0xc0019a4800, 0x3aa, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00049e300, 0x52, 0xc0019a4800, 0x3aa, 0xaa0378, 0x1, 0xc0019a4800, 0x3aa, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 234 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0001d40e0, 0xc001451220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc001451588, 0xaa058b, 0x2, 0xc003ff9600, 0x8ef, 0xf, 0x47, 0xc0005f73e0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc001451518, 0xc00230c5c0, 0x6f) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be0c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 235 [semacquire]: github.com/PuerkitoBio/goquery.pushStack(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/utilities.go:159 github.com/PuerkitoBio/goquery.(*Selection).Siblings(0xc0018005a0, 0xc0054fdf80) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:268 +0x87 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc001f63518, 0xc0018005a0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:517 +0x20f github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc001f63518, 0xc0000bf320, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 236 [semacquire]: bytes.makeSlice(0x277, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0030e8780, 0x5, 0xaa408e) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0030e8780, 0xc003041950, 0x5, 0x6, 0xffffffffffffffff, 0xaa03f5) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0030e8780, 0xc003041950, 0x5, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0030e8780, 0xc004be6700, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc0030e8780, 0xc004be6310, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0030e8780, 0xc004be62a0, 0xb84d20, 0xc0030e8780) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0030e8780, 0xc004be62a0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0030e85d0, 0x2268fe145, 0x1251a20, 0xc001e2c1e0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 237 [semacquire]: bytes.makeSlice(0xc36, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0032f1388, 0x1a4, 0x329) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0032f1388, 0xc002d136c0, 0x1a4, 0x5165d7, 0xc0015a15aa, 0xc001540040) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002d5d0a0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002d5d030) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc000f03810) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc000f03570) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc000f029a0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0030e94a0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0032f1518, 0xc004649220, 0x90, 0xc000d44b40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 238 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c6c1b1060, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0022f4860, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0022f4840, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001661000, 0xe46, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001252930, 0x62, 0xc001661000, 0xe46, 0xc001661000, 0xe46, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001252930, 0x62, 0xc001661000, 0xe46, 0xaa0378, 0x1, 0xc001661000, 0xe46, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be3c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 239 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0019c5700, 0x517, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0019c5700, 0x517, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0019c5700, 0x517, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0019c5700, 0x517, 0x0, 0x0, 0x517, 0xc0019c5700, 0x517) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0019c5700, 0x517, 0x517, 0x580) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00130a360, 0x81, 0xc0019c5700, 0x517, 0xc0019c5700, 0x517, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00130a360, 0x81, 0xc0019c5700, 0x517, 0xaa0378, 0x1, 0xc0019c5700, 0x517, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 241 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88006040, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c5d320, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c5d310, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00335d800, 0x3cb, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001160000, 0x6a, 0xc00335d800, 0x3cb, 0xc00335d800, 0x3cb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001160000, 0x6a, 0xc00335d800, 0x3cb, 0xaa0378, 0x1, 0xc00335d800, 0x3cb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 242 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88c55840, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003040b60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003040b50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004b54a80, 0x926, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d6ce60, 0xa0, 0xc004b54a80, 0x926, 0xc004b54a80, 0x926, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d6ce60, 0xa0, 0xc004b54a80, 0x926, 0xaa0378, 0x1, 0xc004b54a80, 0x926, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be6c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 243 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002d2f4b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002d2f4a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0004faa80, 0x902, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001160070, 0x6e, 0xc0004faa80, 0x902, 0xc0004faa80, 0x902, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001160070, 0x6e, 0xc0004faa80, 0x902, 0xaa0378, 0x1, 0xc0004faa80, 0x902, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 244 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c780b0b80, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002d8dcd0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002d8dcb0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0025bc300, 0x69f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3e100, 0x79, 0xc0025bc300, 0x69f, 0xc0025bc300, 0x69f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3e100, 0x79, 0xc0025bc300, 0x69f, 0xaa0378, 0x1, 0xc0025bc300, 0x69f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 245 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.calculateConfidence(0xc00231e100, 0x8, 0x8, 0xc001b2bfb0, 0x1338a, 0xc00231e100) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:167 +0x43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc003262000, 0xa3f, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:162 +0x333 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc003262000, 0xa3f, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc003262000, 0xa3f, 0x0, 0x0, 0xa3f, 0xc003262000, 0xa3f) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc003262000, 0xa3f, 0xa3f, 0xa80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001167d80, 0x77, 0xc003262000, 0xa3f, 0xc003262000, 0xa3f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001167d80, 0x77, 0xc003262000, 0xa3f, 0xaa0378, 0x1, 0xc003262000, 0xa3f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 246 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c40396f80, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0024430e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0024430c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003147500, 0xa72, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000380fc0, 0x5f, 0xc003147500, 0xa72, 0xc003147500, 0xa72, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000380fc0, 0x5f, 0xc003147500, 0xa72, 0xaa0378, 0x1, 0xc003147500, 0xa72, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be9c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 247 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bec3d6b90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0038fb970, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0038fb960, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0024faa00, 0x6c5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00231eb00, 0x79, 0xc0024faa00, 0x6c5, 0xc0024faa00, 0x6c5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00231eb00, 0x79, 0xc0024faa00, 0x6c5, 0xaa0378, 0x1, 0xc0024faa00, 0x6c5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bea80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 248 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c40011f80, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00215dba0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00215db90, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00079cd80, 0xd67, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010d4349, 0x6d, 0xc00079cd80, 0xd67, 0xc00079cd80, 0xd67, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010d4349, 0x6d, 0xc00079cd80, 0xd67, 0xaa0378, 0x1, 0xc00079cd80, 0xd67, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004beb40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 249 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c78000f20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0029919e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0029919d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000c70800, 0x7f2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0015ea780, 0x7c, 0xc000c70800, 0x7f2, 0xc000c70800, 0x7f2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0015ea780, 0x7c, 0xc000c70800, 0x7f2, 0xaa0378, 0x1, 0xc000c70800, 0x7f2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bec00, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 250 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c718b4110, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0028afed0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0028afec0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0031ce680, 0x568, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003918da2, 0x60, 0xc0031ce680, 0x568, 0xc0031ce680, 0x568, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003918da2, 0x60, 0xc0031ce680, 0x568, 0xaa0378, 0x1, 0xc0031ce680, 0x568, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004becc0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 251 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bed80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 252 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b741f8290, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001f72850, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001f72840, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001f19800, 0x59c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0030cc0c0, 0x53, 0xc001f19800, 0x59c, 0xc001f19800, 0x59c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0030cc0c0, 0x53, 0xc001f19800, 0x59c, 0xaa0378, 0x1, 0xc001f19800, 0x59c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bee40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 253 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88096380, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002991900, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0029918f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001337500, 0xa3c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001682320, 0x4f, 0xc001337500, 0xa3c, 0xc001337500, 0xa3c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001682320, 0x4f, 0xc001337500, 0xa3c, 0xaa0378, 0x1, 0xc001337500, 0xa3c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bef00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 254 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c78000dc0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002991a50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002991a40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002a7a000, 0x58d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004d8f00, 0x5c, 0xc002a7a000, 0x58d, 0xc002a7a000, 0x58d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004d8f00, 0x5c, 0xc002a7a000, 0x58d, 0xaa0378, 0x1, 0xc002a7a000, 0x58d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004befc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 255 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882ac070, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023ad640, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023ad620, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000d74500, 0x487, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014f0090, 0x87, 0xc000d74500, 0x487, 0xc000d74500, 0x487, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014f0090, 0x87, 0xc000d74500, 0x487, 0xaa0378, 0x1, 0xc000d74500, 0x487, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 257 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x2e9e160, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001892a90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001892a70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001f53900, 0x4d3, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001166a80, 0x71, 0xc001f53900, 0x4d3, 0xc001f53900, 0x4d3, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001166a80, 0x71, 0xc001f53900, 0x4d3, 0xaa0378, 0x1, 0xc001f53900, 0x4d3, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 258 [semacquire]: github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x21d github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf2c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 259 [semacquire]: strings.genSplit(0xad08ae, 0x748, 0xaa03a3, 0x1, 0x0, 0xffffffffffffffff, 0xc0000b2500, 0x21f, 0x21f) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:23 +0x140 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 260 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bec3c93a0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001738410, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001738400, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0021c1500, 0x1346, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003072fc0, 0x53, 0xc0021c1500, 0x1346, 0xc0021c1500, 0x1346, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003072fc0, 0x53, 0xc0021c1500, 0x1346, 0xaa0378, 0x1, 0xc0021c1500, 0x1346, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 261 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88004780, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0025b60e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0025b60d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001d07b00, 0x88c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000027f00, 0x7e, 0xc001d07b00, 0x88c, 0xc001d07b00, 0x88c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000027f00, 0x7e, 0xc001d07b00, 0x88c, 0xaa0378, 0x1, 0xc001d07b00, 0x88c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 262 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88007220, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00379b2b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00379b2a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002947000, 0x7d7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb4af0, 0x67, 0xc002947000, 0x7d7, 0xc002947000, 0x7d7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb4af0, 0x67, 0xc002947000, 0x7d7, 0xaa0378, 0x1, 0xc002947000, 0x7d7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf5c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 263 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bbc2cd730, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018f3020, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018f3010, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001f55200, 0x83f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001252850, 0x65, 0xc001f55200, 0x83f, 0xc001f55200, 0x83f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001252850, 0x65, 0xc001f55200, 0x83f, 0xaa0378, 0x1, 0xc001f55200, 0x83f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 264 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88215ee0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018db920, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018db910, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00114d100, 0xce3, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00002a5a0, 0x45, 0xc00114d100, 0xce3, 0xc00114d100, 0xce3, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00002a5a0, 0x45, 0xc00114d100, 0xce3, 0xaa0378, 0x1, 0xc00114d100, 0xce3, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 265 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0013d6800, 0xb32, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0013d6800, 0xb32, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0013d6800, 0xb32, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0013d6800, 0xb32, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0013d6800, 0xb32, 0x0, 0x0, 0xb32, 0xc0013d6800, 0xb32) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0013d6800, 0xb32, 0xb32, 0xd80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011f54d0, 0x55, 0xc0013d6800, 0xb32, 0xc0013d6800, 0xb32, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011f54d0, 0x55, 0xc0013d6800, 0xb32, 0xaa0378, 0x1, 0xc0013d6800, 0xb32, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 266 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8801c730, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003d5bdc0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003d5bdb0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0015fbb00, 0x83a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014f18c0, 0x8a, 0xc0015fbb00, 0x83a, 0xc0015fbb00, 0x83a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014f18c0, 0x8a, 0xc0015fbb00, 0x83a, 0xaa0378, 0x1, 0xc0015fbb00, 0x83a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf8c0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 267 [semacquire]: strings.genSplit(0xad0ff6, 0x7d5, 0xaa03a3, 0x1, 0x0, 0xffffffffffffffff, 0xc00032ac80, 0xc3, 0xc3) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:23 +0x140 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf980, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 268 [semacquire]: bytes.makeSlice(0x84, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0048333e0, 0x4, 0x2) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0048333e0, 0xad063c, 0x4, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.render1(0xb84d20, 0xc0048333e0, 0xc004afe380, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:148 +0x1fd golang.org/x/net/html.render1(0xb84d20, 0xc0048333e0, 0xc004afe1c0, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0048333e0, 0xc004afe150, 0xb84d20, 0xc0048333e0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0048333e0, 0xc004afe150, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc004833230, 0x226a5d2de, 0x1251a20, 0xc0016bdd60, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfa40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 269 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc006b52800, 0x7e6, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc006b52800, 0x7e6, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc006b52800, 0x7e6, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc006b52800, 0x7e6, 0x0, 0x0, 0x7e6, 0xc006b52800, 0x7e6) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc006b52800, 0x7e6, 0x7e6, 0x900) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000179a20, 0xa7, 0xc006b52800, 0x7e6, 0xc006b52800, 0x7e6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000179a20, 0xa7, 0xc006b52800, 0x7e6, 0xaa0378, 0x1, 0xc006b52800, 0x7e6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfb00, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 270 [semacquire]: github.com/fatih/set.(*Set).Add(0xc000e0f180, 0xc00143b220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00143b588, 0xaa058b, 0x2, 0xc0015ca000, 0xc41, 0x641e2d, 0x0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00143b518, 0xc005d39ca0, 0x3c) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfbc0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 271 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88001080, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00359aac0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00359aaa0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001906e00, 0x639, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b0280, 0x99, 0xc001906e00, 0x639, 0xc001906e00, 0x639, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b0280, 0x99, 0xc001906e00, 0x639, 0xaa0378, 0x1, 0xc001906e00, 0x639, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfc80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 272 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b6cb7a330, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00251dbf0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00251dbc0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001d06900, 0x8cb, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014ec310, 0x65, 0xc001d06900, 0x8cb, 0xc001d06900, 0x8cb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014ec310, 0x65, 0xc001d06900, 0x8cb, 0xaa0378, 0x1, 0xc001d06900, 0x8cb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfd40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 273 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bbc1b76a0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001e4d040, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001e4d010, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000679000, 0xe0e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010b8790, 0xac, 0xc000679000, 0xe0e, 0xc000679000, 0xe0e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010b8790, 0xac, 0xc000679000, 0xe0e, 0xaa0378, 0x1, 0xc000679000, 0xe0e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfe00, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 274 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c601a5250, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020f34d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020f34b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0009f9400, 0xbc2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000916960, 0x59, 0xc0009f9400, 0xbc2, 0xc0009f9400, 0xbc2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000916960, 0x59, 0xc0009f9400, 0xbc2, 0xaa0378, 0x1, 0xc0009f9400, 0xbc2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfec0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 275 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88c19e50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00186add0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00186adc0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00133e000, 0x52b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001252620, 0x66, 0xc00133e000, 0x52b, 0xc00133e000, 0x52b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001252620, 0x66, 0xc00133e000, 0x52b, 0xaa0378, 0x1, 0xc00133e000, 0x52b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bff80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 276 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88012530, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003749440, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003749430, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0036fad00, 0x82a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010077c0, 0x95, 0xc0036fad00, 0x82a, 0xc0036fad00, 0x82a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010077c0, 0x95, 0xc0036fad00, 0x82a, 0xaa0378, 0x1, 0xc0036fad00, 0x82a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8060, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 277 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c40105040, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018db940, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018db930, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00288f200, 0x5d3, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014f01b0, 0x82, 0xc00288f200, 0x5d3, 0xc00288f200, 0x5d3, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014f01b0, 0x82, 0xc00288f200, 0x5d3, 0xaa0378, 0x1, 0xc00288f200, 0x5d3, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8120, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 278 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd0191780, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0021066c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0021066b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001e9c800, 0x743, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fa4640, 0x95, 0xc001e9c800, 0x743, 0xc001e9c800, 0x743, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fa4640, 0x95, 0xc001e9c800, 0x743, 0xaa0378, 0x1, 0xc001e9c800, 0x743, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d81e0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 279 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b88104f50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000c43740, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000c43730, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0015e9b00, 0x2c7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003348500, 0x72, 0xc0015e9b00, 0x2c7, 0xc0015e9b00, 0x2c7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003348500, 0x72, 0xc0015e9b00, 0x2c7, 0xaa0378, 0x1, 0xc0015e9b00, 0x2c7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d82a0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 280 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c280eddb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00251cf10, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00251cf00, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00289c400, 0x851, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3e280, 0x75, 0xc00289c400, 0x851, 0xc00289c400, 0x851, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3e280, 0x75, 0xc00289c400, 0x851, 0xaa0378, 0x1, 0xc00289c400, 0x851, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8360, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 281 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88004360, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00202a080, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00202a060, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00103a400, 0x822, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00048ebe0, 0x4c, 0xc00103a400, 0x822, 0xc00103a400, 0x822, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00048ebe0, 0x4c, 0xc00103a400, 0x822, 0xaa0378, 0x1, 0xc00103a400, 0x822, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8420, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 282 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c00427460, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00233bf30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00233bf20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001b50300, 0x6bd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb4930, 0x6b, 0xc001b50300, 0x6bd, 0xc001b50300, 0x6bd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb4930, 0x6b, 0xc001b50300, 0x6bd, 0xaa0378, 0x1, 0xc001b50300, 0x6bd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d84e0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 283 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88002aa0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0013e8360, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0013e8350, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00229bb00, 0xd64, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010b80c9, 0x89, 0xc00229bb00, 0xd64, 0xc00229bb00, 0xd64, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010b80c9, 0x89, 0xc00229bb00, 0xd64, 0xaa0378, 0x1, 0xc00229bb00, 0xd64, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d85a0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 284 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88005120, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0022460b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0022460a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001b70d80, 0x40c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d6cbe0, 0x9b, 0xc001b70d80, 0x40c, 0xc001b70d80, 0x40c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d6cbe0, 0x9b, 0xc001b70d80, 0x40c, 0xaa0378, 0x1, 0xc001b70d80, 0x40c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8660, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 285 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b7c511570, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b5e9e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b5e9d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001b35400, 0x4e6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0020c6040, 0x3f, 0xc001b35400, 0x4e6, 0xc001b35400, 0x4e6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0020c6040, 0x3f, 0xc001b35400, 0x4e6, 0xaa0378, 0x1, 0xc001b35400, 0x4e6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8720, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 286 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inHeadIM(0xc0020fea90, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:640 +0x2e8 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0020fea90) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0020fea90, 0xc0034a2070, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00367fe80, 0x0, 0x0, 0x0, 0xc001fd9200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00367fe80, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc001fd98f8, 0xc001f99000, 0xde6, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d87e0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 288 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c501a8110, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002975bf0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002975be0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00290d500, 0x90f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb9650, 0x6b, 0xc00290d500, 0x90f, 0xc00290d500, 0x90f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb9650, 0x6b, 0xc00290d500, 0x90f, 0xaa0378, 0x1, 0xc00290d500, 0x90f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8960, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 289 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88003440, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002a76140, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002a76130, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00286c800, 0x70b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001aa48f0, 0xa6, 0xc00286c800, 0x70b, 0xc00286c800, 0x70b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001aa48f0, 0xa6, 0xc00286c800, 0x70b, 0xaa0378, 0x1, 0xc00286c800, 0x70b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8a20, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 290 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf81eb910, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00316f2d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00316f2c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003dfd500, 0xa77, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00201abd0, 0x84, 0xc003dfd500, 0xa77, 0xc003dfd500, 0xa77, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00201abd0, 0x84, 0xc003dfd500, 0xa77, 0xaa0378, 0x1, 0xc003dfd500, 0xa77, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8ae0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 291 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88006b40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002db1040, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002db1030, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002b0c000, 0x434, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004f842c, 0x54, 0xc002b0c000, 0x434, 0xc002b0c000, 0x434, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004f842c, 0x54, 0xc002b0c000, 0x434, 0xaa0378, 0x1, 0xc002b0c000, 0x434, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8ba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 292 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x2ea99e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0028e2510, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0028e2500, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00244af00, 0x4bd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fee280, 0x7f, 0xc00244af00, 0x4bd, 0xc00244af00, 0x4bd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fee280, 0x7f, 0xc00244af00, 0x4bd, 0xaa0378, 0x1, 0xc00244af00, 0x4bd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8c60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 293 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bcc3acc10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002053b60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002053b50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002a60000, 0xa63, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000026a00, 0x72, 0xc002a60000, 0xa63, 0xc002a60000, 0xa63, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000026a00, 0x72, 0xc002a60000, 0xa63, 0xaa0378, 0x1, 0xc002a60000, 0xa63, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8d20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 294 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1ba46ba440, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0044fb920, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0044fb910, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0030d5c00, 0x30b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000916720, 0x5d, 0xc0030d5c00, 0x30b, 0xc0030d5c00, 0x30b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000916720, 0x5d, 0xc0030d5c00, 0x30b, 0xaa0378, 0x1, 0xc0030d5c00, 0x30b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8de0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 295 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001a1b1c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001a1b1b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003037500, 0x977, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fa43c0, 0x97, 0xc003037500, 0x977, 0xc003037500, 0x977, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fa43c0, 0x97, 0xc003037500, 0x977, 0xaa0378, 0x1, 0xc003037500, 0x977, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8ea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 296 [semacquire]: strings.Replace(0xc003309000, 0xe72, 0xaa03a3, 0x1, 0xaa0378, 0x1, 0x1d, 0xc003309000, 0xe72) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00311f518, 0xc0001d5e40, 0xc0049f1d20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:318 +0x708 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8f60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 297 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1ba43bc810, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020f8110, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020f80e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001cf3800, 0x763, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003349000, 0x7d, 0xc001cf3800, 0x763, 0xc001cf3800, 0x763, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003349000, 0x7d, 0xc001cf3800, 0x763, 0xaa0378, 0x1, 0xc001cf3800, 0x763, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 298 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b6c695c40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d80ee0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d80ea0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002541900, 0x1289, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00130ae10, 0x82, 0xc002541900, 0x1289, 0xc002541900, 0x1289, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00130ae10, 0x82, 0xc002541900, 0x1289, 0xaa0378, 0x1, 0xc002541900, 0x1289, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d90e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 299 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c78791c60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002e8bae0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002e8bad0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004519200, 0x5f0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000e720b0, 0xaf, 0xc004519200, 0x5f0, 0xc004519200, 0x5f0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000e720b0, 0xaf, 0xc004519200, 0x5f0, 0xaa0378, 0x1, 0xc004519200, 0x5f0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d91a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 300 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b881b8360, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002246070, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002246060, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000333600, 0x893, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00002a140, 0x46, 0xc000333600, 0x893, 0xc000333600, 0x893, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00002a140, 0x46, 0xc000333600, 0x893, 0xaa0378, 0x1, 0xc000333600, 0x893, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 301 [semacquire]: strings.Replace(0xc003634000, 0xf29, 0xaa04bd, 0x2, 0xaa03a3, 0x1, 0x1, 0xb7b900, 0xc00005e060) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/jaytaylor/html2text.FromHTMLNode(0xc0031ca770, 0x0, 0x0, 0x0, 0x0, 0xc0031ca770, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:81 +0x158 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc003700120, 0x0, 0x0, 0x0, 0x1800, 0xc00334d800, 0x1524, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc00334d800, 0x1524, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc00033eea0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc000191518, 0xc001752380, 0xc0015d0ac0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 302 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc41dae20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020188b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020188a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000ff0000, 0x749, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001166280, 0x7c, 0xc000ff0000, 0x749, 0xc000ff0000, 0x749, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001166280, 0x7c, 0xc000ff0000, 0x749, 0xaa0378, 0x1, 0xc000ff0000, 0x749, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d93e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 303 [semacquire]: bytes.makeSlice(0x98b, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc002671388, 0x265, 0x189) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc002671388, 0xc00022c500, 0x265, 0x5165d7, 0xc00373d76e, 0xc003041e10) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002bcf880) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002bcf810) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002bcf0a0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002bce770) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00233ff80) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc004ee8690, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002671518, 0xc00065f260, 0x121, 0xc00129d680) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d94a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 304 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0009f6400, 0xb22, 0xae4d68) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:83 +0x3e0 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0009f6400, 0xb22, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0009f6400, 0xb22, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0009f6400, 0xb22, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0009f6400, 0xb22, 0x0, 0x0, 0xb22, 0xc0009f6400, 0xb22) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0009f6400, 0xb22, 0xb22, 0xd80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d440d0, 0x50, 0xc0009f6400, 0xb22, 0xc0009f6400, 0xb22, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d440d0, 0x50, 0xc0009f6400, 0xb22, 0xaa0378, 0x1, 0xc0009f6400, 0xb22, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 305 [semacquire]: strings.genSplit(0xc006eb7500, 0x939, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc002ef4c00, 0x108, 0x108) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003e5f3c0, 0xaa0599, 0x2, 0xc001f93500, 0x939, 0x1b, 0x108, 0xc006c56e40) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0004263f0, 0xc001f93500, 0x939, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003e5f518, 0xc002b03960, 0x79, 0xc0024c7b80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 306 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc0260120, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c32170, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c32150, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0020dc900, 0x8cb, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001252b06, 0x4e, 0xc0020dc900, 0x8cb, 0xc0020dc900, 0x8cb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001252b06, 0x4e, 0xc0020dc900, 0x8cb, 0xaa0378, 0x1, 0xc0020dc900, 0x8cb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d96e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 307 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001281120, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001281110, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000155680, 0x47e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d48000, 0x96, 0xc000155680, 0x47e, 0xc000155680, 0x47e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d48000, 0x96, 0xc000155680, 0x47e, 0xaa0378, 0x1, 0xc000155680, 0x47e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d97a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 308 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c10001bd0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d86150, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d86140, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001273000, 0xbac, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010ee300, 0xbd, 0xc001273000, 0xbac, 0xc001273000, 0xbac, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010ee300, 0xbd, 0xc001273000, 0xbac, 0xaa0378, 0x1, 0xc001273000, 0xbac, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 309 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c24105080, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0039d7d80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0039d7d70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0039be000, 0x4a6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001166080, 0x77, 0xc0039be000, 0x4a6, 0xc0039be000, 0x4a6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001166080, 0x77, 0xc0039be000, 0x4a6, 0xaa0378, 0x1, 0xc0039be000, 0x4a6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 310 [semacquire]: strings.genSplit(0xc00487a000, 0x718, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc002dc6880, 0xd4, 0xd4) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0022633c0, 0xaa0569, 0x2, 0xc00554f800, 0x718, 0x2, 0xd4, 0xc004584340) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235650, 0xc00554f800, 0x718, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002263518, 0xc00039b960, 0x9f, 0xc001317ea0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d99e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 311 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88127170, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001ebe4b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001ebe4a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0017f3000, 0x3fd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fefb00, 0x78, 0xc0017f3000, 0x3fd, 0xc0017f3000, 0x3fd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fefb00, 0x78, 0xc0017f3000, 0x3fd, 0xaa0378, 0x1, 0xc0017f3000, 0x3fd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9aa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 312 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88007f50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00215c010, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00215c004, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0028c3800, 0x72c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4f260, 0x46, 0xc0028c3800, 0x72c, 0xc0028c3800, 0x72c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4f260, 0x46, 0xc0028c3800, 0x72c, 0xaa0378, 0x1, 0xc0028c3800, 0x72c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9b60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 313 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88001340, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d860e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d860d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00133aa00, 0x6b2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00002a1e0, 0x41, 0xc00133aa00, 0x6b2, 0xc00133aa00, 0x6b2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00002a1e0, 0x41, 0xc00133aa00, 0x6b2, 0xaa0378, 0x1, 0xc00133aa00, 0x6b2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9c20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 314 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc005081000, 0xb82, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x317 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc005081000, 0xb82, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc005081000, 0xb82, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc005081000, 0xb82, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc005081000, 0xb82, 0x0, 0x0, 0xb82, 0xc005081000, 0xb82) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc005081000, 0xb82, 0xb82, 0xc00) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001646100, 0x77, 0xc005081000, 0xb82, 0xc005081000, 0xb82, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001646100, 0x77, 0xc005081000, 0xb82, 0xaa0378, 0x1, 0xc005081000, 0xb82, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 315 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88006f60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c5d390, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c5d380, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001264e00, 0x6ea, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4e460, 0x6c, 0xc001264e00, 0x6ea, 0xc001264e00, 0x6ea, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4e460, 0x6c, 0xc001264e00, 0x6ea, 0xaa0378, 0x1, 0xc001264e00, 0x6ea, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9da0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 316 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88001e40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0039af520, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0039af510, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001482400, 0x801, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004bfda0, 0x56, 0xc001482400, 0x801, 0xc001482400, 0x801, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004bfda0, 0x56, 0xc001482400, 0x801, 0xaa0378, 0x1, 0xc001482400, 0x801, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 317 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc002a60a80, 0x9eb, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:71 +0x129 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc002a60a80, 0x9eb, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc002a60a80, 0x9eb, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc002a60a80, 0x9eb, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc002a60a80, 0x9eb, 0x0, 0x0, 0x9eb, 0xc002a60a80, 0x9eb) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc002a60a80, 0x9eb, 0x9eb, 0xc00) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb8070, 0x69, 0xc002a60a80, 0x9eb, 0xc002a60a80, 0x9eb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb8070, 0x69, 0xc002a60a80, 0x9eb, 0xaa0378, 0x1, 0xc002a60a80, 0x9eb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9f20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 318 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c04105630, 0x7f1c041056f0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001dd6030, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001dd6020, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001e07800, 0x751, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00007e480, 0x58, 0xc001e07800, 0x751, 0xc001e07800, 0x751, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00007e480, 0x58, 0xc001e07800, 0x751, 0xaa0378, 0x1, 0xc001e07800, 0x751, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 883 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc001252310, 0x6d, 0x2, 0xc0060341d0, 0x0, 0xc006034270, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc001252310, 0x6d, 0xaa0378, 0x1, 0xc001d7df80, 0x7) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0060343d8, 0xc000b6d2d0, 0xc003122160, 0xc006034308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060343d8, 0xc000b6d260, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0060350c0, 0xc000b6d260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0060350c0, 0xc000b6d260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060350c0, 0xc000b6d180, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00569d0c0, 0xc000b6d180, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00569d0c0, 0xc000b6d180, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060350c0, 0xc000b6d0a0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00569d0c0, 0xc000b6d0a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00569d0c0, 0xc000b6d0a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060350c0, 0xc000b6c9a0, 0xc002ebd880, 0x7f1cb42a3c28) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00569d0c0, 0xc000b6c9a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00569d0c0, 0xc000b6c9a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0060350c0, 0xc000b6c8c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00569d0c0, 0xc000b6c8c0, 0x54b170, 0xc00437ba00) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc000b6c8c0, 0x0, 0x0, 0x0, 0x0, 0xc000b6c8c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002c34570, 0x0, 0x0, 0x0, 0x1980, 0xc005cc6c80, 0x1947, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005cc6c80, 0x1947, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc002f6be30) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00569d518, 0xc00230c180, 0xc00230ca80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717f20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 319 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc8115840, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001540cb0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001540ca0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003396a80, 0x907, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c56b80, 0x72, 0xc003396a80, 0x907, 0xc003396a80, 0x907, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c56b80, 0x72, 0xc003396a80, 0x907, 0xaa0378, 0x1, 0xc003396a80, 0x907, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f80c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 320 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88077ff0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020fa5e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020fa5d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000c78a80, 0x976, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00359ed80, 0x5a, 0xc000c78a80, 0x976, 0xc000c78a80, 0x976, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00359ed80, 0x5a, 0xc000c78a80, 0x976, 0xaa0378, 0x1, 0xc000c78a80, 0x976, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 321 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88000dc0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002ce98e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002ce98d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001d41800, 0x73f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0009162a0, 0x5c, 0xc001d41800, 0x73f, 0xc001d41800, 0x73f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0009162a0, 0x5c, 0xc001d41800, 0x73f, 0xaa0378, 0x1, 0xc001d41800, 0x73f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 322 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88088f60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00359a9f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00359a9e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001151100, 0x6cb, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb8b60, 0x63, 0xc001151100, 0x6cb, 0xc001151100, 0x6cb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb8b60, 0x63, 0xc001151100, 0x6cb, 0xaa0378, 0x1, 0xc001151100, 0x6cb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 323 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0020ded00, 0x8af, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0020ded00, 0x8af, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0020ded00, 0x8af, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0020ded00, 0x8af, 0x0, 0x0, 0x8af, 0xc0020ded00, 0x8af) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0020ded00, 0x8af, 0x8af, 0x900) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb8e70, 0x6f, 0xc0020ded00, 0x8af, 0xc0020ded00, 0x8af, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb8e70, 0x6f, 0xc0020ded00, 0x8af, 0xaa0378, 0x1, 0xc0020ded00, 0x8af, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f83c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 324 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b6c396480, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00233bec0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00233beb0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0029f0a00, 0x6d4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4a2a0, 0x67, 0xc0029f0a00, 0x6d4, 0xc0029f0a00, 0x6d4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4a2a0, 0x67, 0xc0029f0a00, 0x6d4, 0xaa0378, 0x1, 0xc0029f0a00, 0x6d4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 325 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b904acd50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0014b00a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0014b0090, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002d27b00, 0x85f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fee480, 0x75, 0xc002d27b00, 0x85f, 0xc002d27b00, 0x85f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fee480, 0x75, 0xc002d27b00, 0x85f, 0xaa0378, 0x1, 0xc002d27b00, 0x85f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 326 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b70200e20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001335830, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001335820, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001b4ee00, 0x698, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0030cca93, 0x3f, 0xc001b4ee00, 0x698, 0xc001b4ee00, 0x698, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0030cca93, 0x3f, 0xc001b4ee00, 0x698, 0xaa0378, 0x1, 0xc001b4ee00, 0x698, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 327 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc003360000, 0xdf0, 0xc002091218, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc003360000, 0xdf0, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0020913c0, 0xaa059b, 0x2, 0xc003360000, 0xdf0, 0x1, 0x251, 0xc00039aca0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa0f0, 0xc003360000, 0xdf0, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002091518, 0xc002ec3740, 0x8c, 0xc000c73680) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f86c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 328 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c741b5400, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0011820e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0011820a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003fce000, 0x1cec, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0015e2140, 0x94, 0xc003fce000, 0x1cec, 0xc003fce000, 0x1cec, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0015e2140, 0x94, 0xc003fce000, 0x1cec, 0xaa0378, 0x1, 0xc003fce000, 0x1cec, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 329 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8808bd40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00174c160, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00174c150, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002521000, 0x78d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00106e0a0, 0x4b, 0xc002521000, 0x78d, 0xc002521000, 0x78d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00106e0a0, 0x4b, 0xc002521000, 0x78d, 0xaa0378, 0x1, 0xc002521000, 0x78d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 330 [semacquire]: bytes.makeSlice(0xf99, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00266f388, 0x1ed, 0x2) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00266f388, 0xc002e3dc00, 0x1ed, 0x5165d7, 0xc000485300, 0xc00155c590) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc000dbb3b0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc000dbb340) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0049376c0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0049375e0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004936ee0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc004ee8450, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00266f518, 0xc00065f000, 0x59, 0xc002a4ed80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 331 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88001600, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d69980, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d69970, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001513800, 0x742, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000916060, 0x5c, 0xc001513800, 0x742, 0xc001513800, 0x742, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000916060, 0x5c, 0xc001513800, 0x742, 0xaa0378, 0x1, 0xc001513800, 0x742, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f89c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 332 [semacquire]: net/url.resolvePath(0xc002136b16, 0x5e, 0x0, 0x0, 0x7dd8c0, 0xc003fd7378) /usr/local/go/src/net/url/url.go:971 +0x1f9 net/url.(*URL).ResolveReference(0xc0045ba380, 0xc0045ba300, 0xc0045ba380) /usr/local/go/src/net/url/url.go:1006 +0xc7 github.com/advancedlogic/GoOse.WebPageResolver(0xc0017c26c0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/images.go:195 +0x10b github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:153 +0x91a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 333 [semacquire]: github.com/fatih/set.(*Set).Add(0xc001e2cda0, 0xc000da3950, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.NewStopwords(0x4e993f) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:30 +0x2a8 github.com/advancedlogic/GoOse.GetDefaultConfiguration(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/configuration.go:47 +0x72 github.com/advancedlogic/GoOse.New(...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:15 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8b40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:297 +0x892 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 334 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88c44820, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001dcdc80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001dcdc70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002a86000, 0x6c0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00033ea20, 0x53, 0xc002a86000, 0x6c0, 0xc002a86000, 0x6c0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00033ea20, 0x53, 0xc002a86000, 0x6c0, 0xaa0378, 0x1, 0xc002a86000, 0x6c0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8c00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 335 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88005800, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020faa00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020fa9e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001e8b600, 0x826, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4e070, 0x6c, 0xc001e8b600, 0x826, 0xc001e8b600, 0x826, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4e070, 0x6c, 0xc001e8b600, 0x826, 0xaa0378, 0x1, 0xc001e8b600, 0x826, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8cc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 336 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc001e2ca20, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1215 +0x43 golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc001e2ca20, 0x0, 0x0, 0x0, 0xc0028a5200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc001e2ca20, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0028a58f8, 0xc001041100, 0xd4d, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 337 [semacquire]: regexp.makeOnePass(0xc0030e82a0, 0xc0030e82a0) /usr/local/go/src/regexp/onepass.go:444 +0x310 regexp.compileOnePass(0xc0030e8240, 0xc0030e8240) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc001999300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc001999300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc001999300, 0x0, 0xb856e0, 0xc0015d0848, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc001999300, 0xc0021a1c70, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc001999300, 0x42ca96, 0xc0030e8210, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc001999370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc002b03f20, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0018017d0, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc001999518, 0xc001af4e60, 0xabc101, 0x1d, 0x3d, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 338 [semacquire]: regexp.makeOnePass.func1(0x5, 0xc00315bf10, 0x10, 0x10, 0x1) /usr/local/go/src/regexp/onepass.go:381 +0xad2 regexp.makeOnePass(0xc002b5c690, 0xc002b5c690) /usr/local/go/src/regexp/onepass.go:448 +0x398 regexp.compileOnePass(0xc002b5c630, 0xc002b5c630) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003d34ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003d34ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc00155c28c) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003d34ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003d34ff8, 0x1, 0xc002435770, 0xc01003ff180, 0x2804b42a3560) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003d34ff8, 0x4, 0x30, 0xc0047c2f01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc0047c2000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203000, 0xc0043a25b0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc002b5c600, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003d358f8, 0xc001e6a000, 0xfc9, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 339 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0031391a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003139190, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0021d3800, 0x7c0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014ec380, 0x6a, 0xc0021d3800, 0x7c0, 0xc0021d3800, 0x7c0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014ec380, 0x6a, 0xc0021d3800, 0x7c0, 0xaa0378, 0x1, 0xc0021d3800, 0x7c0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8fc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 340 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c6c000c60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001daea60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001daea50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003754c00, 0x5dd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb89a0, 0x6c, 0xc003754c00, 0x5dd, 0xc003754c00, 0x5dd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb89a0, 0x6c, 0xc003754c00, 0x5dd, 0xaa0378, 0x1, 0xc003754c00, 0x5dd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 341 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c0c1bca10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00111b1a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00111b190, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00206c000, 0x9c5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0024c6010, 0x69, 0xc00206c000, 0x9c5, 0xc00206c000, 0x9c5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0024c6010, 0x69, 0xc00206c000, 0x9c5, 0xaa0378, 0x1, 0xc00206c000, 0x9c5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9140, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 343 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880ebbf0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003466670, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003466660, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001604c00, 0x5e6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00231e000, 0x7c, 0xc001604c00, 0x5e6, 0xc001604c00, 0x5e6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00231e000, 0x7c, 0xc001604c00, 0x5e6, 0xaa0378, 0x1, 0xc001604c00, 0x5e6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f92c0, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 344 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c480e60d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00111b510, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00111b500, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00021f800, 0x7ec, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00158c91d, 0x5e, 0xc00021f800, 0x7ec, 0xc00021f800, 0x7ec, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00158c91d, 0x5e, 0xc00021f800, 0x7ec, 0xaa0378, 0x1, 0xc00021f800, 0x7ec, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 345 [semacquire]: bytes.makeSlice(0x168, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0030e8b40, 0x60, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0030e8b40, 0xc000717260, 0x60, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0030e8b40, 0xc000717260, 0x60, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0030e8b40, 0xc002625ce0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc0030e8b40, 0xc002625b20, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0030e8b40, 0xc002625ab0, 0xb84d20, 0xc0030e8b40) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0030e8b40, 0xc002625ab0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0010e7050, 0x22693f0d6, 0x1251a20, 0xc0030bc740, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 346 [semacquire]: bytes.makeSlice(0x21b, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00266d388, 0x9b, 0x1) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00266d388, 0xc00180e3c0, 0x9b, 0x5165d7, 0xc0047eb4ee, 0xc002ce8b26) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003346bd0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003346b60) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003346540) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003346460) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001709d50) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc004ee8b10, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00266d518, 0xc0030bc7a0, 0x40, 0xc0004642c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 347 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88cbda20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001629650, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001629630, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0028c2800, 0x7a3, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001160f50, 0x6d, 0xc0028c2800, 0x7a3, 0xc0028c2800, 0x7a3, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001160f50, 0x6d, 0xc0028c2800, 0x7a3, 0xaa0378, 0x1, 0xc0028c2800, 0x7a3, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f95c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 348 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf885d670, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0003d7b30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0003d7b20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000680000, 0xa40, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d4a3a6, 0x58, 0xc000680000, 0xa40, 0xc000680000, 0xa40, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d4a3a6, 0x58, 0xc000680000, 0xa40, 0xaa0378, 0x1, 0xc000680000, 0xa40, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 349 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b6c207b00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018952d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001895290, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001516000, 0x60f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d4441a, 0x66, 0xc001516000, 0x60f, 0xc001516000, 0x60f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d4441a, 0x66, 0xc001516000, 0x60f, 0xaa0378, 0x1, 0xc001516000, 0x60f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 350 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b883e3f20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00330d650, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00330d640, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002c67000, 0x7c0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4a930, 0x67, 0xc002c67000, 0x7c0, 0xc002c67000, 0x7c0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4a930, 0x67, 0xc002c67000, 0x7c0, 0xaa0378, 0x1, 0xc002c67000, 0x7c0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 351 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c341ad8e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0014b0220, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0014b0210, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0001ec000, 0x740, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00158c680, 0x7f, 0xc0001ec000, 0x740, 0xc0001ec000, 0x740, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00158c680, 0x7f, 0xc0001ec000, 0x740, 0xaa0378, 0x1, 0xc0001ec000, 0x740, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f98c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 352 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc0001bf520, 0xc001c5df90, 0x5) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inHeadIM(0xc0001bf520, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:629 +0x9b1 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0001bf520) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0001bf520, 0xc00391f9d0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004060480, 0x0, 0x0, 0x0, 0xc003e5b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004060480, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003e5b8f8, 0xc001718000, 0xff5, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 353 [semacquire]: bytes.makeSlice(0x769, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc003bb5388, 0x145, 0x1) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc003bb5388, 0xc001c01a20, 0x145, 0x5165d7, 0xc001dede28, 0xc003041cd8) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003629f10) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003629ea0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001f23f10) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001f23e30) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00200b3b0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc003c85cb0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003bb5518, 0xc004648660, 0x7c, 0xc003349400) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9a40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 354 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c683a96f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002d6e7a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002d6e790, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0022b9500, 0x905, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d4b880, 0x71, 0xc0022b9500, 0x905, 0xc0022b9500, 0x905, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d4b880, 0x71, 0xc0022b9500, 0x905, 0xaa0378, 0x1, 0xc0022b9500, 0x905, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9b00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 355 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc000563000, 0xd86, 0xc003d13218, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc000563000, 0xd86, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003d133c0, 0xaa04fd, 0x2, 0xc000563000, 0xd86, 0x2, 0x18d, 0xc0016bdb00) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc000563000, 0xd86, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003d13518, 0xc0013e6b60, 0x82, 0xc004442c7c) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9bc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 356 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc001339c00, 0x632, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc001339c00, 0x632, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc001339c00, 0x632, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc001339c00, 0x632, 0x0, 0x0, 0x632, 0xc001339c00, 0x632) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc001339c00, 0x632, 0x632, 0x800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00033f0e0, 0x5d, 0xc001339c00, 0x632, 0xc001339c00, 0x632, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00033f0e0, 0x5d, 0xc001339c00, 0x632, 0xaa0378, 0x1, 0xc001339c00, 0x632, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9c80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 882 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0045cfc00, 0x363, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:71 +0x129 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0045cfc00, 0x363, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0045cfc00, 0x363, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0045cfc00, 0x363, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0045cfc00, 0x363, 0x0, 0x0, 0x363, 0xc0045cfc00, 0x363) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0045cfc00, 0x363, 0x363, 0x380) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002136c80, 0x75, 0xc0045cfc00, 0x363, 0xc0045cfc00, 0x363, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002136c80, 0x75, 0xc0045cfc00, 0x363, 0xaa0378, 0x1, 0xc0045cfc00, 0x363, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717e60, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 886 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002d8e380, 0xc0057c12c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0057c13c0, 0xaa0569, 0x2, 0xc0017bed00, 0x878, 0x2, 0xf6, 0xc002d8e360) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc0017bed00, 0x878, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0057c1518, 0xc0013e7ca0, 0x64, 0xc00436d810) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e1e0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 770 [semacquire]: regexp.newQueue(...) /usr/local/go/src/regexp/onepass.go:141 regexp.makeOnePass(0xc001f6fb00, 0xc001f6fb00) /usr/local/go/src/regexp/onepass.go:306 +0x93 regexp.compileOnePass(0xc001f6faa0, 0xc001f6faa0) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc0035a7300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc0035a7300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0035a7300, 0x0, 0xb856e0, 0xc002d8e7c8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0035a7300, 0xc001640620, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0035a7300, 0x42ca96, 0xc001f6fa70, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc0035a7370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc002b039c0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0034934d0, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc0035a7518, 0xc00146c5a0, 0xabc101, 0x1d, 0x72, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030734a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1350 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc000330900, 0x8d5, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x317 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc000330900, 0x8d5, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc000330900, 0x8d5, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc000330900, 0x8d5, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc000330900, 0x8d5, 0x0, 0x0, 0x8d5, 0xc000330900, 0x8d5) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc000330900, 0x8d5, 0x8d5, 0xa80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0033e8060, 0x59, 0xc000330900, 0x8d5, 0xc000330900, 0x8d5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0033e8060, 0x59, 0xc000330900, 0x8d5, 0xaa0378, 0x1, 0xc000330900, 0x8d5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2cae0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 434 [semacquire]: bytes.makeSlice(0x96d, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00445d388, 0x141, 0x210) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00445d388, 0xc0011622c0, 0x141, 0x5165d7, 0xc0018162ec, 0xc00041cc70) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001178380) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001178310) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001165ce0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001165c00) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001165500) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0004aaed0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00445d518, 0xc0020d6fc0, 0x83, 0xc0011401b0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9d40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 435 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b8c193700, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00315be40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00315be20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0010d6000, 0xdf6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010d4e88, 0x6a, 0xc0010d6000, 0xdf6, 0xc0010d6000, 0xdf6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010d4e88, 0x6a, 0xc0010d6000, 0xdf6, 0xaa0378, 0x1, 0xc0010d6000, 0xdf6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e120, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 436 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fafa0, 0x0, 0x0, 0x0, 0xc002ee1b00, 0x8ac, 0x2, 0xc001131a58, 0xaa3a2a, 0x4, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0001fafa0, 0xc002ee1b00, 0x8ac, 0x0, 0x0, 0xc000235650, 0x127d7a0) /usr/local/go/src/regexp/regexp.go:557 +0x10a _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa3a2a, 0x4, 0xc002ee1b00, 0x8ac, 0x0, 0x0, 0x10, 0xab52f4) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e1e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:304 +0x33a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 437 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).breakLongLines(0xc004f1d0c0, 0xaa04bf, 0x2, 0xc001706d00, 0x19e, 0xae62c8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:462 +0x58c github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc004f1d0c0, 0xaa04bf, 0x2, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:426 +0x63 github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc004f1d0c0, 0xc00373a620, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:298 +0xb1 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc004f1d0c0, 0xc00373a620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004f1d0c0, 0xc00373a620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f1d0c0, 0xc0030d05b0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0012c30c0, 0xc0030d05b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0012c30c0, 0xc0030d05b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f1d0c0, 0xc0030d04d0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0012c30c0, 0xc0030d04d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0012c30c0, 0xc0030d04d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f1d0c0, 0xc002b3bdc0, 0xc004f7ce00, 0x7f1cb42a2108) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0012c30c0, 0xc002b3bdc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0012c30c0, 0xc002b3bdc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f1d0c0, 0xc002b3bce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0012c30c0, 0xc002b3bce0, 0x54b170, 0xc002abd2b0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc002b3bce0, 0x0, 0x0, 0x0, 0x0, 0xc002b3bce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002191b00, 0x0, 0x0, 0x0, 0x1500, 0xc0056bc000, 0x1425, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0056bc000, 0x1425, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc0004ad260) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0012c3518, 0xc000d81d00, 0xc0015d1460) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 438 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1ba800cc60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002990750, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002990740, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002365c00, 0x6f6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb8bd0, 0x66, 0xc002365c00, 0x6f6, 0xc002365c00, 0x6f6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb8bd0, 0x66, 0xc002365c00, 0x6f6, 0xaa0378, 0x1, 0xc002365c00, 0x6f6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e6c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 439 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9c0f2110, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000d5b400, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000d5b3f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002ad9880, 0x355, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00048e8c0, 0x50, 0xc002ad9880, 0x355, 0xc002ad9880, 0x355, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00048e8c0, 0x50, 0xc002ad9880, 0x355, 0xaa0378, 0x1, 0xc002ad9880, 0x355, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 440 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c1000b0f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0006b5350, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0006b5340, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002ec8800, 0x785, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001252540, 0x62, 0xc002ec8800, 0x785, 0xc002ec8800, 0x785, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001252540, 0x62, 0xc002ec8800, 0x785, 0xaa0378, 0x1, 0xc002ec8800, 0x785, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e9c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 441 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bfc004370, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00153c0f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00153c0d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003884a00, 0x619, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0020c66c0, 0x3a, 0xc003884a00, 0x619, 0xc003884a00, 0x619, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0020c66c0, 0x3a, 0xc003884a00, 0x619, 0xaa0378, 0x1, 0xc003884a00, 0x619, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007eb40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 442 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88004200, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00021ab30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00021ab10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002a80900, 0x844, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb90a0, 0x68, 0xc002a80900, 0x844, 0xc002a80900, 0x844, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb90a0, 0x68, 0xc002a80900, 0x844, 0xaa0378, 0x1, 0xc002a80900, 0x844, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ecc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 443 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c74013bc0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001281bc0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001281bb0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00103b600, 0x8cf, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb8230, 0x62, 0xc00103b600, 0x8cf, 0xc00103b600, 0x8cf, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb8230, 0x62, 0xc00103b600, 0x8cf, 0xaa0378, 0x1, 0xc00103b600, 0x8cf, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ee40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 444 [runnable]: unicode.ToLower(0xc00000043e, 0x12c9) /usr/local/go/src/unicode/letter.go:261 +0x13 strings.Map(0xae62d0, 0xc00377e637, 0x12c9, 0xc006d21248, 0x79bc18) /usr/local/go/src/strings/strings.go:501 +0x2cc strings.ToLower(0xc00377e602, 0x12fe, 0x0, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00161d518, 0xc00000f9a0, 0xc0066b7020) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:297 +0x11e github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007efc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 445 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b70104a70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0031d1620, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0031d1610, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000ff6000, 0xed4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000ee6050, 0x50, 0xc000ff6000, 0xed4, 0xc000ff6000, 0xed4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000ee6050, 0x50, 0xc000ff6000, 0xed4, 0xaa0378, 0x1, 0xc000ff6000, 0xed4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 446 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.(*Model).Predict.func1(0x7f1a8f18aa50, 0xda9) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:140 +0x2d _/home/ec2-user/environment/cluster2/cluster2/fasttgo.(*Model).Predict(0xc0016bd5a0, 0xc0019ad000, 0xda9, 0x0, 0x0, 0x0, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:140 +0x7e _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLangFT(0xc0019ad000, 0xda9, 0xaa058b, 0x2) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesft.go:14 +0x5f _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001166180, 0x72, 0xc0019ad000, 0xda9, 0xc0019ad000, 0xda9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:12 +0x6b _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001166180, 0x72, 0xc0019ad000, 0xda9, 0xaa0378, 0x1, 0xc0019ad000, 0xda9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f2c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 447 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b74202290, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d873b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d873a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001cccc00, 0xbd8, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001166580, 0x79, 0xc001cccc00, 0xbd8, 0xc001cccc00, 0xbd8, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001166580, 0x79, 0xc001cccc00, 0xbd8, 0xaa0378, 0x1, 0xc001cccc00, 0xbd8, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 448 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c80001df0, 0x7f1c80002c00) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00186a5f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00186a5e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0017d9000, 0xf28, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb87e0, 0x6a, 0xc0017d9000, 0xf28, 0xc0017d9000, 0xf28, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb87e0, 0x6a, 0xc0017d9000, 0xf28, 0xaa0378, 0x1, 0xc0017d9000, 0xf28, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f5c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 449 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0039245c0, 0xc0014bd2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0014bd3c0, 0xaa059b, 0x2, 0xc00191e000, 0x2867, 0x1, 0x38d, 0xc002ec2700) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002356b0, 0xc00191e000, 0x2867, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0014bd518, 0xc0000be960, 0x7b, 0xc00158c080) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 450 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88016180, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002d8bf20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002d8bf10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00150ea00, 0x1a38, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d4463f, 0x81, 0xc00150ea00, 0x1a38, 0xc00150ea00, 0x1a38, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d4463f, 0x81, 0xc00150ea00, 0x1a38, 0xaa0378, 0x1, 0xc00150ea00, 0x1a38, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007f8c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 451 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc03a7240, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002991970, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002991960, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0004fa000, 0xa4b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d763c0, 0x4f, 0xc0004fa000, 0xa4b, 0xc0004fa000, 0xa4b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d763c0, 0x4f, 0xc0004fa000, 0xa4b, 0xaa0378, 0x1, 0xc0004fa000, 0xa4b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fa40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 452 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8801bd30, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003749520, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003749510, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00133eb00, 0x507, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001166e00, 0x73, 0xc00133eb00, 0x507, 0xc00133eb00, 0x507, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001166e00, 0x73, 0xc00133eb00, 0x507, 0xaa0378, 0x1, 0xc00133eb00, 0x507, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fbc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 453 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c241a8b50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d69490, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d69480, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0017bdb00, 0x8c4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001167380, 0x7b, 0xc0017bdb00, 0x8c4, 0xc0017bdb00, 0x8c4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001167380, 0x7b, 0xc0017bdb00, 0x8c4, 0xaa0378, 0x1, 0xc0017bdb00, 0x8c4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fd40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 454 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc005d8c000, 0x265f, 0x265f, 0xc00437c000) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc005d8c000, 0x265f, 0x7544a2, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc000bef588, 0xaa058b, 0x2, 0xc005d8c000, 0x265f, 0x641e2d, 0x0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc000bef518, 0xc00187eb40, 0x64) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 455 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88002260, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001182010, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001182004, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00189cc80, 0xc2c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001d96000, 0x82, 0xc00189cc80, 0xc2c, 0xc00189cc80, 0xc2c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001d96000, 0x82, 0xc00189cc80, 0xc2c, 0xaa0378, 0x1, 0xc00189cc80, 0xc2c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 456 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88018790, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0031d0030, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0031d0020, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003e64000, 0xa13, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010079a0, 0x96, 0xc003e64000, 0xa13, 0xc003e64000, 0xa13, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010079a0, 0x96, 0xc003e64000, 0xa13, 0xaa0378, 0x1, 0xc003e64000, 0xa13, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 457 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c3010f3e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018929f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018929d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000fc5000, 0xb49, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001244000, 0xa4, 0xc000fc5000, 0xb49, 0xc000fc5000, 0xb49, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001244000, 0xa4, 0xc000fc5000, 0xb49, 0xaa0378, 0x1, 0xc000fc5000, 0xb49, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1177 [semacquire]: strings.makeCutsetFunc(0xaa4e4b, 0x5, 0xa7c820) /usr/local/go/src/strings/strings.go:830 +0x4a strings.TrimLeft(0xc001738e08, 0x5, 0xaa4e4b, 0x5, 0x5, 0x0) /usr/local/go/src/strings/strings.go:855 +0x61 golang.org/x/net/html.inHeadIM(0xc0033108f0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:626 +0x969 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0033108f0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0033108f0, 0xc002a5df80, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004c4cfa0, 0x0, 0x0, 0x0, 0xc00569f200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004c4cfa0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00569f8f8, 0xc004f70000, 0xde1, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584ba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 459 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88001ce0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00359ac80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00359ac60, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000b31800, 0xb4a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b3050, 0x8a, 0xc000b31800, 0xb4a, 0xc000b31800, 0xb4a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b3050, 0x8a, 0xc000b31800, 0xb4a, 0xaa0378, 0x1, 0xc000b31800, 0xb4a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 460 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b817d9400, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001f7c0e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001f7c0c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0015b1600, 0x8f8, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0017c7d80, 0x80, 0xc0015b1600, 0x8f8, 0xc0015b1600, 0x8f8, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0017c7d80, 0x80, 0xc0015b1600, 0x8f8, 0xaa0378, 0x1, 0xc0015b1600, 0x8f8, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 461 [semacquire]: strings.genSplit(0xc00372e000, 0xded, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xded, 0xc00369f000, 0xdf3) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0014b9518, 0xc0019d6060, 0xc005b54780) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:321 +0x7b8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 462 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b6c694810, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b5eaf0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b5eae0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000681500, 0x961, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b30e0, 0x81, 0xc000681500, 0x961, 0xc000681500, 0x961, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b30e0, 0x81, 0xc000681500, 0x961, 0xaa0378, 0x1, 0xc000681500, 0x961, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 463 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880018c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002d36040, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002d36020, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00060a000, 0xf04, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c72870, 0x83, 0xc00060a000, 0xf04, 0xc00060a000, 0xf04, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c72870, 0x83, 0xc00060a000, 0xf04, 0xaa0378, 0x1, 0xc00060a000, 0xf04, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360c00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 464 [semacquire]: strings.genSplit(0xc002782400, 0xa80, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc002ab6000, 0x123, 0x123) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc001a0f3c0, 0xaa04fd, 0x2, 0xc00060ca80, 0xa80, 0x2, 0x123, 0xc002ec2660) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a3c0, 0xc00060ca80, 0xa80, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001a0f518, 0xc000d80880, 0x91, 0xc000fa4140) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 465 [semacquire]: regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc00170d080, 0x14e, 0xaa0378, 0x1, 0x0, 0x0) /usr/local/go/src/regexp/regexp.go:560 +0x135 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0055bb0c0, 0xc003d82460, 0xc0055ba1b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055bb0c0, 0xc003d823f0, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0055bb0c0, 0xc003d823f0, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0055bb0c0, 0xc003d823f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0055bb0c0, 0xc003d823f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055bb0c0, 0xc001c6bb20, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0014a30c0, 0xc001c6bb20, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0014a30c0, 0xc001c6bb20, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055bb0c0, 0xc001c6ba40, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0014a30c0, 0xc001c6ba40, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0014a30c0, 0xc001c6ba40, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055bb0c0, 0xc001c6b340, 0xc000c42e8c, 0x4) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0014a30c0, 0xc001c6b340, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0014a30c0, 0xc001c6b340, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055bb0c0, 0xc001c6b260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0014a30c0, 0xc001c6b260, 0x54b170, 0xc004547860) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc001c6b260, 0x0, 0x0, 0x0, 0x0, 0xc001c6b260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0014d6ab0, 0x0, 0x0, 0x0, 0x1800, 0xc000f1b000, 0x1630, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc000f1b000, 0x1630, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xbffcb17a00000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0014a3518, 0xc000d80b60, 0xc00042cb60) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 466 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Join(0xc0045ba200, 0x6, 0x8, 0xaa03a3, 0x1, 0xc0045ba200, 0x4) /usr/local/go/src/strings/strings.go:438 +0x4c8 github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc000323388, 0xc0005f7c40, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:135 +0x1c8 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc000323388, 0xc003044930, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0xc000323301, 0xc0009e24f8) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc000323518, 0xc003044930, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 467 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc4209df0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020f3410, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020f33f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001e29800, 0x7d0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010d4500, 0xa0, 0xc001e29800, 0x7d0, 0xc001e29800, 0x7d0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010d4500, 0xa0, 0xc001e29800, 0x7d0, 0xaa0378, 0x1, 0xc001e29800, 0x7d0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 468 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc000420000, 0x1126, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:87 +0x379 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc000420000, 0x1126, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc000420000, 0x1126, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc000420000, 0x1126, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc000420000, 0x1126, 0x0, 0x0, 0x1126, 0xc000420000, 0x1126) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc000420000, 0x1126, 0x1126, 0x1300) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c57780, 0x79, 0xc000420000, 0x1126, 0xc000420000, 0x1126, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c57780, 0x79, 0xc000420000, 0x1126, 0xaa0378, 0x1, 0xc000420000, 0x1126, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 469 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0049f19c0, 0xc000b752c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc000b753c0, 0xaa0599, 0x2, 0xc00620a000, 0x10aa, 0x1e, 0x1d5, 0xc003924f00) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a3c0, 0xc00620a000, 0x10aa, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000b75518, 0xc002d8e460, 0x62, 0xc0012536c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 470 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be85b5480, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0011825a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001182590, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000f83000, 0x7ec, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b332e, 0x7a, 0xc000f83000, 0x7ec, 0xc000f83000, 0x7ec, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b332e, 0x7a, 0xc000f83000, 0x7ec, 0xaa0378, 0x1, 0xc000f83000, 0x7ec, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 471 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c541a6ba0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00394fe20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00394fe10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00185ac00, 0x3b4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c7212e, 0x7b, 0xc00185ac00, 0x3b4, 0xc00185ac00, 0x3b4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c7212e, 0x7b, 0xc00185ac00, 0x3b4, 0xaa0378, 0x1, 0xc00185ac00, 0x3b4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 472 [semacquire]: strings.Replace(0xc0019da000, 0x2e47, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0xb, 0xc0019da000, 0x2e47) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc002acb8f8, 0xc001e97000, 0x2e40, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 473 [semacquire]: strings.Replace(0xc00217e000, 0x1bc7, 0xab2ea2, 0xd, 0xab36a1, 0xe, 0x2, 0xc00217e000, 0x1bc7) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:176 +0xbd github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003e598f8, 0xc001716000, 0x1bc5, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361b00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 474 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c7c16f670, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b5cc60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b5cc50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001acd800, 0x594, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000381080, 0x58, 0xc001acd800, 0x594, 0xc001acd800, 0x594, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000381080, 0x58, 0xc001acd800, 0x594, 0xaa0378, 0x1, 0xc001acd800, 0x594, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361c80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 475 [semacquire]: github.com/gigawattio/window.Rolling(0xc001020000, 0xf8, 0xf8, 0x3, 0x0, 0xf7, 0xc001020000) /home/develop/go/src/github.com/gigawattio/window/rolling.go:15 +0x140 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc001d49518, 0xc0013e7260, 0xc005af7580) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:329 +0x8ed github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361e00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 476 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc001b55800, 0x5d3, 0xae4d68) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc001b55800, 0x5d3, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc001b55800, 0x5d3, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc001b55800, 0x5d3, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc001b55800, 0x5d3, 0x0, 0x0, 0x5d3, 0xc001b55800, 0x5d3) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc001b55800, 0x5d3, 0x5d3, 0x600) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00037e4e0, 0x56, 0xc001b55800, 0x5d3, 0xc001b55800, 0x5d3, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00037e4e0, 0x56, 0xc001b55800, 0x5d3, 0xaa0378, 0x1, 0xc001b55800, 0x5d3, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361f80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 477 [semacquire]: strings.genSplit(0xc006001800, 0x741, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc006010000, 0xfa, 0xfa) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0017673c0, 0xaa04fd, 0x2, 0xc0028ce000, 0x741, 0x3, 0xfa, 0xc005c81040) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0005d2060, 0xc0028ce000, 0x741, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001767518, 0xc00187f900, 0x72, 0xc001167c00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e120, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 478 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b8c38c300, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002a760c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002a760b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001811900, 0x48d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0024c7100, 0x74, 0xc001811900, 0x48d, 0xc001811900, 0x48d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0024c7100, 0x74, 0xc001811900, 0x48d, 0xaa0378, 0x1, 0xc001811900, 0x48d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e2a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 479 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be0029200, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00189a0b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00189a0a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003afb700, 0x52b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001166c80, 0x7c, 0xc003afb700, 0x52b, 0xc003afb700, 0x52b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001166c80, 0x7c, 0xc003afb700, 0x52b, 0xaa0378, 0x1, 0xc003afb700, 0x52b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 480 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c04104d10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00390f770, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00390f760, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0023eef00, 0x4a6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb4070, 0x62, 0xc0023eef00, 0x4a6, 0xc0023eef00, 0x4a6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb4070, 0x62, 0xc0023eef00, 0x4a6, 0xaa0378, 0x1, 0xc0023eef00, 0x4a6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e5a0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 481 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c1c104a70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0000a5850, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0000a5840, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001a44a80, 0xa2c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001006000, 0x99, 0xc001a44a80, 0xa2c, 0xc001a44a80, 0xa2c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001006000, 0x99, 0xc001a44a80, 0xa2c, 0xaa0378, 0x1, 0xc001a44a80, 0xa2c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 482 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0066b6a00, 0xc003e1b2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003e1b3c0, 0xaa04fd, 0x2, 0xc005a0d980, 0x18d3, 0x2, 0x1fa, 0xc002ec3e00) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0005d2060, 0xc005a0d980, 0x18d3, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003e1b518, 0xc0049f07e0, 0x68, 0xc004d9ed20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e8a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 483 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003ae3588, 0xaa058b, 0x2, 0xc0068b1340, 0x2a5, 0x0, 0xc003ae33d8, 0xc0068fbee8) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc003ae3518, 0xc006b64e10, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:528 +0xfd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc003ae3518, 0xc0005f7400, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ea20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 484 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc001ded880, 0x336, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc001ded880, 0x336, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc001ded880, 0x336, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc001ded880, 0x336, 0x0, 0x0, 0x336, 0xc001ded880, 0x336) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc001ded880, 0x336, 0x336, 0x380) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4f420, 0x63, 0xc001ded880, 0x336, 0xc001ded880, 0x336, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4f420, 0x63, 0xc001ded880, 0x336, 0xaa0378, 0x1, 0xc001ded880, 0x336, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037eba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 485 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c897d84f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0027ff5d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0027ff5c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004ed2000, 0x2df, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002f71100, 0x40, 0xc004ed2000, 0x2df, 0xc004ed2000, 0x2df, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002f71100, 0x40, 0xc004ed2000, 0x2df, 0xaa0378, 0x1, 0xc004ed2000, 0x2df, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ed20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 486 [semacquire]: strings.genSplit(0xc00301e380, 0x330, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x330, 0xc001bbfc00, 0x330) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc002a43588, 0xaa058b, 0x2, 0xc001bbfc00, 0x330, 0x7, 0x19, 0xc0000beea0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc002a43518, 0xc002ec36e0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037eea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 487 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc002373900, 0xc11, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc002373900, 0xc11, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc002373900, 0xc11, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc002373900, 0xc11, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc002373900, 0xc11, 0x0, 0x0, 0xc11, 0xc002373900, 0xc11) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc002373900, 0xc11, 0xc11, 0x1000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000e72ddd, 0x93, 0xc002373900, 0xc11, 0xc002373900, 0xc11, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000e72ddd, 0x93, 0xc002373900, 0xc11, 0xaa0378, 0x1, 0xc002373900, 0xc11, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 488 [semacquire]: regexp.onePassCopy(0xc002791080, 0xc002791080) /usr/local/go/src/regexp/onepass.go:225 +0x5d regexp.compileOnePass(0xc002791080, 0xc002791080) /usr/local/go/src/regexp/onepass.go:497 +0x11b regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc0028e7300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc0028e7300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0028e7300, 0x0, 0xb856e0, 0xc0000be868, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0028e7300, 0xc0025edf80, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0028e7300, 0x42ca96, 0xc002791050, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc0028e7370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc0000bf8a0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00111fc50, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc0028e7518, 0xc003924380, 0xabc101, 0x1d, 0x67, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f1a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 489 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc002c31800, 0x6f7, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc002c31800, 0x6f7, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc002c31800, 0x6f7, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc002c31800, 0x6f7, 0x0, 0x0, 0x6f7, 0xc002c31800, 0x6f7) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc002c31800, 0x6f7, 0x6f7, 0x800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0016309b0, 0x49, 0xc002c31800, 0x6f7, 0xc002c31800, 0x6f7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0016309b0, 0x49, 0xc002c31800, 0x6f7, 0xaa0378, 0x1, 0xc002c31800, 0x6f7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 490 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be4432040, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0036a23d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0036a23b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001fcf600, 0x8d6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0016820a0, 0x50, 0xc001fcf600, 0x8d6, 0xc001fcf600, 0x8d6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0016820a0, 0x50, 0xc001fcf600, 0x8d6, 0xaa0378, 0x1, 0xc001fcf600, 0x8d6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f4a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 491 [semacquire]: strings.genSplit(0xc005324a00, 0x6a3, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc005dc1340, 0x40000c00216d360) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00216d3c0, 0xaa058b, 0x2, 0xc005324300, 0x6a3, 0xc005324300, 0xc00216d3b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0000ae450, 0xc005324300, 0x6a3, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00216d518, 0xc0005f7d60, 0x4c, 0xc00048f590) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 492 [semacquire]: regexp/syntax.(*compiler).inst(...) /usr/local/go/src/regexp/syntax/compile.go:173 regexp/syntax.(*compiler).rune(0xc004f8cb30, 0xc002f70a48, 0x1, 0xe, 0xd5, 0x600000003) /usr/local/go/src/regexp/syntax/compile.go:267 +0x27c regexp/syntax.(*compiler).compile(0xc004f8cb30, 0xc004e38620, 0x200000001) /usr/local/go/src/regexp/syntax/compile.go:110 +0x12c regexp/syntax.(*compiler).compile(0xc004f8cb30, 0xc004e38690, 0x0) /usr/local/go/src/regexp/syntax/compile.go:156 +0xb29 regexp/syntax.Compile(0xc004e38690, 0xc004e38690, 0x1, 0x1) /usr/local/go/src/regexp/syntax/compile.go:83 +0x10a regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:178 +0xd7 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc004f8cff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc004f8cff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc001d8169c) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc004f8cff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc004f8cff8, 0x1, 0xc004c94230, 0xc0101c04a80, 0x2804b42a3c28) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc004f8cff8, 0x4, 0x253, 0xc002b01d01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc002b01000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc002abc1a0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc004f24030, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0001958f8, 0xc001256000, 0xdad, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f7a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 493 [runnable]: github.com/PuerkitoBio/goquery.(*Selection).EachWithBreak(0xc006666000, 0xc00176b418, 0x4) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:19 +0x175 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00176b518, 0xc002b03920, 0x56, 0xc0030ccf00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:126 +0x236 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 494 [semacquire]: regexp/syntax.(*compiler).inst(...) /usr/local/go/src/regexp/syntax/compile.go:173 regexp/syntax.(*compiler).empty(...) /usr/local/go/src/regexp/syntax/compile.go:260 regexp/syntax.(*compiler).compile(0xc001a0cb30, 0xc002b5fdc0, 0xc001a0c920) /usr/local/go/src/regexp/syntax/compile.go:129 +0xa1e regexp/syntax.(*compiler).compile(0xc001a0cb30, 0xc002b5fea0, 0x0) /usr/local/go/src/regexp/syntax/compile.go:154 +0xb01 regexp/syntax.Compile(0xc002b5fea0, 0xc002b5fea0, 0x1, 0x1) /usr/local/go/src/regexp/syntax/compile.go:83 +0x10a regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:178 +0xd7 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc001a0cff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc001a0cff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc001e70fc4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc001a0cff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc001a0cff8, 0x1, 0xc0028a03f0, 0xc0103f9e000, 0x2804b42a3c28) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc001a0cff8, 0x4, 0x621, 0xc00125a901, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc00125a000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x42c59c, 0x7f1c8c59fdd8, 0xbf) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001f6f440, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc001a0d8f8, 0xc000cdf500, 0x9df, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037faa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 495 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc0005a6ea0, 0xc001e70ff0, 0x8) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc0005a6ea0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0005a6ea0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0005a6ea0, 0xc0020b5880, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0016bcc20, 0x0, 0x0, 0x0, 0xc001d45200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0016bcc20, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc001d458f8, 0xc001675400, 0xb74, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037fc20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 496 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880065c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002efeb90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002efeb80, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001473200, 0x5e1, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00002a460, 0x46, 0xc001473200, 0x5e1, 0xc001473200, 0x5e1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00002a460, 0x46, 0xc001473200, 0x5e1, 0xaa0378, 0x1, 0xc001473200, 0x5e1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037fda0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 497 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8801be90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00223b0c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00223b0b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0029f1100, 0x6b5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010d464c, 0x89, 0xc0029f1100, 0x6b5, 0xc0029f1100, 0x6b5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010d464c, 0x89, 0xc0029f1100, 0x6b5, 0xaa0378, 0x1, 0xc0029f1100, 0x6b5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ff20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 498 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc000f453c0, 0xaa0599, 0x2, 0xc003480000, 0x97e, 0xc003480000, 0xc000f453b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235560, 0xc003480000, 0x97e, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000f45518, 0xc0040604c0, 0x43, 0xc00002a5f0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e0c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 499 [semacquire]: strings.makeCutsetFunc(0xaa4e4b, 0x5, 0xa7c820) /usr/local/go/src/strings/strings.go:830 +0x4a strings.TrimLeft(0xc001d86000, 0x5, 0xaa4e4b, 0x5, 0x5, 0x0) /usr/local/go/src/strings/strings.go:855 +0x61 golang.org/x/net/html.inHeadIM(0xc0001bf6c0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:626 +0x969 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0001bf6c0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0001bf6c0, 0xc003f87f10, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004060720, 0x0, 0x0, 0x0, 0xc001639200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004060720, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0016398f8, 0xc00166a000, 0xd6a, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 501 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88007380, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001281140, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001281130, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001321600, 0x557, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001316280, 0x91, 0xc001321600, 0x557, 0xc001321600, 0x557, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001316280, 0x91, 0xc001321600, 0x557, 0xaa0378, 0x1, 0xc001321600, 0x557, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 502 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002c4d760, 0xc005dc9220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005dc9588, 0xaa058b, 0x2, 0xc004fb3380, 0x164, 0x5, 0x11, 0xc002c4d700) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc005dc9518, 0xc0005f7960, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e6c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 503 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0005f7d20, 0xc0026cd2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0026cd3c0, 0xaa04f9, 0x2, 0xc001f52a00, 0x489, 0x1, 0x97, 0xc0005f7d00) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235560, 0xc001f52a00, 0x489, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0026cd518, 0xc002ec3c20, 0x55, 0xc00049e900) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 504 [semacquire]: regexp.makeOnePass(0xc001db8a50, 0xc001db8a50) /usr/local/go/src/regexp/onepass.go:309 +0x20e regexp.compileOnePass(0xc001db89f0, 0xc001db89f0) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc0026c6ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc0026c6ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc001d81514) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0026c6ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0026c6ff8, 0x1, 0xc004c94070, 0xc01014c2e00, 0x2804b42a2e98) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0026c6ff8, 0x4, 0x765, 0xc002b00801, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc002b00000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203000, 0xc0001beb60, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001db89c0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0026c78f8, 0xc000f5f600, 0x89c, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049e9c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 505 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inBodyIM(0xc0006081a0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:1097 +0x708 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0006081a0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0006081a0, 0xc005dc0bd0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002ec3c40, 0x0, 0x0, 0x0, 0xc0026c9200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002ec3c40, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0026c98f8, 0xc001607500, 0x992, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049eb40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 506 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c602fffe0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0025b6060, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0025b6050, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00219d180, 0x328, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001161f80, 0x69, 0xc00219d180, 0x328, 0xc00219d180, 0x328, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001161f80, 0x69, 0xc00219d180, 0x328, 0xaa0378, 0x1, 0xc00219d180, 0x328, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049ecc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 507 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88006e00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020fade0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020fadc0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00114ee00, 0x6b0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004be420, 0x59, 0xc00114ee00, 0x6b0, 0xc00114ee00, 0x6b0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004be420, 0x59, 0xc00114ee00, 0x6b0, 0xaa0378, 0x1, 0xc00114ee00, 0x6b0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049ee40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 508 [semacquire]: strings.genSplit(0xc002401000, 0xdb3, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc005015800, 0x15b, 0x15b) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0030773c0, 0xaa04df, 0x2, 0xc005d3b000, 0xdb3, 0x9, 0x15b, 0xc005d38100) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235560, 0xc005d3b000, 0xdb3, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003077518, 0xc0005f6de0, 0x98, 0xc000d6d860) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049efc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 509 [semacquire]: regexp.(*Regexp).replaceAll(0xc0042b4960, 0x0, 0x0, 0x0, 0xc005cab200, 0x82e, 0x2, 0xc002421218, 0xc005cab200, 0x82e, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0042b4960, 0xc005cab200, 0x82e, 0xaa0378, 0x1, 0x1, 0xe) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0012c7518, 0xc00187faa0, 0xc000c1bae0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 510 [semacquire]: bytes.makeSlice(0x6f0, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc001017388, 0x1e2, 0x85) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc001017388, 0xc002027c00, 0x1e2, 0x5165d7, 0xc0025f6fbd, 0xc0027f8318) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002af3ab0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002af3a40) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002af32d0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002af31f0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002af2af0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc003c85440, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001017518, 0xc0030bc240, 0x70, 0xc000c4e7e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f2c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 511 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd823e980, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000db9a40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000db9a30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003874000, 0x963, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4e0e0, 0x67, 0xc003874000, 0x963, 0xc003874000, 0x963, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4e0e0, 0x67, 0xc003874000, 0x963, 0xaa0378, 0x1, 0xc003874000, 0x963, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 512 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inHeadIM(0xc00232e410, 0x100) /home/develop/go/src/golang.org/x/net/html/parse.go:640 +0x2e8 golang.org/x/net/html.(*parser).parseCurrentToken(0xc00232e410) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc00232e410, 0xc004f2be30, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc001cd54d0, 0x0, 0x0, 0x0, 0x0, 0xb6bf7f, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc006392390, 0x0, 0x0, 0x0, 0x1300, 0xc006396000, 0x11cf, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc006396000, 0x11cf, 0x0, 0x0, 0x0, 0x440d95, 0xc006392330, 0x7f1c8d661832, 0xb0e5f9d800000002) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0028a7518, 0xc0001d45c0, 0xc006394160) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f5c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 514 [semacquire]: bytes.makeSlice(0x384, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0016e1388, 0x160, 0x7) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0016e1388, 0xc0011631e0, 0x160, 0x5165d7, 0xc0041adf44, 0xc0046ad670) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002dccb60) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002dccaf0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002dcc620) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002dcc540) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002e6dea0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc004833740, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0016e1518, 0xc002ec2f60, 0x92, 0xc001317d70) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049f8c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 515 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c2d08d2d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0031d1480, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0031d1470, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0054cf200, 0x403, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00036c3f0, 0x6f, 0xc0054cf200, 0x403, 0xc0054cf200, 0x403, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00036c3f0, 0x6f, 0xc0054cf200, 0x403, 0xaa0378, 0x1, 0xc0054cf200, 0x403, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049fa40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 517 [semacquire]: strings.genSplit(0xc00605a000, 0x1ed6, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc006054000, 0x2b0, 0x2b0) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0026cb3c0, 0xaa04fd, 0x2, 0xc001dea000, 0x1ed6, 0x2, 0x2b0, 0xc0030bcec0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0004263f0, 0xc001dea000, 0x1ed6, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0026cb518, 0xc0030bca40, 0x32, 0xc00530c780) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049fd40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 518 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88008a30, 0x7f1c88008b00) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001ee4c10, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001ee4c00, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001d5e800, 0x7dc, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00033ec77, 0x43, 0xc001d5e800, 0x7dc, 0xc001d5e800, 0x7dc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00033ec77, 0x43, 0xc001d5e800, 0x7dc, 0xaa0378, 0x1, 0xc001d5e800, 0x7dc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049fec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 519 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88007b50, 0x7f1b8810a530) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0017418d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0017418c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001323180, 0x568, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000117a80, 0x40, 0xc001323180, 0x568, 0xc001323180, 0x568, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000117a80, 0x40, 0xc001323180, 0x568, 0xaa0378, 0x1, 0xc001323180, 0x568, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 520 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc0013e60a0, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1215 +0x43 golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0013e60a0, 0x0, 0x0, 0x0, 0xc005977200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0013e60a0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0059778f8, 0xc003f4e000, 0x1af4, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be1e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 521 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880039c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00359bf50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00359bf40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0021d2800, 0x77a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004bf7a0, 0x59, 0xc0021d2800, 0x77a, 0xc0021d2800, 0x77a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004bf7a0, 0x59, 0xc0021d2800, 0x77a, 0xaa0378, 0x1, 0xc0021d2800, 0x77a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 522 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bbaaabfb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0027ff7e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0027ff7d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004034700, 0x323, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00359f860, 0x54, 0xc004034700, 0x323, 0xc004034700, 0x323, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00359f860, 0x54, 0xc004034700, 0x323, 0xaa0378, 0x1, 0xc004034700, 0x323, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be4e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 523 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc0005a7ba0, 0xc001e79b80, 0x29a) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc0005a7ba0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0005a7ba0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0005a7ba0, 0xc005bf77a0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc001f50270, 0x0, 0x0, 0x0, 0x0, 0x1c01, 0xc001f50240) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001f50240, 0x0, 0x0, 0x0, 0x2000, 0xc004a14000, 0x1c4b, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc004a14000, 0x1c4b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x981143da00000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0045e5518, 0xc0049f1c40, 0xc003432500) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 524 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc006520e00, 0x352, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:71 +0x129 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc006520e00, 0x352, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc006520e00, 0x352, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc006520e00, 0x352, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc006520e00, 0x352, 0x0, 0x0, 0x352, 0xc006520e00, 0x352) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc006520e00, 0x352, 0x352, 0x380) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0024c6f80, 0x7f, 0xc006520e00, 0x352, 0xc006520e00, 0x352, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0024c6f80, 0x7f, 0xc006520e00, 0x352, 0xaa0378, 0x1, 0xc006520e00, 0x352, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be7e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 525 [semacquire]: github.com/fatih/set.(*Set).Add(0xc000e0f020, 0xc002ac72c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc002ac73c0, 0xaa05c9, 0x2, 0xc001265500, 0x65f, 0x1, 0xd5, 0xc00367f5a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235560, 0xc001265500, 0x65f, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002ac7518, 0xc00039a5a0, 0x6e, 0xc000c4e690) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004be960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 526 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc000ba6dd0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc000ba6ea0, 0xc001eb2460, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00187e4a0, 0x0, 0x0, 0x0, 0xc003d3b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00187e4a0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003d3b8f8, 0xc002814400, 0xaa8, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004beae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 527 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88001b80, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0019b01c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0019b01b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00180b600, 0x567, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0017c6000, 0x79, 0xc00180b600, 0x567, 0xc00180b600, 0x567, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0017c6000, 0x79, 0xc00180b600, 0x567, 0xaa0378, 0x1, 0xc00180b600, 0x567, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bec60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 528 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c04104bb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002a8fbd0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002a8fbc4, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003697500, 0x950, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4b110, 0x68, 0xc003697500, 0x950, 0xc003697500, 0x950, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4b110, 0x68, 0xc003697500, 0x950, 0xaa0378, 0x1, 0xc003697500, 0x950, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bede0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 529 [semacquire]: regexp.makeOnePass.func1(0xd, 0xc001d86020, 0x10, 0x10, 0x1) /usr/local/go/src/regexp/onepass.go:390 +0x9d8 regexp.makeOnePass(0xc003582030, 0xc003582030) /usr/local/go/src/regexp/onepass.go:448 +0x398 regexp.compileOnePass(0xc00170bdd0, 0xc00170bdd0) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc00181cff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc00181cff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc001f88e6c) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc00181cff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc00181cff8, 0x1, 0xc002a84240, 0xc0102522301, 0x2804b42a42f0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc00181cff8, 0x4, 0x426, 0xc0011f8b01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc0011f8000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203000, 0xc001da55f0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00170bda0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00181d8f8, 0xc001d75800, 0xbdb, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bef60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 530 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88005c20, 0x7f1c58105040) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002990f20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002990f10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00244b900, 0x4c6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011d6280, 0x45, 0xc00244b900, 0x4c6, 0xc00244b900, 0x4c6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011d6280, 0x45, 0xc00244b900, 0x4c6, 0xaa0378, 0x1, 0xc00244b900, 0x4c6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf0e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 531 [semacquire]: strings.genSplit(0xc003e2b200, 0x854, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc002e4d000, 0xef, 0xef) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00355b3c0, 0xaa04d9, 0x2, 0xc004157200, 0x854, 0x1, 0xef, 0xc001e2c060) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0004263f0, 0xc004157200, 0x854, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00355b518, 0xc00039a9a0, 0x83, 0xc00130a900) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 532 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9c275dc0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002371f40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002371f30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00389b680, 0x240, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000ee55c0, 0xb1, 0xc00389b680, 0x240, 0xc00389b680, 0x240, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000ee55c0, 0xb1, 0xc00389b680, 0x240, 0xaa0378, 0x1, 0xc00389b680, 0x240, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf3e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 533 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882b4d10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0046ad530, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0046ad520, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004448a00, 0x4dd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4f960, 0x67, 0xc004448a00, 0x4dd, 0xc004448a00, 0x4dd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4f960, 0x67, 0xc004448a00, 0x4dd, 0xaa0378, 0x1, 0xc004448a00, 0x4dd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 534 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb81aad30, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001540d30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001540d20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000070c00, 0x3c0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014ec4d0, 0x70, 0xc000070c00, 0x3c0, 0xc000070c00, 0x3c0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014ec4d0, 0x70, 0xc000070c00, 0x3c0, 0xaa0378, 0x1, 0xc000070c00, 0x3c0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf6e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 535 [semacquire]: strings.genSplit(0xc004bf1b00, 0x819, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc004313000, 0xe3, 0xe3) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0018bb3c0, 0xaa058b, 0x2, 0xc004bf0900, 0x819, 0x8, 0xe3, 0xc0016bdbe0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235560, 0xc004bf0900, 0x819, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0018bb518, 0xc0005f7e20, 0x62, 0xc000c4e400) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 536 [semacquire]: strings.genSplit(0xc005116800, 0xb42, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xb42, 0xc005115c00, 0xb49) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003f11518, 0xc0046486c0, 0xc001e2c400) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:321 +0x7b8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bf9e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 537 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be853ea40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020fc770, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020fc760, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0022d5b00, 0x416, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003918bd0, 0x83, 0xc0022d5b00, 0x416, 0xc0022d5b00, 0x416, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003918bd0, 0x83, 0xc0022d5b00, 0x416, 0xaa0378, 0x1, 0xc0022d5b00, 0x416, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfb60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 538 [semacquire]: bytes.makeSlice(0x301, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0012c9388, 0x14f, 0x7) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0012c9388, 0xc004815340, 0x14f, 0x5165d7, 0xc00495026b, 0xc001a106c7) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0001c6690) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0001c6620) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0001c6150) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004441f10) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004440f50) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc004ee88d0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0012c9518, 0xc002ec2c00, 0x59, 0xc0000a0d20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 539 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0008db2b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc0008db380, 0xc0001c6ee0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00230dba0, 0x0, 0x0, 0x0, 0xc003f0f200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00230dba0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003f0f8f8, 0xc002df8000, 0xb5f, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004bfe60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 540 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880023c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001628ff0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001628fd0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000558680, 0x523, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001ab4100, 0x3e, 0xc000558680, 0x523, 0xc000558680, 0x523, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001ab4100, 0x3e, 0xc000558680, 0x523, 0xaa0378, 0x1, 0xc000558680, 0x523, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 541 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c1c1b3620, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0000286f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0000286d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003754600, 0x59f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003072600, 0x56, 0xc003754600, 0x59f, 0xc003754600, 0x59f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003072600, 0x56, 0xc003754600, 0x59f, 0xaa0378, 0x1, 0xc003754600, 0x59f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 542 [semacquire]: bytes.makeSlice(0xf8, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc004b05208, 0xf8, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc004b05208, 0xc002917d00, 0xf8, 0x30, 0xa4b3a0, 0x1) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001f48d90) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001f48d20) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc001263500, 0xc001263500, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc004b05518, 0xc00039b1c0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:423 +0x38b github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 885 [semacquire]: regexp/syntax.(*compiler).inst(...) /usr/local/go/src/regexp/syntax/compile.go:173 regexp/syntax.(*compiler).rune(0xc003836e38, 0xc000eec508, 0x1, 0xe, 0xd5, 0x600000003) /usr/local/go/src/regexp/syntax/compile.go:267 +0x27c regexp/syntax.(*compiler).compile(0xc003836e38, 0xc00033bab0, 0x200000001) /usr/local/go/src/regexp/syntax/compile.go:110 +0x12c regexp/syntax.(*compiler).compile(0xc003836e38, 0xc00033bb90, 0x0) /usr/local/go/src/regexp/syntax/compile.go:156 +0xb29 regexp/syntax.Compile(0xc00033bb90, 0xc00033bb90, 0x1, 0x1) /usr/local/go/src/regexp/syntax/compile.go:83 +0x10a regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:178 +0xd7 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003837300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003837300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003837300, 0x0, 0xb856e0, 0xc004648188, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003837300, 0xc000229c00, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003837300, 0x42ca96, 0xc001f4e510, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc003837370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc0017f7080, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc002e51bf0, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc003837518, 0xc0017f6bc0, 0xabc101, 0x1d, 0x8e, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e120, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 884 [semacquire]: strings.Replace(0xc004d6ea00, 0x53b1, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x2, 0xc000235d70, 0x0) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0055a98f8, 0xc004d6ea00, 0x53b1, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 427 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1becb92380, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001a11ce0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001a11cd0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0023ef900, 0x4f1, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004ed1d40, 0x88, 0xc0023ef900, 0x4f1, 0xc0023ef900, 0x4f1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004ed1d40, 0x88, 0xc0023ef900, 0x4f1, 0xaa0378, 0x1, 0xc0023ef900, 0x4f1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 433 [semacquire]: net/url.resolvePath(0xc0040860b8, 0x2c, 0x0, 0x0, 0x7dd8c0, 0xc0041cf378) /usr/local/go/src/net/url/url.go:954 +0xc1 net/url.(*URL).ResolveReference(0xc002c33b80, 0xc002c33b00, 0xc002c33b80) /usr/local/go/src/net/url/url.go:1006 +0xc7 github.com/advancedlogic/GoOse.WebPageResolver(0xc003306240, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/images.go:195 +0x10b github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:153 +0x91a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0007178c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1223 [semacquire]: github.com/PuerkitoBio/goquery.appendWithoutDuplicates(0xc0000bf7e0, 0x4, 0x4, 0xc002701fc0, 0x7, 0x8, 0xc0038f7290, 0xc0000bf7a0, 0x20, 0x20) /home/develop/go/src/github.com/PuerkitoBio/goquery/utilities.go:137 +0x1cf github.com/PuerkitoBio/goquery.mapNodes(0xc0009e2680, 0x1, 0x1, 0xc0038f7360, 0x1, 0x0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:694 +0x159 github.com/PuerkitoBio/goquery.findWithMatcher(0xc0009e2680, 0x1, 0x1, 0xb856e0, 0xc0000bf7a0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:543 +0x81 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001743c80, 0xaa03ab, 0x1, 0xc002790db0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x85 github.com/advancedlogic/GoOse.(*ContentExtractor).GetTags(0xc0038f7518, 0xc00187fac0, 0xc000bd9000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:268 +0xdf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:140 +0x505 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 429 [semacquire]: strings.genSplit(0xc00162ca50, 0xa4, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x1, 0xc000b60e01, 0x23) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc004e9f518, 0xc004025830, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:567 +0xd5 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x3, 0xc004025830) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:636 +0xa4 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0000afec0, 0xc004e9f320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc004e9f518, 0xc0000afb90, 0xc0034336c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc004e9f518, 0xc0000afb90, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc004e9f518, 0xc0000afb90, 0xc0000afb90) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0007175c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 369 [semacquire]: regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc004faed00, 0xff, 0xaa0378, 0x1, 0x0, 0x0) /usr/local/go/src/regexp/regexp.go:560 +0x135 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00385d0c0, 0xc0058db810, 0xc00385c1b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00385d0c0, 0xc0058db7a0, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc00385d0c0, 0xc0058db7a0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00385d0c0, 0xc0058db7a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00385d0c0, 0xc0058db7a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00385d0c0, 0xc0058db180, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0022610c0, 0xc0058db180, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0022610c0, 0xc0058db180, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00385d0c0, 0xc0058db0a0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0022610c0, 0xc0058db0a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0022610c0, 0xc0058db0a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00385d0c0, 0xc0058da9a0, 0xc002ebd880, 0x7f1cb42a3c28) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0022610c0, 0xc0058da9a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0022610c0, 0xc0058da9a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00385d0c0, 0xc0058da8c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0022610c0, 0xc0058da8c0, 0x54b170, 0xc00437b2b0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0058da8c0, 0x0, 0x0, 0x0, 0x0, 0xc0058da8c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00288d2c0, 0x0, 0x0, 0x0, 0xc00, 0xc0024a5c00, 0xaa7, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0024a5c00, 0xaa7, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc003585260) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002261518, 0xc004584860, 0xc0020d6480) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717da0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1221 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88332f10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023ad240, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023ad230, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0003d1200, 0x476, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002af1b80, 0x99, 0xc0003d1200, 0x476, 0xc0003d1200, 0x476, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002af1b80, 0x99, 0xc0003d1200, 0x476, 0xaa0378, 0x1, 0xc0003d1200, 0x476, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717ec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1225 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fb5e0, 0x0, 0x0, 0x0, 0xc0053a1000, 0xeec, 0x2, 0xc003a9da58, 0xaa6444, 0x5, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0001fb5e0, 0xc0053a1000, 0xeec, 0xaa0378, 0x1, 0xc0053a0000, 0xeec) /usr/local/go/src/regexp/regexp.go:557 +0x10a _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa6444, 0x5, 0xc0053a1000, 0xeec, 0xaa0378, 0x1, 0xc0053a1000, 0xeec) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:305 +0x37c created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 407 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88004a40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d81020, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d80ff0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001cbc000, 0x5f4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000026900, 0x80, 0xc001cbc000, 0x5f4, 0xc001cbc000, 0x5f4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000026900, 0x80, 0xc001cbc000, 0x5f4, 0xaa0378, 0x1, 0xc001cbc000, 0x5f4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 544 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc86b4fa0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003c07710, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003c07700, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0039bd000, 0x711, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c726c0, 0x83, 0xc0039bd000, 0x711, 0xc0039bd000, 0x711, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c726c0, 0x83, 0xc0039bd000, 0x711, 0xaa0378, 0x1, 0xc0039bd000, 0x711, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 545 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880ce590, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00379aa70, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00379aa64, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003720000, 0x55c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c730e0, 0x8a, 0xc003720000, 0x55c, 0xc003720000, 0x55c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c730e0, 0x8a, 0xc003720000, 0x55c, 0xaa0378, 0x1, 0xc003720000, 0x55c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a04e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 546 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88004620, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00071bb90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00071bb80, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001093800, 0x3d5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c73440, 0x84, 0xc001093800, 0x3d5, 0xc001093800, 0x3d5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c73440, 0x84, 0xc001093800, 0x3d5, 0xaa0378, 0x1, 0xc001093800, 0x3d5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a05a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 547 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be4003c00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001497c50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001497c30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002730000, 0x5c9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00231fd8e, 0x64, 0xc002730000, 0x5c9, 0xc002730000, 0x5c9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00231fd8e, 0x64, 0xc002730000, 0x5c9, 0xaa0378, 0x1, 0xc002730000, 0x5c9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 548 [semacquire]: encoding/json.(*decodeState).literalStore(0xc005e94b00, 0xc004152f62, 0x11, 0xde, 0x9e9080, 0xc006511eb0, 0x198, 0x0, 0x124, 0xc005e94b28) /usr/local/go/src/encoding/json/decode.go:972 +0x1ee1 encoding/json.(*decodeState).value(0xc005e94b00, 0x9e9080, 0xc006511eb0, 0x198, 0x9e9080, 0xc006511eb0) /usr/local/go/src/encoding/json/decode.go:401 +0x1de encoding/json.(*decodeState).object(0xc005e94b00, 0xa49de0, 0xc006511ea0, 0x199, 0xc005e94b28, 0x7b) /usr/local/go/src/encoding/json/decode.go:782 +0x12e5 encoding/json.(*decodeState).value(0xc005e94b00, 0xa49de0, 0xc006511ea0, 0x199, 0xa49de0, 0xc006511ea0) /usr/local/go/src/encoding/json/decode.go:387 +0x6d encoding/json.(*decodeState).array(0xc005e94b00, 0x9cfa40, 0xc001e2c8a0, 0x16, 0xc005e94b28, 0x5b) /usr/local/go/src/encoding/json/decode.go:575 +0x1a7 encoding/json.(*decodeState).value(0xc005e94b00, 0x9cfa40, 0xc001e2c8a0, 0x16, 0xc0035a58a8, 0x532927) /usr/local/go/src/encoding/json/decode.go:377 +0xfd encoding/json.(*decodeState).unmarshal(0xc005e94b00, 0x9cfa40, 0xc001e2c8a0, 0xc005e94b28, 0x0) /usr/local/go/src/encoding/json/decode.go:180 +0x1f0 encoding/json.Unmarshal(0xc004152f00, 0x124, 0x140, 0x9cfa40, 0xc001e2c8a0, 0x140, 0xaa366e) /usr/local/go/src/encoding/json/decode.go:107 +0x112 _/home/ec2-user/environment/cluster2/cluster2/fasttgo.(*Model).Predict(0xc001e2c880, 0xc0022d4900, 0x47a, 0x0, 0x0, 0x0, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:153 +0x16a _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0022d4900, 0x47a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:31 +0xa0 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001160380, 0x65, 0xc0022d4900, 0x47a, 0xc0022d4900, 0x47a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001160380, 0x65, 0xc0022d4900, 0x47a, 0xaa0378, 0x1, 0xc0022d4900, 0x47a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 549 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b8838f600, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0022468b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0022468a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000fc6800, 0xbec, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00231fe80, 0x73, 0xc000fc6800, 0xbec, 0xc000fc6800, 0xbec, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00231fe80, 0x73, 0xc000fc6800, 0xbec, 0xaa0378, 0x1, 0xc000fc6800, 0xbec, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a07e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 550 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0034b5588, 0xaa058b, 0x2, 0xc0012fc000, 0x974, 0xe, 0x42, 0xc001109ce0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0034b5518, 0xc00230cfa0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 551 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9442bc90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003749140, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003749130, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004835400, 0x4e5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0017c6100, 0x79, 0xc004835400, 0x4e5, 0xc004835400, 0x4e5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0017c6100, 0x79, 0xc004835400, 0x4e5, 0xaa0378, 0x1, 0xc004835400, 0x4e5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 552 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc00249e600, 0x5c8, 0x2, 0xc003002198, 0x0, 0x0, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc00249e600, 0x5c8, 0xaa0378, 0x1, 0xc002c28f00, 0x33) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0030030c0, 0xc0031cb960, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0030030c0, 0xc0031cb7a0, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0030030c0, 0xc0031cb7a0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0030030c0, 0xc0031cb7a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0030030c0, 0xc0031cb7a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0030030c0, 0xc0011c5030, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0033830c0, 0xc0011c5030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0033830c0, 0xc0011c5030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0030030c0, 0xc0011c4f50, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0033830c0, 0xc0011c4f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0033830c0, 0xc0011c4f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0030030c0, 0xc0011c45b0, 0xc000310e00, 0x7f1cb42a2108) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0033830c0, 0xc0011c45b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0033830c0, 0xc0011c45b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0030030c0, 0xc0011c44d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0033830c0, 0xc0011c44d0, 0x54b170, 0xc001f7e340) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0011c44d0, 0x0, 0x0, 0x0, 0x0, 0xc0011c44d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0010b77d0, 0x0, 0x0, 0x0, 0x6000, 0xc0000ee000, 0x57db, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0000ee000, 0x57db, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc003315200) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003383518, 0xc0013e74a0, 0xc002b02a20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0fc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 553 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c50119870, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018f30a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018f3090, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0019dd000, 0x2bae, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00231ff80, 0x7a, 0xc0019dd000, 0x2bae, 0xc0019dd000, 0x2bae, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00231ff80, 0x7a, 0xc0019dd000, 0x2bae, 0xaa0378, 0x1, 0xc0019dd000, 0x2bae, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 554 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880227f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018f2fa0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018f2f90, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0023ee000, 0x487, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3e080, 0x74, 0xc0023ee000, 0x487, 0xc0023ee000, 0x487, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3e080, 0x74, 0xc0023ee000, 0x487, 0xaa0378, 0x1, 0xc0023ee000, 0x487, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 555 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb81c8b70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00186b040, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00186b030, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0032c0000, 0x658, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb40e0, 0x6d, 0xc0032c0000, 0x658, 0xc0032c0000, 0x658, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb40e0, 0x6d, 0xc0032c0000, 0x658, 0xaa0378, 0x1, 0xc0032c0000, 0x658, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 556 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb41e58c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b58a50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b58a40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002b0c480, 0x452, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014f0bd0, 0x82, 0xc002b0c480, 0x452, 0xc002b0c480, 0x452, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014f0bd0, 0x82, 0xc002b0c480, 0x452, 0xaa0378, 0x1, 0xc002b0c480, 0x452, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 557 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c1005c720, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001540a50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001540a30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0032a2a00, 0x308a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0029ec1b0, 0x8d, 0xc0032a2a00, 0x308a, 0xc0032a2a00, 0x308a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0029ec1b0, 0x8d, 0xc0032a2a00, 0x308a, 0xaa0378, 0x1, 0xc0032a2a00, 0x308a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a16e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 558 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bcc316e10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002ce8930, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002ce8920, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0019c4680, 0x50e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000027300, 0x77, 0xc0019c4680, 0x50e, 0xc0019c4680, 0x50e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000027300, 0x77, 0xc0019c4680, 0x50e, 0xaa0378, 0x1, 0xc0019c4680, 0x50e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a17a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 559 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be006eb50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d69380, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d69360, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0031cd080, 0x569, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00180f2c0, 0x9e, 0xc0031cd080, 0x569, 0xc0031cd080, 0x569, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00180f2c0, 0x9e, 0xc0031cd080, 0x569, 0xaa0378, 0x1, 0xc0031cd080, 0x569, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 560 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c20076870, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00280c0f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00280c0e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00370c000, 0x39b6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0001780c9, 0x97, 0xc00370c000, 0x39b6, 0xc00370c000, 0x39b6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0001780c9, 0x97, 0xc00370c000, 0x39b6, 0xaa0378, 0x1, 0xc00370c000, 0x39b6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 561 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bec2f6720, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018f3110, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018f3100, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0010db600, 0x807, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb44d0, 0x5b, 0xc0010db600, 0x807, 0xc0010db600, 0x807, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb44d0, 0x5b, 0xc0010db600, 0x807, 0xaa0378, 0x1, 0xc0010db600, 0x807, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a19e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 562 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf40d1b50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001fb7500, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001fb74e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001ed4600, 0x5a2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000027c00, 0x7a, 0xc001ed4600, 0x5a2, 0xc001ed4600, 0x5a2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000027c00, 0x7a, 0xc001ed4600, 0x5a2, 0xaa0378, 0x1, 0xc001ed4600, 0x5a2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1aa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 563 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf014e0c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002106770, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002106760, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002e80480, 0x452, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001253f10, 0x63, 0xc002e80480, 0x452, 0xc002e80480, 0x452, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001253f10, 0x63, 0xc002e80480, 0x452, 0xaa0378, 0x1, 0xc002e80480, 0x452, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1b60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 564 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c300d1730, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00323bb40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00323bb30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001cb8380, 0x37e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0039d2180, 0x4e, 0xc001cb8380, 0x37e, 0xc001cb8380, 0x37e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0039d2180, 0x4e, 0xc001cb8380, 0x37e, 0xaa0378, 0x1, 0xc001cb8380, 0x37e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1c20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 565 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c28036430, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002efeb20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002efeb10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002eaf600, 0x81e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00158c500, 0x75, 0xc002eaf600, 0x81e, 0xc002eaf600, 0x81e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00158c500, 0x75, 0xc002eaf600, 0x81e, 0xaa0378, 0x1, 0xc002eaf600, 0x81e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 566 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf01543c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002018830, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002018820, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002e0fb80, 0x525, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c54360, 0x2c, 0xc002e0fb80, 0x525, 0xc002e0fb80, 0x525, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c54360, 0x2c, 0xc002e0fb80, 0x525, 0xaa0378, 0x1, 0xc002e0fb80, 0x525, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1da0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 567 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c241b39e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0036a3c90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0036a3c80, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0038ff800, 0x622, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0000a13ff, 0x35, 0xc0038ff800, 0x622, 0xc0038ff800, 0x622, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0000a13ff, 0x35, 0xc0038ff800, 0x622, 0xaa0378, 0x1, 0xc0038ff800, 0x622, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 568 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c50119b30, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003748080, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003748060, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002b0a400, 0x816, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d76c40, 0x32, 0xc002b0a400, 0x816, 0xc002b0a400, 0x816, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d76c40, 0x32, 0xc002b0a400, 0x816, 0xaa0378, 0x1, 0xc002b0a400, 0x816, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1f20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 569 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c48027080, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018f70f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018f70e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002eac900, 0x82b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00106e140, 0x4c, 0xc002eac900, 0x82b, 0xc002eac900, 0x82b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00106e140, 0x4c, 0xc002eac900, 0x82b, 0xaa0378, 0x1, 0xc002eac900, 0x82b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 570 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9c001480, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023dcec0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023dceb0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0025ee800, 0x706, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00036c070, 0x6a, 0xc0025ee800, 0x706, 0xc0025ee800, 0x706, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00036c070, 0x6a, 0xc0025ee800, 0x706, 0xaa0378, 0x1, 0xc0025ee800, 0x706, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e7e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 571 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88f47f10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002e8a090, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002e8a080, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001cbd200, 0x5a8, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4e8c0, 0x63, 0xc001cbd200, 0x5a8, 0xc001cbd200, 0x5a8, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4e8c0, 0x63, 0xc001cbd200, 0x5a8, 0xaa0378, 0x1, 0xc001cbd200, 0x5a8, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ec60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 572 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88003f40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0006c2c50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0006c2c40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001e4a000, 0x95a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00048f770, 0x47, 0xc001e4a000, 0x95a, 0xc001e4a000, 0x95a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00048f770, 0x47, 0xc001e4a000, 0x95a, 0xaa0378, 0x1, 0xc001e4a000, 0x95a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f0e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 408 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x2ebc0f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001a11dd0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001a11dc0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001e07000, 0x7b6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b03c0, 0x9b, 0xc001e07000, 0x7b6, 0xc001e07000, 0x7b6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b03c0, 0x9b, 0xc001e07000, 0x7b6, 0xaa0378, 0x1, 0xc001e07000, 0x7b6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 409 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0015409b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0015409a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002e11700, 0x544, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb5c70, 0x64, 0xc002e11700, 0x544, 0xc002e11700, 0x544, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb5c70, 0x64, 0xc002e11700, 0x544, 0xaa0378, 0x1, 0xc002e11700, 0x544, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917b00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 410 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882b0ea0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc004619930, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc004619920, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0017da800, 0x724, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000716840, 0x55, 0xc0017da800, 0x724, 0xc0017da800, 0x724, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000716840, 0x55, 0xc0017da800, 0x724, 0xaa0378, 0x1, 0xc0017da800, 0x724, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917bc0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 411 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88335f00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001ee4a00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001ee49f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004419800, 0x1598, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fefc80, 0x76, 0xc004419800, 0x1598, 0xc004419800, 0x1598, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fefc80, 0x76, 0xc004419800, 0x1598, 0xaa0378, 0x1, 0xc004419800, 0x1598, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917c80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 412 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c780f6030, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0031716a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003171690, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001d62000, 0xec9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00048e0f0, 0x45, 0xc001d62000, 0xec9, 0xc001d62000, 0xec9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00048e0f0, 0x45, 0xc001d62000, 0xec9, 0xaa0378, 0x1, 0xc001d62000, 0xec9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917d40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 413 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b7c8fba30, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0005a48d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0005a48b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002edc000, 0x720, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00301ade0, 0x5c, 0xc002edc000, 0x720, 0xc002edc000, 0x720, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00301ade0, 0x5c, 0xc002edc000, 0x720, 0xaa0378, 0x1, 0xc002edc000, 0x720, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917e00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 414 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.LangToStringShort(0x3c, 0xc26, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesUtil.go:199 +0x56 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Lang.Iso6391(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesUtil.go:191 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0039a3200, 0xc26, 0xc26, 0x1000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x4b _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000ee4480, 0xb5, 0xc0039a3200, 0xc26, 0xc0039a3200, 0xc26, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000ee4480, 0xb5, 0xc0039a3200, 0xc26, 0xaa0378, 0x1, 0xc0039a3200, 0xc26, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917ec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 415 [semacquire]: github.com/fatih/set.(*Set).Add(0xc004060820, 0xc0031ed2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0031ed3c0, 0xaa04fd, 0x2, 0xc003464000, 0x1c3e, 0x3, 0x2f4, 0xc0016bd160) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa0f0, 0xc003464000, 0x1c3e, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0031ed518, 0xc001e2c4e0, 0xaa, 0xc0027640dd) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917f80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 416 [semacquire]: github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002a71518, 0xc002e4e2a0, 0xc002806260) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:300 +0x179 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000716480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 389 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf85ed660, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023ad580, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023ad570, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0020b7b00, 0xd04, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0029ecb40, 0x8a, 0xc0020b7b00, 0xd04, 0xc0020b7b00, 0xd04, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0029ecb40, 0x8a, 0xc0020b7b00, 0xd04, 0xaa0378, 0x1, 0xc0020b7b00, 0xd04, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000716540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 390 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c5c34afa0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020616d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020616c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00223fc00, 0x6c3, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000027d80, 0x7e, 0xc00223fc00, 0x6c3, 0xc00223fc00, 0x6c3, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000027d80, 0x7e, 0xc00223fc00, 0x6c3, 0xaa0378, 0x1, 0xc00223fc00, 0x6c3, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15c80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 368 [semacquire]: strings.genSplit(0xc001b72d80, 0xd5c, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc00391ca00, 0x148, 0x148) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0022993c0, 0xaa04df, 0x2, 0xc001e32880, 0xd5c, 0x4, 0x148, 0xc004584820) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc001e32880, 0xd5c, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002299518, 0xc004584400, 0x86, 0xc0011f4900) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359ff20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 392 [semacquire]: github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003381518, 0xc0013e6c20, 0xc0034339c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:300 +0x179 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15e00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 393 [semacquire]: bytes.makeSlice(0x831, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00346f388, 0x1e3, 0x7) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00346f388, 0xc0052cca00, 0x1e3, 0x5165d7, 0xc004fcc965, 0xc00447e640) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0041a20e0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0041a2070) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003e3f570) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003e3f490) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003e3ed90) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc004ee9470, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00346f518, 0xc004e23a80, 0x59, 0xc001c143c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15ec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 394 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88134df0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001628f20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001628f00, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002772400, 0xb03, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0039183f0, 0x89, 0xc002772400, 0xb03, 0xc002772400, 0xb03, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0039183f0, 0x89, 0xc002772400, 0xb03, 0xaa0378, 0x1, 0xc002772400, 0xb03, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15f80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 395 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf0152830, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000e83910, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000e83900, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003945000, 0x76e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00180e0a0, 0x95, 0xc003945000, 0x76e, 0xc003945000, 0x76e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00180e0a0, 0x95, 0xc003945000, 0x76e, 0xaa0378, 0x1, 0xc003945000, 0x76e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 396 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1ba4286830, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000631710, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000631700, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0036fb600, 0x8cd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00033e1f9, 0x41, 0xc0036fb600, 0x8cd, 0xc0036fb600, 0x8cd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00033e1f9, 0x41, 0xc0036fb600, 0x8cd, 0xaa0378, 0x1, 0xc0036fb600, 0x8cd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0120, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 397 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c74088200, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023ac7a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023ac790, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00222e000, 0x2600, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f580b0, 0xa6, 0xc00222e000, 0x2600, 0xc00222e000, 0x2600, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f580b0, 0xa6, 0xc00222e000, 0x2600, 0xaa0378, 0x1, 0xc00222e000, 0x2600, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df01e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 398 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c70139c30, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00394fcb0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00394fca0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000980000, 0xa19, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003348000, 0x80, 0xc000980000, 0xa19, 0xc000980000, 0xa19, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003348000, 0x80, 0xc000980000, 0xa19, 0xaa0378, 0x1, 0xc000980000, 0xa19, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df02a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 399 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc00063e880, 0xd70, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc00063e880, 0xd70, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc00063e880, 0xd70, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc00063e880, 0xd70, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc00063e880, 0xd70, 0x0, 0x0, 0xd70, 0xc00063e880, 0xd70) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc00063e880, 0xd70, 0xd70, 0x1000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fee000, 0x79, 0xc00063e880, 0xd70, 0xc00063e880, 0xd70, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fee000, 0x79, 0xc00063e880, 0xd70, 0xaa0378, 0x1, 0xc00063e880, 0xd70, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 400 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).breakLongLines(0xc0042950c0, 0xc00200c2c0, 0x155, 0xc00000002e, 0x100, 0x2e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:462 +0x58c github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc0042950c0, 0xc00200c2c0, 0x155, 0x155, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:426 +0x63 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042950c0, 0xc0046c0000, 0xc0042941b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0042950c0, 0xc0046bff80, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0042950c0, 0xc0046bff80, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0042950c0, 0xc0046bff80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042950c0, 0xc0046bff80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0042950c0, 0xc0046bf490, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0042950c0, 0xc0046bf490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042950c0, 0xc0046bf490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0042950c0, 0xc0045bde30, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0042950c0, 0xc0045bde30, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042950c0, 0xc0045bde30, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0042950c0, 0xc0045bd730, 0xc0003fe700, 0x7f1cb42a3560) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0042950c0, 0xc0045bd730, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042950c0, 0xc0045bd730, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0042950c0, 0xc0045bd650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042950c0, 0xc0045bd650, 0x54b170, 0xc002934b60) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0045bd650, 0x0, 0x0, 0x0, 0x0, 0xc0045bd650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0045d5770, 0x0, 0x0, 0x0, 0x1300, 0xc0045a3300, 0x1162, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0045a3300, 0x1162, 0x0, 0x0, 0x0, 0x0, 0xad060b, 0x3, 0xc001a103d0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc004295518, 0xc001108ea0, 0xc002e4fe00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 401 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bcc39bf40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001e670d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001e670c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002ba3000, 0x27d7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fee1b4, 0x47, 0xc002ba3000, 0x27d7, 0xc002ba3000, 0x27d7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fee1b4, 0x47, 0xc002ba3000, 0x27d7, 0xaa0378, 0x1, 0xc002ba3000, 0x27d7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df04e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 578 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0063fc000, 0xf1e, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:83 +0x3e0 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0063fc000, 0xf1e, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0063fc000, 0xf1e, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0063fc000, 0xf1e, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0063fc000, 0xf1e, 0x0, 0x0, 0xf1e, 0xc0063fc000, 0xf1e) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0063fc000, 0xf1e, 0xf1e, 0x1300) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fee332, 0x48, 0xc0063fc000, 0xf1e, 0xc0063fc000, 0xf1e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fee332, 0x48, 0xc0063fc000, 0xf1e, 0xaa0378, 0x1, 0xc0063fc000, 0xf1e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df05a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 579 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880d0620, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0036a2300, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0036a22e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0024c8d80, 0xd4c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001246000, 0xd4, 0xc0024c8d80, 0xd4c, 0xc0024c8d80, 0xd4c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001246000, 0xd4, 0xc0024c8d80, 0xd4c, 0xaa0378, 0x1, 0xc0024c8d80, 0xd4c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 580 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc004374a80, 0x977, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc004374a80, 0x977, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc004374a80, 0x977, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc004374a80, 0x977, 0x0, 0x0, 0x977, 0xc004374a80, 0x977) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc004374a80, 0x977, 0x977, 0xc00) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001246380, 0xd1, 0xc004374a80, 0x977, 0xc004374a80, 0x977, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001246380, 0xd1, 0xc004374a80, 0x977, 0xaa0378, 0x1, 0xc004374a80, 0x977, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 581 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c7436ad20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003314250, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003314240, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0018ae480, 0x19db, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b08c0, 0x9e, 0xc0018ae480, 0x19db, 0xc0018ae480, 0x19db, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b08c0, 0x9e, 0xc0018ae480, 0x19db, 0xaa0378, 0x1, 0xc0018ae480, 0x19db, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df07e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 582 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c881dace0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002d2ea00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002d2e9f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0047c1800, 0x6c9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb8646, 0x40, 0xc0047c1800, 0x6c9, 0xc0047c1800, 0x6c9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb8646, 0x40, 0xc0047c1800, 0x6c9, 0xaa0378, 0x1, 0xc0047c1800, 0x6c9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df08a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 583 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b884fefe0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003554950, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003554940, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003780c00, 0x12c2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000feea80, 0x79, 0xc003780c00, 0x12c2, 0xc003780c00, 0x12c2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000feea80, 0x79, 0xc003780c00, 0x12c2, 0xaa0378, 0x1, 0xc003780c00, 0x12c2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 584 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb0527b20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00123b800, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00123b7f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001750000, 0xffc, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010068c0, 0x91, 0xc001750000, 0xffc, 0xc001750000, 0xffc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010068c0, 0x91, 0xc001750000, 0xffc, 0xaa0378, 0x1, 0xc001750000, 0xffc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0a20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 585 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003547588, 0xaa058b, 0x2, 0xc003b92f00, 0x2d3, 0x3, 0xc, 0xc003924580) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc003547518, 0xc002e4f1c0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0ae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 586 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb4229b90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002172b50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002172b40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002044000, 0xb9d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0020c8680, 0xc4, 0xc002044000, 0xb9d, 0xc002044000, 0xb9d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0020c8680, 0xc4, 0xc002044000, 0xb9d, 0xaa0378, 0x1, 0xc002044000, 0xb9d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0ba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 587 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c0c384f20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00357b700, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00357b6f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0032f2d80, 0xccd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00201af30, 0x89, 0xc0032f2d80, 0xccd, 0xc0032f2d80, 0xccd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00201af30, 0x89, 0xc0032f2d80, 0xccd, 0xaa0378, 0x1, 0xc0032f2d80, 0xccd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0c60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 588 [runnable]: github.com/PuerkitoBio/goquery.findWithMatcher.func1(0x0, 0xc001a57f80, 0x0, 0x1, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:547 +0x180 github.com/PuerkitoBio/goquery.mapNodes(0xc0000a2b88, 0x1, 0x1, 0xc0006d1108, 0x1, 0x0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:693 +0xf6 github.com/PuerkitoBio/goquery.findWithMatcher(0xc0000a2b88, 0x1, 0x1, 0xb856e0, 0xc001e2ca00, 0xc0000a2b88, 0x1, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:543 +0x81 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0054ee990, 0xaa03b1, 0x1, 0x203001) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x85 github.com/advancedlogic/GoOse.(*ContentExtractor).nodesToCheck(0xc0006d1518, 0xc00039b340, 0x28, 0xc0054ee960, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:549 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0006d1518, 0xc00039b340, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:374 +0x50 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0d20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 589 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005fc3588, 0xaa058b, 0x2, 0xc000fb9ad0, 0xc5, 0x5, 0xc005fc3290, 0x42d308) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x6, 0xc0061faff0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:635 +0x82 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0016ff3e0, 0xc005fc3320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc005fc3518, 0xc0016fe720, 0xc004585e20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc005fc3518, 0xc0016fe720, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc005fc3518, 0xc0016fe720, 0xc0016fe720) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0de0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 590 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002e4f560, 0xc00459f220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00459f588, 0xaa058b, 0x2, 0xc00442e800, 0x17b1, 0x12, 0x37, 0xc0013e6020) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00459f518, 0xc00000e340, 0x47) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0ea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 591 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf4a8e120, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001daf610, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001daf600, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001afae00, 0x66d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001c14660, 0x5e, 0xc001afae00, 0x66d, 0xc001afae00, 0x66d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001c14660, 0x5e, 0xc001afae00, 0x66d, 0xaa0378, 0x1, 0xc001afae00, 0x66d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0f60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 592 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).breakLongLines(0xc0032290c0, 0xaa03a3, 0x1, 0x7f1c8d962700, 0x20300000000000, 0x7f1c8d970fff) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:462 +0x58c github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc0032290c0, 0xaa03a3, 0x1, 0x7f1c8c389f88, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:426 +0x63 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0032290c0, 0xc003e3dab0, 0x1b7, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:151 +0x603 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0032290c0, 0xc003e3dab0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0032290c0, 0xc003e3d500, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0032290c0, 0xc003e3d500, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0032290c0, 0xc003e3d500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0032290c0, 0xc003e3d500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0032290c0, 0xc003e3d030, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0032290c0, 0xc003e3d030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0032290c0, 0xc003e3d030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0032290c0, 0xc003e3cf50, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0032290c0, 0xc003e3cf50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0032290c0, 0xc003e3cf50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0032290c0, 0xc003e3c850, 0xc002522380, 0x7f1cb42a42f0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0032290c0, 0xc003e3c850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0032290c0, 0xc003e3c850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0032290c0, 0xc003e3c770, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0032290c0, 0xc003e3c770, 0x54b170, 0xc001c4e340) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc003e3c770, 0x0, 0x0, 0x0, 0x0, 0xc003e3c770, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc003c85cb0, 0x0, 0x0, 0x0, 0x2000, 0xc003e40000, 0x1b95, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc003e40000, 0x1b95, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000114c60) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003229518, 0xc00039aac0, 0xc00230d0e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 593 [semacquire]: github.com/jaytaylor/html2text.FromString(0xc002121300, 0x12d5, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000cfe720) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:102 +0x42 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00355d518, 0xc000d80fa0, 0xc0016bc6a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df10e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 594 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd0784fb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0030fa9f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0030fa9e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00206d500, 0xa7f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00007f680, 0x5f, 0xc00206d500, 0xa7f, 0xc00206d500, 0xa7f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00007f680, 0x5f, 0xc00206d500, 0xa7f, 0xaa0378, 0x1, 0xc00206d500, 0xa7f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df11a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 595 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0016bc5e0, 0xc0039f32c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0039f33c0, 0xaa04fd, 0x2, 0xc002d26900, 0x85c, 0x2, 0x110, 0xc000d81c80) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc002d26900, 0x85c, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0039f3518, 0xc00230c8e0, 0x8d, 0xc0041502d0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1260, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 596 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb4420c10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003466600, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0034665f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0021a6000, 0x374, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0001786e0, 0xa7, 0xc0021a6000, 0x374, 0xc0021a6000, 0x374, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0001786e0, 0xa7, 0xc0021a6000, 0x374, 0xaa0378, 0x1, 0xc0021a6000, 0x374, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 597 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004e0b588, 0xaa058b, 0x2, 0xc004660400, 0x8cf, 0x0, 0xc004e0b3d8, 0xc00627c9c8) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc004e0b518, 0xc00111ed50, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:528 +0xfd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc004e0b518, 0xc0000bf920, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df13e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 598 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0020733c0, 0xaa04fd, 0x2, 0xc0039b0000, 0xf24, 0x2, 0x1c6, 0xc00065fe20) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc0039b0000, 0xf24, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002073518, 0xc0015625c0, 0x99, 0xc001006f00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df14a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 599 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).breakLongLines(0xc00490f0c0, 0xaa04bf, 0x2, 0xc00476dc00, 0x377, 0xae62c8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:462 +0x58c github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc00490f0c0, 0xaa04bf, 0x2, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:426 +0x63 github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc00490f0c0, 0xc001c179d0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:298 +0xb1 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00490f0c0, 0xc001c179d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00490f0c0, 0xc001c179d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00490f0c0, 0xc001c16310, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0001970c0, 0xc001c16310, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0001970c0, 0xc001c16310, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00490f0c0, 0xc001c16230, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0001970c0, 0xc001c16230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0001970c0, 0xc001c16230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00490f0c0, 0xc0031e9110, 0xc000d82000, 0x7f1cb42a42f0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0001970c0, 0xc0031e9110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0001970c0, 0xc0031e9110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00490f0c0, 0xc0031e9030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0001970c0, 0xc0031e9030, 0x54b170, 0xc002daac30) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0031e9030, 0x0, 0x0, 0x0, 0x0, 0xc0031e9030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002a79440, 0x0, 0x0, 0x0, 0x2000, 0xc0069b2000, 0x1faf, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0069b2000, 0x1faf, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000eede80) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc000197518, 0xc00367e040, 0xc0030bc820) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 600 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc00294f500, 0x282c, 0xc0019d1218, 0xc00031a700) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc00294f500, 0x282c, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0019d13c0, 0xaa0599, 0x2, 0xc00294f500, 0x282c, 0x6c, 0x3e3, 0xc0001d5800) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc00294f500, 0x282c, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0019d1518, 0xc0017f7420, 0x2f, 0xc003d8e360) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 601 [semacquire]: regexp.(*Regexp).ReplaceAllString(0xc00011d4a0, 0xc005412000, 0x1fb7, 0xaa04bf, 0x2, 0x1, 0x3) /usr/local/go/src/regexp/regexp.go:560 +0x135 github.com/jaytaylor/html2text.FromHTMLNode(0xc00440fa40, 0x0, 0x0, 0x0, 0x0, 0xc00440fa40, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:80 +0x191 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc003e57050, 0x0, 0x0, 0x0, 0x2500, 0xc003454500, 0x243e, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc003454500, 0x243e, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000115d70) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002e43518, 0xc00230dd40, 0xc0030bd780) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df16e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 602 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc00146e700, 0x6a5, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:83 +0x3e0 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc00146e700, 0x6a5, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc00146e700, 0x6a5, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc00146e700, 0x6a5, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc00146e700, 0x6a5, 0x0, 0x0, 0x6a5, 0xc00146e700, 0x6a5) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc00146e700, 0x6a5, 0x6a5, 0x800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004150480, 0x88, 0xc00146e700, 0x6a5, 0xc00146e700, 0x6a5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004150480, 0x88, 0xc00146e700, 0x6a5, 0xaa0378, 0x1, 0xc00146e700, 0x6a5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df17a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 603 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c0045bdf0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0019b0da0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0019b0d90, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002574300, 0x63a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0039d3f80, 0x78, 0xc002574300, 0x63a, 0xc002574300, 0x63a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0039d3f80, 0x78, 0xc002574300, 0x63a, 0xaa0378, 0x1, 0xc002574300, 0x63a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 604 [semacquire]: github.com/advancedlogic/GoOse.Parser.setAttr(0xc0061facc0, 0xab29a3, 0xc, 0xc0018e7feb, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/parser.go:87 +0x301 github.com/advancedlogic/GoOse.(*ContentExtractor).updateScore(0xc000b89518, 0xc0061facc0, 0x8) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:493 +0xb1 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc000b89518, 0xc001108280, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:435 +0x67f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 605 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be44cd470, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001f34530, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001f34520, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004108f00, 0x4b5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3e980, 0x72, 0xc004108f00, 0x4b5, 0xc004108f00, 0x4b5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3e980, 0x72, 0xc004108f00, 0x4b5, 0xaa0378, 0x1, 0xc004108f00, 0x4b5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df19e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 607 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88d4c3f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00251d300, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00251d2d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000556580, 0x550, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001007040, 0x91, 0xc000556580, 0x550, 0xc000556580, 0x550, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001007040, 0x91, 0xc000556580, 0x550, 0xaa0378, 0x1, 0xc000556580, 0x550, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1b60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 608 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc0001bf930, 0xc003e76000, 0x195) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc0001bf930, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0001bf930) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0001bf930, 0xc0016583f0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002c4d300, 0x0, 0x0, 0x0, 0xc00263f200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002c4d300, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00263f8f8, 0xc000780000, 0x14ae, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1c20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 609 [semacquire]: strings.Replace(0xc002be5b00, 0xcbc, 0xaa04bd, 0x2, 0xaa03a3, 0x1, 0x1, 0xb7b900, 0xc00005e060) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/jaytaylor/html2text.FromHTMLNode(0xc0066d8bd0, 0x0, 0x0, 0x0, 0x0, 0xc0066d8bd0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:81 +0x158 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00679edb0, 0x0, 0x0, 0x0, 0x1300, 0xc002e58c00, 0x10d0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc002e58c00, 0x10d0, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000c54d20) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00346d518, 0xc0016bd580, 0xc0062beee0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 610 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc004654800, 0x772, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x317 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc004654800, 0x772, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc004654800, 0x772, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc004654800, 0x772, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc004654800, 0x772, 0x0, 0x0, 0x772, 0xc004654800, 0x772) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc004654800, 0x772, 0x772, 0x800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00036d260, 0x63, 0xc004654800, 0x772, 0xc004654800, 0x772, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00036d260, 0x63, 0xc004654800, 0x772, 0xaa0378, 0x1, 0xc004654800, 0x772, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1da0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 611 [semacquire]: strings.Replace(0xc004a76000, 0x560c, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x6, 0xc004a76000, 0x560c) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0035c38f8, 0xc001e72000, 0x55fb, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 612 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc0037e4c30, 0x1189d00, 0x1) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc0037e4c30, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0037e4c30) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0037e4c30, 0xc004a02d90, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00000e2c0, 0x0, 0x0, 0x0, 0xc003a5d200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00000e2c0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003a5d8f8, 0xc000efa800, 0x1754, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1f20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 613 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc003611200, 0x87a, 0xc00492b218, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc003611200, 0x87a, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00492b3c0, 0xaa0503, 0x2, 0xc003611200, 0x87a, 0x1, 0x110, 0xc0016bdba0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc003611200, 0x87a, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00492b518, 0xc00000e300, 0x9b, 0xc0010d5540) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 614 [semacquire]: bytes.makeSlice(0x2d70, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00107f388, 0x836, 0x6a7) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00107f388, 0xc003ff8400, 0x836, 0x5165d7, 0xc0018a576b, 0xc003c07c78) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002fd4e70) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002fd4e00) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002fd4690) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002fd45b0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004a03ea0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc004832ea0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00107f518, 0xc00000e4c0, 0x98, 0xc0004b01e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a0c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 615 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002ec2780, 0xc003a752c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003a753c0, 0xaa059b, 0x2, 0xc003ff8d00, 0x824, 0x1, 0x10d, 0xc002ec2760) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc003ff8d00, 0x824, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003a75518, 0xc00000e9c0, 0x4d, 0xc00048f3b0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 616 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0031813c0, 0xaa0569, 0x2, 0xc0024ec000, 0x1b95, 0x1, 0x268, 0xc0016bd9c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc0024ec000, 0x1b95, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003181518, 0xc00000edc0, 0x88, 0xc00201a1b0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 617 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003a59300, 0xc003a592c8, 0xc003a59350, 0x42ca96, 0xc0030e88d0, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:824 +0x69 github.com/andybalholm/cascadia.ParseGroup(0xaba6c1, 0x1a, 0x1, 0xc003a59368, 0xc003a59380, 0x42d308, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaba6c1, 0x1a, 0x1, 0xb856e0, 0xc001e2c680) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc004a010e0, 0xaba6c1, 0x1a, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc003a59518, 0xc00000f520, 0xaba6c1, 0x1a, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:134 +0x401 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a300, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 618 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882a56b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001497b90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001497b70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00354b980, 0x185d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d6edd8, 0xbd, 0xc00354b980, 0x185d, 0xc00354b980, 0x185d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d6edd8, 0xbd, 0xc00354b980, 0x185d, 0xaa0378, 0x1, 0xc00354b980, 0x185d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a3c0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 619 [semacquire]: strings.genSplit(0xc00589d800, 0xbb2, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc006304600, 0x114, 0x114) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0034693c0, 0xaa04df, 0x2, 0xc003850000, 0xbb2, 0xc, 0x114, 0xc0039240a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc003850000, 0xbb2, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003469518, 0xc0001d5a20, 0x9f, 0xc00180e780) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a480, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 620 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88e57dd0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023dd870, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023dd860, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003b74a80, 0x9a9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0028432b9, 0x83, 0xc003b74a80, 0x9a9, 0xc003b74a80, 0x9a9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0028432b9, 0x83, 0xc003b74a80, 0x9a9, 0xaa0378, 0x1, 0xc003b74a80, 0x9a9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a540, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 621 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880f3680, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00223b900, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00223b8f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00180d180, 0x52d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0015eb4a0, 0xe3, 0xc00180d180, 0x52d, 0xc00180d180, 0x52d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0015eb4a0, 0xe3, 0xc00180d180, 0x52d, 0xaa0378, 0x1, 0xc00180d180, 0x52d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a600, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 622 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c58a12d20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0028398d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0028398c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00495b800, 0x58b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00231eb80, 0x80, 0xc00495b800, 0x58b, 0xc00495b800, 0x58b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00231eb80, 0x80, 0xc00495b800, 0x58b, 0xaa0378, 0x1, 0xc00495b800, 0x58b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a6c0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 623 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc0041ac480, 0x114, 0x2, 0xc00069e1d0, 0x44100000020, 0xc00069e270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc0041ac480, 0x114, 0xaa0378, 0x1, 0xc004089900, 0x2) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00069e3d8, 0xc00200b650, 0xc0063b6000, 0xc00069e308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069e3d8, 0xc00200b500, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00069f0c0, 0xc00200b500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00069f0c0, 0xc00200b500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069f0c0, 0xc000e8d2d0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003aa10c0, 0xc000e8d2d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003aa10c0, 0xc000e8d2d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069f0c0, 0xc000e8d1f0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003aa10c0, 0xc000e8d1f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003aa10c0, 0xc000e8d1f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069f0c0, 0xc000e8caf0, 0xc005d5e700, 0x7f1cb42a2108) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003aa10c0, 0xc000e8caf0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003aa10c0, 0xc000e8caf0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069f0c0, 0xc000e8ca10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003aa10c0, 0xc000e8ca10, 0x54b170, 0xc000d0a270) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc000e8ca10, 0x0, 0x0, 0x0, 0x0, 0xc000e8ca10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00667f8f0, 0x0, 0x0, 0x0, 0x1980, 0xc0021b3980, 0x18af, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0021b3980, 0x18af, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc0004ad3b0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003aa1518, 0xc0001d5e80, 0xc002d8f460) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a780, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 624 [semacquire]: bytes.makeSlice(0xae1, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc001ec9860, 0x31d, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc001ec9860, 0xc003b14700, 0x31d, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc001ec9860, 0xc003b14700, 0x31d, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc001ec9860, 0xc0024ad960, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc001ec9860, 0xc0024ad420, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc001ec9860, 0xc0024ad3b0, 0xb84d20, 0xc001ec9860) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc001ec9860, 0xc0024ad3b0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc001ba11a0, 0x50d201, 0xc0014ed596, 0x35, 0x3f) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003a6f518, 0xc002806380, 0xc002ec2b40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a840, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 625 [semacquire]: strings.genSplit(0xc0032c1c00, 0x6d6, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc0028bf200, 0xc6, 0xc6) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0049b33c0, 0xaa04f9, 0x2, 0xc001551c00, 0x6d6, 0x1, 0xc6, 0xc002d8e580) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc001551c00, 0x6d6, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0049b3518, 0xc002806620, 0xaf, 0xc004010d51) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a900, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 626 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc002c3f300, 0x127c, 0xc003a71218, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc002c3f300, 0x127c, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003a713c0, 0xaa04fd, 0x2, 0xc002c3f300, 0x127c, 0xb, 0x18d, 0xc000d81fc0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc002c3f300, 0x127c, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003a71518, 0xc002806a20, 0x94, 0xc00180e960) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a9c0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 627 [semacquire]: github.com/PuerkitoBio/goquery.newSingleSelection(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:113 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc006b98000, 0xc002673418, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x9b github.com/advancedlogic/GoOse.(*ContentExtractor).GetTags(0xc002673518, 0xc002806aa0, 0xc004752e00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:269 +0x115 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:140 +0x505 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301aa80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 628 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0020b8880, 0xccf, 0xae4d68) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:83 +0x3e0 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0020b8880, 0xccf, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0020b8880, 0xccf, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0020b8880, 0xccf, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0020b8880, 0xccf, 0x0, 0x0, 0xccf, 0xc0020b8880, 0xccf) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0020b8880, 0xccf, 0xccf, 0x1000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014dacc0, 0xbe, 0xc0020b8880, 0xccf, 0xc0020b8880, 0xccf, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014dacc0, 0xbe, 0xc0020b8880, 0xccf, 0xaa0378, 0x1, 0xc0020b8880, 0xccf, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301ab40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 629 [semacquire]: bytes.makeSlice(0xece, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc003d27388, 0x3aa, 0x10) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc003d27388, 0xc0000fb400, 0x3aa, 0x10, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00157c380) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00157c1c0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00154da40) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00154d960) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00154d260) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc006844120, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003d27518, 0xc0045761a0, 0xdd, 0xc00223cff5) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301ac00, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 630 [semacquire]: github.com/araddon/dateparse.newParser(...) /home/develop/go/src/github.com/araddon/dateparse/parseany.go:1703 github.com/araddon/dateparse.parseTime(0xc006c01000, 0xb, 0x0, 0xc006c01000, 0xb, 0xb) /home/develop/go/src/github.com/araddon/dateparse/parseany.go:214 +0x42 github.com/araddon/dateparse.ParseAny(0xc006c01000, 0xb, 0x3, 0xaa0378, 0x1, 0xc006c01000, 0xb) /home/develop/go/src/github.com/araddon/dateparse/parseany.go:124 +0x42 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00340b518, 0xc0028073c0, 0xc005c80200) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:335 +0xa9d github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301acc0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 631 [semacquire]: regexp/syntax.(*parser).newRegexp(...) /usr/local/go/src/regexp/syntax/parse.go:94 regexp/syntax.(*parser).newLiteral(0xc000718ae0, 0xd500000043, 0x1) /usr/local/go/src/regexp/syntax/parse.go:182 +0x11f regexp/syntax.(*parser).literal(0xc000718ae0, 0x43) /usr/local/go/src/regexp/syntax/parse.go:210 +0x3b regexp/syntax.Parse(0xac0e09, 0x13, 0xd4, 0x0, 0x0, 0xac0dfd) /usr/local/go/src/regexp/syntax/parse.go:729 +0x2ae regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:170 +0x5a regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc002a70ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc002a70ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc001f7d354) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc002a70ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc002a70ff8, 0x1, 0xc004c78010, 0xc0103f9e000, 0x2804b42a3c28) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc002a70ff8, 0x4, 0x72, 0xc00480ef01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc00480e000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203000, 0xc003310f70, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0030e89f0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc002a718f8, 0xc00259e000, 0x1bf2, 0xc0007ba530, 0x443c10, 0x127a4e8) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301ad80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 632 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003d293c0, 0xaa0599, 0x2, 0xc00056c000, 0xe1b, 0x1f, 0x151, 0xc00000ee20) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235950, 0xc00056c000, 0xe1b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003d29518, 0xc00039a760, 0xc3, 0xc000fb8750) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301ae40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 633 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf08ae1c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00330c050, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00330c040, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001d99000, 0xf11, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fee22b, 0x54, 0xc001d99000, 0xf11, 0xc001d99000, 0xf11, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fee22b, 0x54, 0xc001d99000, 0xf11, 0xaa0378, 0x1, 0xc001d99000, 0xf11, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301af00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 634 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bfc51cf00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001f72440, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001f72430, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001391b00, 0xd5d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00048e050, 0x43, 0xc001391b00, 0xd5d, 0xc001391b00, 0xd5d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00048e050, 0x43, 0xc001391b00, 0xd5d, 0xaa0378, 0x1, 0xc001391b00, 0xd5d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301afc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 635 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf4232fe0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001f723d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001f723c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001259500, 0x923, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00301aa20, 0x54, 0xc001259500, 0x923, 0xc001259500, 0x923, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00301aa20, 0x54, 0xc001259500, 0x923, 0xaa0378, 0x1, 0xc001259500, 0x923, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 854 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc00621b3b0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0058b9518, 0xc0001d4ee0, 0x6d, 0xc004bdc150) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2c960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 637 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c801d3530, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0011b8680, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0011b8670, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002497600, 0xd2d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0027649c9, 0x81, 0xc002497600, 0xd2d, 0xc002497600, 0xd2d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0027649c9, 0x81, 0xc002497600, 0xd2d, 0xaa0378, 0x1, 0xc002497600, 0xd2d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 638 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb47417f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003467430, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003467420, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0030ab000, 0x76b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000e724d0, 0xa3, 0xc0030ab000, 0x76b, 0xc0030ab000, 0x76b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000e724d0, 0xa3, 0xc0030ab000, 0x76b, 0xaa0378, 0x1, 0xc0030ab000, 0x76b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b2c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 639 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c201648f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002106230, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002106210, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001ab0a80, 0x98a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d44ab0, 0x8b, 0xc001ab0a80, 0x98a, 0xc001ab0a80, 0x98a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d44ab0, 0x8b, 0xc001ab0a80, 0x98a, 0xaa0378, 0x1, 0xc001ab0a80, 0x98a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 640 [semacquire]: strings.genSplit(0xc000bdf8c0, 0x2ae, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x2ae, 0xc000bdf600, 0x2ae) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003669588, 0xaa058b, 0x2, 0xc000bdf600, 0x2ae, 0x1a, 0x56, 0xc000c1a6c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc003669518, 0xc0020d79e0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 641 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c2819cfe0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c33c40, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c33c30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003c01b00, 0xcf4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002a8c159, 0x7f, 0xc003c01b00, 0xcf4, 0xc003c01b00, 0xcf4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002a8c159, 0x7f, 0xc003c01b00, 0xcf4, 0xaa0378, 0x1, 0xc003c01b00, 0xcf4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 642 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c1c29ea20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0000a46b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0000a4690, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0024a2c00, 0xc00, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d4b73f, 0x41, 0xc0024a2c00, 0xc00, 0xc0024a2c00, 0xc00, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d4b73f, 0x41, 0xc0024a2c00, 0xc00, 0xaa0378, 0x1, 0xc0024a2c00, 0xc00, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b5c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 643 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c3021d130, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001e4c820, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001e4c800, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001977500, 0x13f8, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003348d00, 0x75, 0xc001977500, 0x13f8, 0xc001977500, 0x13f8, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003348d00, 0x75, 0xc001977500, 0x13f8, 0xaa0378, 0x1, 0xc001977500, 0x13f8, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 645 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1becbcd1d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001497a80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001497a70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004463500, 0x966, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c737a0, 0x83, 0xc004463500, 0x966, 0xc004463500, 0x966, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c737a0, 0x83, 0xc004463500, 0x966, 0xaa0378, 0x1, 0xc004463500, 0x966, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 646 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c68768580, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0039d61f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0039d61e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0036f8900, 0x8d9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002764370, 0xa5, 0xc0036f8900, 0x8d9, 0xc0036f8900, 0x8d9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002764370, 0xa5, 0xc0036f8900, 0x8d9, 0xaa0378, 0x1, 0xc0036f8900, 0x8d9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b8c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 647 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c344df7c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0000a4790, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0000a4780, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0006a6800, 0x17d1, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0013aed6a, 0x8d, 0xc0006a6800, 0x17d1, 0xc0006a6800, 0x17d1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0013aed6a, 0x8d, 0xc0006a6800, 0x17d1, 0xaa0378, 0x1, 0xc0006a6800, 0x17d1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 648 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8808a2a0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0011820c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0011820b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00125c000, 0x5850, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00049f0a0, 0x34, 0xc00125c000, 0x5850, 0xc00125c000, 0x5850, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00049f0a0, 0x34, 0xc00125c000, 0x5850, 0xaa0378, 0x1, 0xc00125c000, 0x5850, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301ba40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 649 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8013baa0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002d30f30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002d30f20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001654000, 0xeb9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001007540, 0x54, 0xc001654000, 0xeb9, 0xc001654000, 0xeb9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001007540, 0x54, 0xc001654000, 0xeb9, 0xaa0378, 0x1, 0xc001654000, 0xeb9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301bb00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 650 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b74237e90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000630b60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000630b50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0009fe000, 0xdae, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00201a480, 0x8e, 0xc0009fe000, 0xdae, 0xc0009fe000, 0xdae, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00201a480, 0x8e, 0xc0009fe000, 0xdae, 0xaa0378, 0x1, 0xc0009fe000, 0xdae, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301bbc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 651 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8807b9d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00323ad00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00323acf0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001764800, 0x7cc, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0024c7080, 0x77, 0xc001764800, 0x7cc, 0xc001764800, 0x7cc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0024c7080, 0x77, 0xc001764800, 0x7cc, 0xaa0378, 0x1, 0xc001764800, 0x7cc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301bc80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 652 [semacquire]: github.com/fatih/set.(*Set).Add(0xc00065f6e0, 0xc0051df220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0051df588, 0xaa058b, 0x2, 0xc0025ba700, 0x677, 0x641e2d, 0x0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0051df518, 0xc0049f0940, 0x4f) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301bd40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 654 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c045012d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003b51bc0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003b51ba0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001266300, 0x6ba, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c560aa, 0x4b, 0xc001266300, 0x6ba, 0xc001266300, 0x6ba, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c560aa, 0x4b, 0xc001266300, 0x6ba, 0xaa0378, 0x1, 0xc001266300, 0x6ba, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301bec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 655 [semacquire]: strings.genSplit(0xc005105800, 0x77e, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc004b5d000, 0xff, 0xff) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003a9b3c0, 0xaa059b, 0x2, 0xc005104800, 0x77e, 0x1, 0xff, 0xc00065ec80) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc005104800, 0x77e, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003a9b518, 0xc002807f20, 0x7f, 0xc004382980) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301bf80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 656 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003d38ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x67e github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003d38ff8, 0x1, 0xc002bd3fb0, 0xc010483d880, 0x2804b42a3560) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003d38ff8, 0x4, 0x1f6, 0xc004651e01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc004651000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc00041ef70, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0048dd3b0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003d398f8, 0xc001dec000, 0xe07, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 657 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc004c5ef00, 0x4a6, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x317 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc004c5ef00, 0x4a6, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc004c5ef00, 0x4a6, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc004c5ef00, 0x4a6, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc004c5ef00, 0x4a6, 0x0, 0x0, 0x4a6, 0xc004c5ef00, 0x4a6) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc004c5ef00, 0x4a6, 0x4a6, 0x500) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b2a20, 0x8b, 0xc004c5ef00, 0x4a6, 0xc004c5ef00, 0x4a6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b2a20, 0x8b, 0xc004c5ef00, 0x4a6, 0xaa0378, 0x1, 0xc004c5ef00, 0x4a6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a120, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 658 [runnable]: bytes.makeSlice.func1() /usr/local/go/src/bytes/buffer.go:224 +0x68 bytes.makeSlice(0x1e00, 0xc006dc0000, 0x1e00, 0x1e00) /usr/local/go/src/bytes/buffer.go:229 +0x96 bytes.(*Buffer).grow(0xc003b5d0e8, 0x200, 0x800) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).ReadFrom(0xc003b5d0e8, 0xb7b620, 0xc0048321e0, 0x203001, 0x203001, 0x203001) /usr/local/go/src/bytes/buffer.go:202 +0x48 io/ioutil.readAll(0xb7b620, 0xc0048321e0, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/io/ioutil/ioutil.go:36 +0xe3 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:45 github.com/ssor/bom.NewReaderWithoutBom(0xb7b620, 0xc0048321e0, 0xc003b5d1d8, 0x42d308, 0x30, 0xa4a0e0) /home/develop/go/src/github.com/ssor/bom/bom.go:29 +0x42 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0048321e0, 0x0, 0x0, 0x0, 0xd80, 0xc00341c880, 0xcdc, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:89 +0x39 github.com/jaytaylor/html2text.FromString(0xc00341c880, 0xcdc, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc001ee14c0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003b5d518, 0xc002c4c200, 0xc00000f180) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a1e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 659 [runnable]: bytes.makeSlice(0x16dd, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc004832540, 0x7, 0xaa1a44) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc004832540, 0xc0003d69a0, 0x7, 0x6, 0xffffffffffffffff, 0xaa03f5) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc004832540, 0xc0003d69a0, 0x7, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc004832540, 0xc0044ba5b0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc004832540, 0xc0044ba460, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004832540, 0xc004a2e000, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004832540, 0xc0042bff10, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004832540, 0xc001318fc0, 0xb84d20, 0xc004832540) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc004832540, 0xc001318fc0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0010e6660, 0x22627ae1a, 0x1251a20, 0xc00000f500, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a2a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 660 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d4a0, 0x0, 0x0, 0x0, 0xc004ee6800, 0x70e, 0x2, 0xc002aeb038, 0xc004ee6800, 0x70e, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d4a0, 0xc004ee6800, 0x70e, 0xaa04bf, 0x2, 0x1, 0x2) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.FromHTMLNode(0xc0005dc7e0, 0x0, 0x0, 0x0, 0x0, 0xc0005dc7e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:80 +0x191 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00129e0c0, 0x0, 0x0, 0x0, 0xc00, 0xc001b17800, 0xaa3, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc001b17800, 0xaa3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb7a652d900000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003b5f518, 0xc004649480, 0xc004649cc0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 661 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc003045260, 0x1711d0790, 0x1251a20, 0xc002c4cb40, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 662 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0032ed2e0, 0xc0032ed2a8, 0xc0032ed330, 0x42ca96, 0xc003c85800, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:824 +0x69 github.com/andybalholm/cascadia.ParseGroup(0xab9e11, 0x19, 0x1, 0xc0032ed348, 0xc0032ed360, 0x42d308, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xab9e11, 0x19, 0x1, 0xb856e0, 0xc0046485a0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc003c855f0, 0xab9e11, 0x19, 0xc003c85800) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).getTitleUnmodified(0xc0032ed518, 0xc004648320, 0xb34, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:63 +0x12b github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:128 +0x282 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a4e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 663 [semacquire]: regexp.makeOnePass(0xc0030e87b0, 0xc0030e87b0) /usr/local/go/src/regexp/onepass.go:309 +0x20e regexp.compileOnePass(0xc002b5c720, 0xc002b5c720) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x0) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003b7cff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003b7cff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc00155c2b4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003b7cff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003b7cff8, 0x1, 0xc0024357d0, 0xc01003ff180, 0x2804b42a3560) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003b7cff8, 0x4, 0xc45, 0xc00335f301, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc00335f000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203000, 0xc00483a9c0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc002b5c6f0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003b7d8f8, 0xc001dbca00, 0x13a3, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a5a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 664 [semacquire]: regexp/syntax.(*compiler).inst(...) /usr/local/go/src/regexp/syntax/compile.go:173 regexp/syntax.(*compiler).init(...) /usr/local/go/src/regexp/syntax/compile.go:92 regexp/syntax.Compile(0xc000c1db90, 0xc000c1db90, 0x1, 0x1) /usr/local/go/src/regexp/syntax/compile.go:82 +0x2db regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:178 +0xd7 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003b7eff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003b7eff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc001ffe8c0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003b7eff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003b7eff8, 0x1, 0xc004ee4380, 0xc0100765500, 0x2804b42a2108) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003b7eff8, 0x4, 0x7ea, 0xc00336c801, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc00336c000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203000, 0xc0043a2750, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc003c85f80, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003b7f8f8, 0xc003284800, 0x16d5, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 665 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc0043a28f0, 0xc001ffe910, 0x7) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc0043a28f0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0043a28f0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0043a28f0, 0xc004f02fc0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0013e6e20, 0x0, 0x0, 0x0, 0xc003539200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0013e6e20, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0035398f8, 0xc0040a8000, 0x3090, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 666 [semacquire]: bytes.makeSlice(0x10cb, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0032ef388, 0x3c1, 0x159) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0032ef388, 0xc00278f400, 0x3c1, 0x5165d7, 0xc000484a2a, 0xc003041a40) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004be7ea0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004be7e30) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001b5bab0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001b5b9d0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0011d5ab0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc004ee80c0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0032ef518, 0xc0013e6ec0, 0x93, 0xc000fa47b6) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a7e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 667 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002c4d100, 0xc0059291b0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005929588, 0xaa058b, 0x2, 0xc002a8d900, 0x97, 0x0, 0xc0059293d8, 0xc005d38f28) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc005929518, 0xc002ebf890, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:528 +0xfd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc005929518, 0xc0028078a0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a8a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 668 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0001d4040, 0xc00107d2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00107d3c0, 0xaa04f9, 0x2, 0xc000b2e000, 0x1ee0, 0x1, 0x2d9, 0xc002e4f3a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc000b2e000, 0x1ee0, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00107d518, 0xc0017537e0, 0x76, 0xc00231ed80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 669 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00330d140, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00330d130, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003d4ec00, 0x12c6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00231ef00, 0x72, 0xc003d4ec00, 0x12c6, 0xc003d4ec00, 0x12c6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00231ef00, 0x72, 0xc003d4ec00, 0x12c6, 0xaa0378, 0x1, 0xc003d4ec00, 0x12c6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303aa20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 670 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0016fe2a0, 0x50d2a1, 0xc001123c20, 0x29, 0xaada21) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc001f05518, 0xc00187f3e0, 0xc003432480) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303aae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 671 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c482753c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023dd6c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023dd6b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002666d80, 0x45e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004372b40, 0x89, 0xc002666d80, 0x45e, 0xc002666d80, 0x45e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004372b40, 0x89, 0xc002666d80, 0x45e, 0xaa0378, 0x1, 0xc002666d80, 0x45e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303aba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 673 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc001cb5900, 0x123b, 0xc002453218, 0xc003f9e000) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc001cb5900, 0x123b, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0024533c0, 0xaa0503, 0x2, 0xc001cb5900, 0x123b, 0x1, 0x1a1, 0xc00065f4c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002359b0, 0xc001cb5900, 0x123b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002453518, 0xc00187f7c0, 0x79, 0xc00231f980) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303ad20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 674 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88f3ca20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001de9e80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001de9e70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0029efc00, 0x6dd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c73b90, 0x8e, 0xc0029efc00, 0x6dd, 0xc0029efc00, 0x6dd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c73b90, 0x8e, 0xc0029efc00, 0x6dd, 0xaa0378, 0x1, 0xc0029efc00, 0x6dd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303ade0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 675 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c70cb4f90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00357b510, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00357b500, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004e05500, 0x13ee, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0013168c0, 0x9e, 0xc004e05500, 0x13ee, 0xc004e05500, 0x13ee, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0013168c0, 0x9e, 0xc004e05500, 0x13ee, 0xaa0378, 0x1, 0xc004e05500, 0x13ee, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303aea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 676 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc00493d000, 0x7e0, 0xc003bdb218, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc00493d000, 0x7e0, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003bdb3c0, 0xaa0503, 0x2, 0xc00493d000, 0x7e0, 0x1, 0x120, 0xc00065e6c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00077e060, 0xc00493d000, 0x7e0, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003bdb518, 0xc00039b3e0, 0xaf, 0xc001aa4160) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303af60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 678 [semacquire]: regexp.onePassCopy(0xc004ee8e70, 0xc004ee8e70) /usr/local/go/src/regexp/onepass.go:225 +0x5d regexp.compileOnePass(0xc004ee8e70, 0xc004ee8e70) /usr/local/go/src/regexp/onepass.go:497 +0x11b regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc001078ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc001078ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc001fff08c) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc001078ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc001078ff8, 0x1, 0xc004ee48b0, 0xc0100765500, 0x2804b42a2108) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc001078ff8, 0x4, 0xe85, 0xc0047e7101, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc0047e7000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc0043a2dd0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc004ee8e40, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0010798f8, 0xc001301300, 0x116d, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b0e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 679 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0035a32c8, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:724 +0x716 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0035a32c8, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0035a32c8, 0xc0035a0438, 0x48e800, 0xc0035a32a8, 0x49e710, 0x1161600) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xaa3da6, 0x4, 0x438, 0x2, 0x62, 0x62, 0xc0035a3360) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaa3da6, 0x4, 0x50c719, 0xc002f6a54c, 0x64) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00097c5a0, 0xaa3da6, 0x4, 0xffffffffffffffff) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0035a3518, 0xc005dd6540, 0x70, 0xc002f6a54c) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:120 +0x4a github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b1a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 680 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc00315f500, 0x320f, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc00315f500, 0x320f, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc00315f500, 0x320f, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc00315f500, 0x320f, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc00315f500, 0x320f, 0x0, 0x0, 0x320f, 0xc00315f500, 0x320f) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc00315f500, 0x320f, 0x320f, 0x4000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014f04a9, 0x66, 0xc00315f500, 0x320f, 0xc00315f500, 0x320f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014f04a9, 0x66, 0xc00315f500, 0x320f, 0xaa0378, 0x1, 0xc00315f500, 0x320f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 681 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc002661588, 0xaa058b, 0x2, 0xc0019a5000, 0x3e0, 0x8, 0x1e, 0xc004649180) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc002661518, 0xc00230c120, 0x3c) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 682 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b807f9580, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002c80eb0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002c80ea0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002572000, 0x624, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb8c40, 0x70, 0xc002572000, 0x624, 0xc002572000, 0x624, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb8c40, 0x70, 0xc002572000, 0x624, 0xaa0378, 0x1, 0xc002572000, 0x624, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b3e0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 683 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c880e20d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00251d120, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00251d100, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00220ac00, 0xa8a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c56680, 0x73, 0xc00220ac00, 0xa8a, 0xc00220ac00, 0xa8a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c56680, 0x73, 0xc00220ac00, 0xa8a, 0xaa0378, 0x1, 0xc00220ac00, 0xa8a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b4a0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 684 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8833e1a0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0000a5940, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0000a5930, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002919b00, 0x47e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00106e5ba, 0x36, 0xc002919b00, 0x47e, 0xc002919b00, 0x47e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00106e5ba, 0x36, 0xc002919b00, 0x47e, 0xaa0378, 0x1, 0xc002919b00, 0x47e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 685 [semacquire]: strings.genSplit(0xc002d91980, 0x18dc, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc00545c000, 0x25f, 0x25f) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0016773c0, 0xaa0503, 0x2, 0xc0018ccc80, 0x18dc, 0x1, 0x25f, 0xc0001d5680) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235950, 0xc0018ccc80, 0x18dc, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001677518, 0xc0015d0580, 0xfe, 0xc003312700) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 686 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.(*parser).addFormattingElement(0xc004547110) /home/develop/go/src/golang.org/x/net/html/parse.go:337 +0x67 golang.org/x/net/html.inBodyIM(0xc004547110, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:978 +0x4c5 golang.org/x/net/html.(*parser).parseCurrentToken(0xc004547110) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc004547110, 0xc001eb4770, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc000c4ba10, 0x0, 0x0, 0x0, 0x0, 0x901, 0xc000c4b9e0) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc000c4b9e0, 0x0, 0x0, 0x0, 0xa80, 0xc003888a80, 0x940, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc003888a80, 0x940, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc003420960) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003833518, 0xc0015d0ae0, 0xc00230d0a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b6e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 688 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc0048ac4e0, 0x19e, 0x2, 0xc003dba198, 0xc00000000a, 0x2, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc0048ac4e0, 0x19e, 0xaa0378, 0x1, 0x0, 0x0) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003dbb0c0, 0xc004343730, 0xc003dba1b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003dbb0c0, 0xc0043436c0, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc003dbb0c0, 0xc0043436c0, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003dbb0c0, 0xc0043436c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003dbb0c0, 0xc0043436c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003dbb0c0, 0xc004342f50, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003dbb0c0, 0xc004342f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003dbb0c0, 0xc004342f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003dbb0c0, 0xc004342e70, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003dbb0c0, 0xc004342e70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003dbb0c0, 0xc004342e70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003dbb0c0, 0xc004342770, 0xc004cec700, 0x7f1cb42a5080) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003dbb0c0, 0xc004342770, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003dbb0c0, 0xc004342770, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003dbb0c0, 0xc004342690, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003dbb0c0, 0xc004342690, 0x54b170, 0xc004546f70) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc004342690, 0x0, 0x0, 0x0, 0x0, 0xc004342690, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc000c4b290, 0x0, 0x0, 0x0, 0xc00, 0xc0050dac00, 0xa88, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0050dac00, 0xa88, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000326920) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003dbb518, 0xc00065f9e0, 0xc00230cb20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 689 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0006131f8, 0x42f900, 0x0, 0x80, 0xc000613138) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:724 +0x716 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0006131f8, 0xc000be5d28, 0x755278, 0xab29a3, 0xab29a3) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0006131f8, 0xab29a3, 0xc, 0xacde1e, 0x2, 0xc0006131f0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xaa03b1, 0x1, 0x7d55b0, 0xc000613518, 0xc003583c20, 0x47, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaa03b1, 0x1, 0x1, 0xc0006132c0, 0xc0006132d8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc003583b90, 0xaa03b1, 0x1, 0x3ff0000000000000) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc000613518, 0xc003583b90, 0xc002b02080) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:632 +0x56 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc000613518, 0xc003583b90, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc000613518, 0xc003583b90, 0xc003583b90) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 690 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88292990, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc004719670, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc004719660, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002d7c000, 0x41d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001aa536c, 0x4c, 0xc002d7c000, 0x41d, 0xc002d7c000, 0x41d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001aa536c, 0x4c, 0xc002d7c000, 0x41d, 0xaa0378, 0x1, 0xc002d7c000, 0x41d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b9e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 691 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c1109d200, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001334510, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0013344f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0025ca900, 0x44f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0039d2d80, 0x78, 0xc0025ca900, 0x44f, 0xc0025ca900, 0x44f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0039d2d80, 0x78, 0xc0025ca900, 0x44f, 0xaa0378, 0x1, 0xc0025ca900, 0x44f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303baa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 692 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0038f33c0, 0xaa04df, 0x2, 0xc003a77c00, 0x6d4, 0xa, 0xe2, 0xc0030bc060) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235950, 0xc003a77c00, 0x6d4, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0038f3518, 0xc0015d0140, 0xbb, 0xc001200f33) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bb60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 693 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0001d4000, 0xc003fa72c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003fa73c0, 0xaa0569, 0x2, 0xc001e54680, 0x57b, 0x2, 0xb7, 0xc000c1b8c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00077e060, 0xc001e54680, 0x57b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003fa7518, 0xc002806340, 0x94, 0xc000fa5436) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bc20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 694 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/jaytaylor/html2text.FromHTMLNode(0xc00530b110, 0x0, 0x0, 0x0, 0x0, 0xc00530b110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:81 +0x10d github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00129f0b0, 0x0, 0x0, 0x0, 0xa80, 0xc0054d2000, 0x9d0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0054d2000, 0x9d0, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000327120) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0038f5518, 0xc0028063e0, 0xc001753da0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 695 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0009e6680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x260 golang.org/x/net/html.(*parser).parse(0xc0009e6750, 0xc002fe2230, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002b03d80, 0x0, 0x0, 0x0, 0xc003e21200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002b03d80, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003e218f8, 0xc001094000, 0x95f, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bda0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 696 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc004f1e680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc004f1e750, 0xc004f2b260, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc00471aae0, 0x0, 0x0, 0x0, 0x0, 0xb6bf7f, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00471aab0, 0x0, 0x0, 0x0, 0xa80, 0xc004751500, 0x92a, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc004751500, 0x92a, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc001649520) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003a73518, 0xc004585260, 0xc002d8fe40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303be60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 697 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88254d60, 0x7f1b808448e0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003940780, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003940770, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003937b00, 0x435, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb5340, 0x67, 0xc003937b00, 0x435, 0xc003937b00, 0x435, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb5340, 0x67, 0xc003937b00, 0x435, 0xaa0378, 0x1, 0xc003937b00, 0x435, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bf20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 698 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88237f60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0025b76c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0025b76b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001f41600, 0x512, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00002b310, 0x4b, 0xc001f41600, 0x512, 0xc001f41600, 0x512, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00002b310, 0x4b, 0xc001f41600, 0x512, 0xaa0378, 0x1, 0xc001f41600, 0x512, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 699 [semacquire]: regexp.(*Regexp).ReplaceAllString(0xc0001fb2c0, 0xc000d74a00, 0x4f0, 0xaa04bf, 0x2, 0xc000d74a00, 0x4f0) /usr/local/go/src/regexp/regexp.go:560 +0x135 github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc003665388, 0xc00081ed70, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:136 +0x201 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc003665388, 0xc00321f4a0, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0x231, 0x232) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc003665518, 0xc00321f4a0, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030520c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 700 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b981a7580, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001a11970, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001a11950, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002508000, 0x467, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00036ca80, 0x6e, 0xc002508000, 0x467, 0xc002508000, 0x467, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00036ca80, 0x6e, 0xc002508000, 0x467, 0xaa0378, 0x1, 0xc002508000, 0x467, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 701 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88157da0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00233be50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00233be40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003936d80, 0x47a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00387e070, 0x63, 0xc003936d80, 0x47a, 0xc003936d80, 0x47a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00387e070, 0x63, 0xc003936d80, 0x47a, 0xaa0378, 0x1, 0xc003936d80, 0x47a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 702 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c5434c110, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002975e30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002975e20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003bdef00, 0x492, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b36b9, 0x46, 0xc003bdef00, 0x492, 0xc003bdef00, 0x492, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b36b9, 0x46, 0xc003bdef00, 0x492, 0xaa0378, 0x1, 0xc003bdef00, 0x492, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 703 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c480223f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0030fbb50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0030fbb40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0023eea00, 0x4d7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4e5b0, 0x61, 0xc0023eea00, 0x4d7, 0xc0023eea00, 0x4d7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4e5b0, 0x61, 0xc0023eea00, 0x4d7, 0xaa0378, 0x1, 0xc0023eea00, 0x4d7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030523c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 704 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b742f4a90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b5c910, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b5c900, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003508a00, 0x4ff, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00231e9cd, 0x26, 0xc003508a00, 0x4ff, 0xc003508a00, 0x4ff, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00231e9cd, 0x26, 0xc003508a00, 0x4ff, 0xaa0378, 0x1, 0xc003508a00, 0x4ff, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 705 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b703d9c30, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023de570, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023de560, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00335cc00, 0x3fc, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003052c60, 0x60, 0xc00335cc00, 0x3fc, 0xc00335cc00, 0x3fc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003052c60, 0x60, 0xc00335cc00, 0x3fc, 0xaa0378, 0x1, 0xc00335cc00, 0x3fc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 706 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b6c3ab300, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0006b51e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0006b51d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0034c1800, 0x3562, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001c8c2d0, 0xe3, 0xc0034c1800, 0x3562, 0xc0034c1800, 0x3562, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001c8c2d0, 0xe3, 0xc0034c1800, 0x3562, 0xaa0378, 0x1, 0xc0034c1800, 0x3562, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 707 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b904ad880, 0x7f1b904ace10) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00390fb50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00390fb30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002db9700, 0x515, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4f2d0, 0x6f, 0xc002db9700, 0x515, 0xc002db9700, 0x515, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4f2d0, 0x6f, 0xc002db9700, 0x515, 0xaa0378, 0x1, 0xc002db9700, 0x515, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030526c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 708 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bec3d1890, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c5db50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c5db40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002848000, 0xa1f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004658c0, 0x3d, 0xc002848000, 0xa1f, 0xc002848000, 0xa1f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004658c0, 0x3d, 0xc002848000, 0xa1f, 0xaa0378, 0x1, 0xc002848000, 0xa1f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 709 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc003cc3500, 0x976, 0xc001d43218, 0xc002fdce00) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc003cc3500, 0x976, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc001d433c0, 0xaa058b, 0x2, 0xc003cc3500, 0x976, 0x7, 0x103, 0xc0016bc1a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235950, 0xc003cc3500, 0x976, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001d43518, 0xc000d803e0, 0x5e, 0xc00301be60) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 710 [runnable]: regexp/syntax.(*parser).newRegexp(...) /usr/local/go/src/regexp/syntax/parse.go:94 regexp/syntax.(*parser).newLiteral(0xc0007199e0, 0xd500000073, 0x1) /usr/local/go/src/regexp/syntax/parse.go:182 +0x11f regexp/syntax.(*parser).literal(0xc0007199e0, 0x73) /usr/local/go/src/regexp/syntax/parse.go:210 +0x3b regexp/syntax.Parse(0xabc10c, 0x11, 0xd4, 0x0, 0x0, 0xabc106) /usr/local/go/src/regexp/syntax/parse.go:729 +0x2ae regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:170 +0x5a regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003c81300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003c81300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003c81300, 0x0, 0xb856e0, 0xc00039bf28, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003c81300, 0xc003a0dce0, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003c81300, 0x42ca96, 0xc0054ee630, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc003c81370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc001e2c840, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00129fc80, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc003c81518, 0xc0030bdfa0, 0xabc101, 0x1d, 0x66, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 711 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9c189690, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002c96ee0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002c96ed0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002878800, 0x1511, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d44000, 0x8c, 0xc002878800, 0x1511, 0xc002878800, 0x1511, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d44000, 0x8c, 0xc002878800, 0x1511, 0xaa0378, 0x1, 0xc002878800, 0x1511, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030529c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 712 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb041ea70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001540920, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001540910, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001cdf000, 0xf39, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014f0240, 0x8e, 0xc001cdf000, 0xf39, 0xc001cdf000, 0xf39, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014f0240, 0x8e, 0xc001cdf000, 0xf39, 0xaa0378, 0x1, 0xc001cdf000, 0xf39, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 713 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882708d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0034673a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003467390, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004265500, 0x9cc, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb5650, 0x6b, 0xc004265500, 0x9cc, 0xc004265500, 0x9cc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb5650, 0x6b, 0xc004265500, 0x9cc, 0xaa0378, 0x1, 0xc004265500, 0x9cc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052b40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 714 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88082f00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001892900, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018928e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00380b300, 0x1071, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fa4f00, 0xa0, 0xc00380b300, 0x1071, 0xc00380b300, 0x1071, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fa4f00, 0xa0, 0xc00380b300, 0x1071, 0xaa0378, 0x1, 0xc00380b300, 0x1071, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052c00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 715 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1ba8238130, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023ddfe0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023ddfd0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0015fb200, 0x829, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00303b440, 0x52, 0xc0015fb200, 0x829, 0xc0015fb200, 0x829, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00303b440, 0x52, 0xc0015fb200, 0x829, 0xaa0378, 0x1, 0xc0015fb200, 0x829, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052cc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 716 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc044deb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00071b650, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00071b640, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000ff7000, 0xf68, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c56000, 0x7a, 0xc000ff7000, 0xf68, 0xc000ff7000, 0xf68, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c56000, 0x7a, 0xc000ff7000, 0xf68, 0xaa0378, 0x1, 0xc000ff7000, 0xf68, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 717 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1ba8234920, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000c19d90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000c19d80, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00294ca80, 0x2915, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003798000, 0xb3, 0xc00294ca80, 0x2915, 0xc00294ca80, 0x2915, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003798000, 0xb3, 0xc00294ca80, 0x2915, 0xaa0378, 0x1, 0xc00294ca80, 0x2915, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 718 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd03a3050, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001e6d130, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001e6d120, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003c93900, 0x2046, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003918000, 0x85, 0xc003c93900, 0x2046, 0xc003c93900, 0x2046, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003918000, 0x85, 0xc003c93900, 0x2046, 0xaa0378, 0x1, 0xc003c93900, 0x2046, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 719 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020602e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020602d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002aaa000, 0xf38, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0003802a0, 0x5c, 0xc002aaa000, 0xf38, 0xc002aaa000, 0xf38, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0003802a0, 0x5c, 0xc002aaa000, 0xf38, 0xaa0378, 0x1, 0xc002aaa000, 0xf38, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052fc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 720 [semacquire]: bytes.makeSlice(0x3a2, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc003c83388, 0x1ea, 0x7) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc003c83388, 0xc00275cc00, 0x1ea, 0x5165d7, 0xc001a4618e, 0xc001f7c8c7) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003d68380) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003d68310) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003d5fe30) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003d5fd50) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003d5f650) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0035820f0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003c83518, 0xc000d81840, 0x5c, 0xc0030525a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 721 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bcc542d40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00091b4a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00091b490, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001623800, 0xaae, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001aa42c0, 0xa4, 0xc001623800, 0xaae, 0xc001623800, 0xaae, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001aa42c0, 0xa4, 0xc001623800, 0xaae, 0xaa0378, 0x1, 0xc001623800, 0xaae, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 722 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd43914d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0013eaf30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0013eaf20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001737000, 0xdc9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014f09bd, 0x59, 0xc001737000, 0xdc9, 0xc001737000, 0xdc9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014f09bd, 0x59, 0xc001737000, 0xdc9, 0xaa0378, 0x1, 0xc001737000, 0xdc9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 723 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1be0244500, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002d8b470, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002d8b450, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003e62800, 0x7ca, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c56880, 0x46, 0xc003e62800, 0x7ca, 0xc003e62800, 0x7ca, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c56880, 0x46, 0xc003e62800, 0x7ca, 0xaa0378, 0x1, 0xc003e62800, 0x7ca, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030532c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 724 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf08b35a0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00233af10, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00233af00, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00002d200, 0x5ec, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010ee6c0, 0xb6, 0xc00002d200, 0x5ec, 0xc00002d200, 0x5ec, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010ee6c0, 0xb6, 0xc00002d200, 0x5ec, 0xaa0378, 0x1, 0xc00002d200, 0x5ec, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 725 [runnable]: bytes.makeSlice.func1() /usr/local/go/src/bytes/buffer.go:224 +0x68 bytes.makeSlice(0x2f0, 0xc006dbe000, 0x2f0, 0x2f0) /usr/local/go/src/bytes/buffer.go:229 +0x96 bytes.(*Buffer).grow(0xc003cef198, 0x2f0, 0x42ca96) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc003cef198, 0xc000b00000, 0x2f0, 0x28, 0x28, 0xc006dba1b0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00376a230) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00376a1c0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc002140990, 0xc006dba1b0, 0xc003cef210) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc003cef518, 0xc002140990, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:527 +0xc5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc003cef518, 0xc002b027e0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 726 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc006ce3680, 0xc006ce3680, 0xc006ce3700) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc004171518, 0xc0015d1520, 0x42) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:423 +0x38b github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 727 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1becb87650, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003c07690, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003c07680, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004c16600, 0x5c6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001200e40, 0xb9, 0xc004c16600, 0x5c6, 0xc004c16600, 0x5c6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001200e40, 0xb9, 0xc004c16600, 0x5c6, 0xaa0378, 0x1, 0xc004c16600, 0x5c6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030535c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 728 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc00131a000, 0x88e, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc00131a000, 0x88e, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc00131a000, 0x88e, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc00131a000, 0x88e, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc00131a000, 0x88e, 0x0, 0x0, 0x88e, 0xc00131a000, 0x88e) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc00131a000, 0x88e, 0x88e, 0xa80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0017c6300, 0x75, 0xc00131a000, 0x88e, 0xc00131a000, 0x88e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0017c6300, 0x75, 0xc00131a000, 0x88e, 0xaa0378, 0x1, 0xc00131a000, 0x88e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 729 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88b08ff0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00071ba80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00071ba70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0052da000, 0x93c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00130a2d0, 0x87, 0xc0052da000, 0x93c, 0xc0052da000, 0x93c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00130a2d0, 0x87, 0xc0052da000, 0x93c, 0xaa0378, 0x1, 0xc0052da000, 0x93c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 730 [runnable]: github.com/advancedlogic/GoOse.(*ContentExtractor).updateNodeCount(0xc0026ed518, 0xc006dba000, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:497 +0xe7 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0026ed518, 0xc002b030e0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:434 +0x64a github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 731 [runnable]: strings.(*Builder).WriteRune(0xc004d4b190, 0xc000000440, 0x45, 0xc005f11600, 0x47) /usr/local/go/src/strings/builder.go:104 +0x29d strings.Map(0xae62d0, 0xc005f0e002, 0x1af7, 0xc004d4b248, 0x79bc18) /usr/local/go/src/strings/strings.go:488 +0x436 strings.ToLower(0xc005f0e002, 0x1af7, 0x0, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc004d4b518, 0xc002b03fa0, 0xc002806740) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:297 +0x11e github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030538c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 732 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002b03d60, 0xc003c7d2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003c7d3c0, 0xaa059b, 0x2, 0xc001909800, 0x6c3, 0x1, 0xd4, 0xc002b03d40) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00077e060, 0xc001909800, 0x6c3, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003c7d518, 0xc000d80cc0, 0x7b, 0xc000c56e00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 733 [semacquire]: github.com/PuerkitoBio/goquery.pushStack(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/utilities.go:159 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc006ce3f50, 0xaa03b1, 0x1, 0xc006ce3fb0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0xb3 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup.func1(0x0, 0xc006ce3f50) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:739 +0x137 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc006ce3f20, 0xc00291f408, 0xc0004273b0) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc00291f518, 0xc0004273b0, 0xc0004273b0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:720 +0x88 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053a40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 735 [semacquire]: golang.org/x/net/html/atom.String(0xc00283a9bf, 0xc, 0x641, 0x641, 0xc00283a9cd) /home/develop/go/src/golang.org/x/net/html/atom/atom.go:77 +0xc6 golang.org/x/net/html.(*Tokenizer).Token(0xc0033101a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x12a golang.org/x/net/html.(*parser).parse(0xc003310270, 0xc0047b7dc0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002e4f4a0, 0x0, 0x0, 0x0, 0xc002a67200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002e4f4a0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc002a678f8, 0xc0028ef800, 0xb73, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053bc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 736 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc0039ac000, 0x1df8, 0xc0037f1218, 0xc000765500) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc0039ac000, 0x1df8, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0037f13c0, 0xaa0569, 0x2, 0xc0039ac000, 0x1df8, 0x2, 0x2c8, 0xc0030bc040) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235950, 0xc0039ac000, 0x1df8, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0037f1518, 0xc001af5ce0, 0x92, 0xc000fa4c0e) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053c80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 737 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bec520b00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b58640, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b58620, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001092c00, 0x3e1, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b21b0, 0x83, 0xc001092c00, 0x3e1, 0xc001092c00, 0x3e1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b21b0, 0x83, 0xc001092c00, 0x3e1, 0xaa0378, 0x1, 0xc001092c00, 0x3e1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053d40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 738 [semacquire]: bytes.makeSlice(0x803, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc003bf7388, 0x1cf, 0x1) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc003bf7388, 0xc0039d5a40, 0x1cf, 0x5165d7, 0xc0020a48d3, 0xc003080b30) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc000b02070) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003d6f6c0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003d6ef50) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003d6ee70) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002245f80) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc003583320, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003bf7518, 0xc0016bc7e0, 0xb3, 0xc002024037) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053e00, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 739 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b78002700, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002db10b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002db10a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000d95000, 0xedb, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00162c187, 0x86, 0xc000d95000, 0xedb, 0xc000d95000, 0xedb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00162c187, 0x86, 0xc000d95000, 0xedb, 0xaa0378, 0x1, 0xc000d95000, 0xedb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053ec0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 740 [semacquire]: regexp.onePassCopy(0xc003583ad0, 0xc003583ad0) /usr/local/go/src/regexp/onepass.go:222 +0x77 regexp.compileOnePass(0xc003583ad0, 0xc003583ad0) /usr/local/go/src/regexp/onepass.go:497 +0x11b regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc0037aeff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc0037aeff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc002d30b9c) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0037aeff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0037aeff8, 0x1, 0xc0031e3e00, 0xc010275f880, 0x2804b42a27d0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0037aeff8, 0x4, 0x751, 0xc004bdc801, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc004bdc000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203000, 0xc0011fe410, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc003583aa0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0037af8f8, 0xc00196c800, 0x15de, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053f80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 741 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inBodyIM(0xc003310410, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:1004 +0x4fc golang.org/x/net/html.(*parser).parseCurrentToken(0xc003310410) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc003310410, 0xc00237d880, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002e4f4e0, 0x0, 0x0, 0x0, 0xc003d01200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002e4f4e0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003d018f8, 0xc001990000, 0xfd2, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072060, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 742 [semacquire]: bytes.makeSlice(0x3336, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0028b2360, 0x18, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0028b2360, 0xc002e36300, 0x18, 0x6, 0xffffffffffffffff, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0028b2360, 0xc002e36300, 0x18, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0028b2360, 0xc000b1eee0, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc0028b2360, 0xc000b1ee70, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0028b2360, 0xc003d56e70, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0028b2360, 0xc003d56d90, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0028b2360, 0xc003d56690, 0xb84d20, 0xc0028b2360) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0028b2360, 0xc003d56690, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0028b21b0, 0x1705ce7ef, 0x1251a20, 0xc0001d4160, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072120, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 743 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc000486300, 0x646, 0x700, 0xc000486300) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc000486300, 0x646, 0x65d, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa3a2a, 0x4, 0xc000485502, 0x65d, 0x0, 0x0, 0x10, 0xab52f4) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xe1 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030721e0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:304 +0x33a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 744 [semacquire]: bytes.makeSlice(0x20a5, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00469f0c0, 0x1, 0x1) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00469f0c0, 0x1189d00, 0x1, 0x1, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc00469f0c0, 0xc005f76dc0, 0x95, 0x95, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:440 +0xf7 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00469f0c0, 0xc00053ee70, 0xc00469de80, 0xaa03dd) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00469f0c0, 0xc00053ee00, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00469f0c0, 0xc00053ee00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:220 +0x6a0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00469f0c0, 0xc00053ee00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00469f0c0, 0xc00053ed20, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00469f0c0, 0xc00053ed20, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00469f0c0, 0xc00053ed20, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00469f0c0, 0xc00337dc70, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003c9d0c0, 0xc00337dc70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003c9d0c0, 0xc00337dc70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00469f0c0, 0xc00337db90, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003c9d0c0, 0xc00337db90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003c9d0c0, 0xc00337db90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00469f0c0, 0xc00337d490, 0xc002b93180, 0x7f1cb42a5080) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003c9d0c0, 0xc00337d490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003c9d0c0, 0xc00337d490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00469f0c0, 0xc00337d3b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003c9d0c0, 0xc00337d3b0, 0x54b170, 0xc005e3a340) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc00337d3b0, 0x0, 0x0, 0x0, 0x0, 0xc00337d3b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc004a00de0, 0x0, 0x0, 0x0, 0x1a80, 0xc006407a80, 0x1a41, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc006407a80, 0x1a41, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000c55b30) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003c9d518, 0xc00065e240, 0xc005d38260) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030722a0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 745 [semacquire]: regexp.(*Regexp).replaceAll(0xc002352780, 0x0, 0x0, 0x0, 0xc001527400, 0x2298, 0x2, 0xc004deb218, 0xc001527400, 0x2298, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc002352780, 0xc001527400, 0x2298, 0xaa0378, 0x1, 0x1, 0x33) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0024e9518, 0xc000c1bd00, 0xc00187eee0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072360, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 746 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc00041f5f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc00041f6c0, 0xc00205d1f0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc001d8ea50, 0x0, 0x0, 0x0, 0x0, 0xd01, 0xc001d8ea20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001d8ea20, 0x0, 0x0, 0x0, 0xd80, 0xc001148000, 0xd3f, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc001148000, 0xd3f, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000c55cb0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0013b5518, 0xc00065e340, 0xc00039a6e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072420, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 747 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c897829d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0017393c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0017393b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0047b9000, 0xee6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fa5180, 0x9b, 0xc0047b9000, 0xee6, 0xc0047b9000, 0xee6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fa5180, 0x9b, 0xc0047b9000, 0xee6, 0xaa0378, 0x1, 0xc0047b9000, 0xee6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030724e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 748 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002b03f80, 0xc003f792c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003f793c0, 0xaa04f9, 0x2, 0xc003c0e800, 0x4504, 0x1, 0x687, 0xc0015633a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00077e060, 0xc003c0e800, 0x4504, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003f79518, 0xc002807a20, 0x67, 0xc000eb9b20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030725a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 749 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0001d4120, 0xc003ceb2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003ceb3c0, 0xaa0503, 0x2, 0xc002ecf000, 0xe60, 0x1, 0x1d7, 0xc00187efa0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235950, 0xc002ecf000, 0xe60, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003ceb518, 0xc002c4c0a0, 0x82, 0xc000c73560) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 750 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0001d4100, 0xc003d192c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003d193c0, 0xaa05c9, 0x2, 0xc003b82000, 0x3ac4, 0x1, 0x506, 0xc002806c60) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00077e060, 0xc003b82000, 0x3ac4, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003d19518, 0xc0028068e0, 0x97, 0xc00180e140) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 751 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c5c4aa6e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002c2aa90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002c2aa80, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003246c00, 0xb15, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011f4240, 0x8b, 0xc003246c00, 0xb15, 0xc003246c00, 0xb15, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011f4240, 0x8b, 0xc003246c00, 0xb15, 0xaa0378, 0x1, 0xc003246c00, 0xb15, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030727e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 752 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b94570330, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0001e7680, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0001e7660, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0026a8000, 0x16ac, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014ec460, 0x67, 0xc0026a8000, 0x16ac, 0xc0026a8000, 0x16ac, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014ec460, 0x67, 0xc0026a8000, 0x16ac, 0xaa0378, 0x1, 0xc0026a8000, 0x16ac, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030728a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 753 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc00550c480, 0x479, 0x2, 0xc0011bc198, 0xc00000000a, 0x2, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc00550c480, 0x479, 0xaa0378, 0x1, 0x0, 0x0) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0011bd0c0, 0xc0028982a0, 0xc0011bc1b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0011bd0c0, 0xc002898230, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0011bd0c0, 0xc002898230, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0011bd0c0, 0xc002898230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0011bd0c0, 0xc002898230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0011bd0c0, 0xc002623730, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003d170c0, 0xc002623730, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003d170c0, 0xc002623730, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0011bd0c0, 0xc002623650, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003d170c0, 0xc002623650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003d170c0, 0xc002623650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0011bd0c0, 0xc002622f50, 0xc003d16d40, 0x46a81e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003d170c0, 0xc002622f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003d170c0, 0xc002622f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0011bd0c0, 0xc002622e70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003d170c0, 0xc002622e70, 0x54b170, 0xc0000a7520) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc002622e70, 0x0, 0x0, 0x0, 0x0, 0xc002622e70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0048dce40, 0x0, 0x0, 0x0, 0x1000, 0xc002937000, 0xf44, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc002937000, 0xf44, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000e7ee00) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003d17518, 0xc002b03800, 0xc0001d55e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 754 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88329c50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00071a520, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00071a510, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0015f9100, 0xce9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0007165a0, 0x53, 0xc0015f9100, 0xce9, 0xc0015f9100, 0xce9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0007165a0, 0x53, 0xc0015f9100, 0xce9, 0xaa0378, 0x1, 0xc0015f9100, 0xce9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072a20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 755 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc003310000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc0033100d0, 0xc0047b6a10, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc001d8e660, 0x0, 0x0, 0x0, 0x0, 0x1401, 0xc001d8e630) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001d8e630, 0x0, 0x0, 0x0, 0x1500, 0xc0042b5500, 0x1424, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc0042b5500, 0x1424, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc00126e780) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003d15518, 0xc002c4c8c0, 0xc0005f7fc0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072ae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 756 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fafa0, 0x0, 0x0, 0x0, 0xc0049ff000, 0xe9d, 0x2, 0xc004723a58, 0xaa3a2a, 0x4, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0001fafa0, 0xc0049ff000, 0xe9d, 0x0, 0x0, 0xc000235950, 0x127d7a0) /usr/local/go/src/regexp/regexp.go:557 +0x10a _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa3a2a, 0x4, 0xc0049ff000, 0xe9d, 0x0, 0x0, 0x10, 0xab52f4) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072ba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:304 +0x33a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 757 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc0046160a0, 0xb, 0x2, 0xc000bade68, 0xc00288cb70, 0xc00288cb70, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc0046160a0, 0xb, 0xaa0378, 0x1, 0xa25bc0, 0xc003122370) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc000baf0c0, 0xc0044fde30, 0xc003122370, 0xc000badfa0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc000baf0c0, 0xc0044fddc0, 0xc000000001, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc000baf0c0, 0xc0044fddc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc000baf0c0, 0xc0044fddc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc000baf0c0, 0xc0044fdce0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc000baf0c0, 0xc0044fdce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc000baf0c0, 0xc0044fdce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc000baf0c0, 0xc004ea65b0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0037ef0c0, 0xc004ea65b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0037ef0c0, 0xc004ea65b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc000baf0c0, 0xc004ea64d0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0037ef0c0, 0xc004ea64d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0037ef0c0, 0xc004ea64d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc000baf0c0, 0xc004a4fdc0, 0xc0037eed40, 0x46a81e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0037ef0c0, 0xc004a4fdc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0037ef0c0, 0xc004a4fdc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc000baf0c0, 0xc004a4fce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0037ef0c0, 0xc004a4fce0, 0x54b170, 0xc002abc1a0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc004a4fce0, 0x0, 0x0, 0x0, 0x0, 0xc004a4fce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc000c76480, 0x0, 0x0, 0x0, 0xa80, 0xc005b18a80, 0x9c1, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005b18a80, 0x9c1, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc0004b0c80) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0037ef518, 0xc000c1a9a0, 0xc006394540) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072c60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 758 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0050ad0c0, 0xc0031fd260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:233 +0x42d github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0050ad0c0, 0xc0031fd260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0050ad0c0, 0xc00163a230, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0050ad0c0, 0xc00163a230, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0050ad0c0, 0xc00163a230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0050ad0c0, 0xc00163a230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0050ad0c0, 0xc0043bbb90, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0050ad0c0, 0xc0043bbb90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0050ad0c0, 0xc0043bbb90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0050ad0c0, 0xc0043bbab0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0050ad0c0, 0xc0043bbab0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0050ad0c0, 0xc0043bbab0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0050ad0c0, 0xc0043bb3b0, 0xc0044f3180, 0x7f1cb42a3560) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0050ad0c0, 0xc0043bb3b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0050ad0c0, 0xc0043bb3b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0050ad0c0, 0xc0043bb2d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0050ad0c0, 0xc0043bb2d0, 0x54b170, 0xc000771c70) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0043bb2d0, 0x0, 0x0, 0x0, 0x0, 0xc0043bb2d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0016ffb60, 0x0, 0x0, 0x0, 0x2000, 0xc005d24000, 0x1efc, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005d24000, 0x1efc, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc001df0540) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0050ad518, 0xc004648ba0, 0xc0020d7000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072d20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 759 [semacquire]: bytes.makeSlice(0x82, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc005e463d8, 0x2, 0x2) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc005e463d8, 0xc005e4613c, 0x2, 0x2, 0x40, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc005e463d8, 0xc004d9fdc0, 0x6e, 0x6e, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:440 +0xf7 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005e463d8, 0xc000a692d0, 0xc000156bb0, 0xc005e46308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005e463d8, 0xc000a69260, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005e470c0, 0xc000a69260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005e470c0, 0xc000a69260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005e470c0, 0xc003129f80, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00199d0c0, 0xc003129f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00199d0c0, 0xc003129f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005e470c0, 0xc003129ea0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00199d0c0, 0xc003129ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00199d0c0, 0xc003129ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005e470c0, 0xc0044459d0, 0xc002fdce00, 0x7f1cb42a49b8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00199d0c0, 0xc0044459d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00199d0c0, 0xc0044459d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005e470c0, 0xc0044458f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00199d0c0, 0xc0044458f0, 0x54b170, 0xc0020ff520) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0044458f0, 0x0, 0x0, 0x0, 0x0, 0xc0044458f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc000de8780, 0x0, 0x0, 0x0, 0x1300, 0xc001b9a000, 0x1082, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc001b9a000, 0x1082, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc001df06c0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00199d518, 0xc000c1af80, 0xc002d8f6c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072de0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 760 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc002daaa90, 0xc0042ca300, 0x16b) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc002daaa90, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc002daaa90) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc002daaa90, 0xc002898620, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc001562420, 0x0, 0x0, 0x0, 0xc003f7b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc001562420, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003f7b8f8, 0xc004090000, 0xc0aa, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072ea0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 761 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd061ee80, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002247250, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002247240, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003754000, 0x5f2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000ee6230, 0x50, 0xc003754000, 0x5f2, 0xc003754000, 0x5f2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000ee6230, 0x50, 0xc003754000, 0x5f2, 0xaa0378, 0x1, 0xc003754000, 0x5f2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072f60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 762 [semacquire]: github.com/fatih/set.(*Set).Add(0xc001e2d1c0, 0xc00381d2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00381d3c0, 0xaa04f9, 0x2, 0xc002a87c00, 0x6e7, 0x1, 0xc8, 0xc001e2d1a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000235950, 0xc002a87c00, 0x6e7, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00381d518, 0xc000c1b640, 0x5f, 0xc001df0840) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 763 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc00485e000, 0x2ef0, 0xc003185218, 0xc0014c2e00) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc00485e000, 0x2ef0, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0031853c0, 0xaa04d9, 0x2, 0xc00485e000, 0x2ef0, 0x1, 0x423, 0xc002e4eee0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa180, 0xc00485e000, 0x2ef0, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003185518, 0xc0015621a0, 0xd9, 0xc00325e069) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030730e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 764 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc0bb2600, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001cff740, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001cff730, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0019d9200, 0x5e5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000716660, 0x5f, 0xc0019d9200, 0x5e5, 0xc0019d9200, 0x5e5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000716660, 0x5f, 0xc0019d9200, 0x5e5, 0xaa0378, 0x1, 0xc0019d9200, 0x5e5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030731a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 765 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc00616a000, 0x1d38, 0xae4d68) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc00616a000, 0x1d38, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc00616a000, 0x1d38, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc00616a000, 0x1d38, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc00616a000, 0x1d38, 0x0, 0x0, 0x1d38, 0xc00616a000, 0x1d38) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc00616a000, 0x1d38, 0x1d38, 0x2000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00172c1a0, 0xc3, 0xc00616a000, 0x1d38, 0xc00616a000, 0x1d38, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00172c1a0, 0xc3, 0xc00616a000, 0x1d38, 0xaa0378, 0x1, 0xc00616a000, 0x1d38, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 766 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c045c72c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00233abf0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00233abe0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0042fe800, 0x756, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014ec7e0, 0x6b, 0xc0042fe800, 0x756, 0xc0042fe800, 0x756, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014ec7e0, 0x6b, 0xc0042fe800, 0x756, 0xaa0378, 0x1, 0xc0042fe800, 0x756, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 767 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf422e970, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003d5ae00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003d5adf0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000b07200, 0xc7a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d760f0, 0x4f, 0xc000b07200, 0xc7a, 0xc000b07200, 0xc7a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d760f0, 0x4f, 0xc000b07200, 0xc7a, 0xaa0378, 0x1, 0xc000b07200, 0xc7a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030733e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 771 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bac46fb40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00033d650, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00033d640, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0037e7980, 0x195c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d4ab00, 0x75, 0xc0037e7980, 0x195c, 0xc0037e7980, 0x195c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d4ab00, 0x75, 0xc0037e7980, 0x195c, 0xaa0378, 0x1, 0xc0037e7980, 0x195c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381aa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 772 [runnable]: strings.(*Builder).WriteRune(0xc0026e90b0, 0xc00000043d, 0x9, 0xc006dbc000, 0xb) /usr/local/go/src/strings/builder.go:104 +0x29d strings.Map(0xae62d0, 0xc000c57600, 0x80, 0x80, 0xc0044f3180) /usr/local/go/src/strings/strings.go:488 +0x436 strings.ToLower(0xc000c57600, 0x80, 0x7544a2, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0026e9588, 0xaa058b, 0x2, 0xc000c57600, 0x80, 0x30, 0xc0026e9290, 0x42d308) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x0, 0xc004832180) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:635 +0x82 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc004832150, 0xc0026e9320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc0026e9518, 0xc004832030, 0xc002c4c020) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc0026e9518, 0xc004832030, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc0026e9518, 0xc004832030, 0xc004832030) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381b60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 773 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c24418d30, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001738f10, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001738ef0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0005df000, 0xf23, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b27e0, 0x8e, 0xc0005df000, 0xf23, 0xc0005df000, 0xf23, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b27e0, 0x8e, 0xc0005df000, 0xf23, 0xaa0378, 0x1, 0xc0005df000, 0xf23, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381c20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 774 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0054eb588, 0xaa058b, 0x2, 0xc006b9a000, 0x2dee, 0x15, 0x7e, 0xc005c81d20) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0054eb518, 0xc002807680, 0x4c) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 775 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9c271ab0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0019b1250, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0019b1240, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001901300, 0x10d2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001006a00, 0x95, 0xc001901300, 0x10d2, 0xc001901300, 0x10d2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001006a00, 0x95, 0xc001901300, 0x10d2, 0xaa0378, 0x1, 0xc001901300, 0x10d2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381da0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 776 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8803f6e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b5d7d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b5d7c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000c79500, 0x9ff, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4a460, 0x5b, 0xc000c79500, 0x9ff, 0xc000c79500, 0x9ff, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4a460, 0x5b, 0xc000c79500, 0x9ff, 0xaa0378, 0x1, 0xc000c79500, 0x9ff, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 777 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bdc502d50, 0x7f1bdc4f9510) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00379b320, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00379b310, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002b2d900, 0x1195, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4a620, 0x67, 0xc002b2d900, 0x1195, 0xc002b2d900, 0x1195, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4a620, 0x67, 0xc002b2d900, 0x1195, 0xaa0378, 0x1, 0xc002b2d900, 0x1195, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381f20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 778 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c6c220fb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00172a610, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00172a5f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00189d900, 0xc73, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002136300, 0x7e, 0xc00189d900, 0xc73, 0xc00189d900, 0xc73, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002136300, 0x7e, 0xc00189d900, 0xc73, 0xaa0378, 0x1, 0xc00189d900, 0xc73, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 779 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c7c6589c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0011f1a60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0011f1a50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002ec9800, 0x7b0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4a700, 0x61, 0xc002ec9800, 0x7b0, 0xc002ec9800, 0x7b0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4a700, 0x61, 0xc002ec9800, 0x7b0, 0xaa0378, 0x1, 0xc002ec9800, 0x7b0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035840c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 780 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c1c8e7800, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0022460d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0022460c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00394cd00, 0x890, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3f400, 0x74, 0xc00394cd00, 0x890, 0xc00394cd00, 0x890, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3f400, 0x74, 0xc00394cd00, 0x890, 0xaa0378, 0x1, 0xc00394cd00, 0x890, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 781 [semacquire]: bytes.makeSlice(0x1014, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0013b1388, 0x254, 0x1) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0013b1388, 0xc00022c780, 0x254, 0x1, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002dd9f80) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002dd9b90) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002dd8e00) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002dd8d20) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc000fba5b0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc004833da0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0013b1518, 0xc0030bcbe0, 0x70, 0xc0014edce0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 782 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc000481500, 0x6d3, 0xc001fd7218, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc000481500, 0x6d3, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc001fd73c0, 0xaa04fd, 0x2, 0xc000481500, 0x6d3, 0x3, 0xd7, 0xc00065e640) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00077e060, 0xc000481500, 0x6d3, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001fd7518, 0xc002c4d020, 0x5c, 0xc002a4f140) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 783 [semacquire]: bytes.makeSlice(0x194a, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc002b5d350, 0x1ce, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc002b5d350, 0xc001730d20, 0x1ce, 0x6, 0xffffffffffffffff, 0xaa03f5) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc002b5d350, 0xc001730d20, 0x1ce, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc002b5d350, 0xc003d5e150, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc002b5d350, 0xc0032adc00, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc002b5d350, 0xc003106e00, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc002b5d350, 0xc0035e68c0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc002b5d350, 0xc000ede700, 0xb84d20, 0xc002b5d350) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc002b5d350, 0xc000ede700, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc002b5d0e0, 0x1719fbf7b, 0x1251a20, 0xc00065f500, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035843c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 784 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8825a6e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00021bcf0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00021bce0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001481b00, 0x900, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0029ed950, 0x87, 0xc001481b00, 0x900, 0xc001481b00, 0x900, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0029ed950, 0x87, 0xc001481b00, 0x900, 0xaa0378, 0x1, 0xc001481b00, 0x900, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 785 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x2fe7050, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00233b500, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00233b4f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002a9e000, 0xabc, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c56f00, 0x74, 0xc002a9e000, 0xabc, 0xc002a9e000, 0xabc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c56f00, 0x74, 0xc002a9e000, 0xabc, 0xaa0378, 0x1, 0xc002a9e000, 0xabc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 786 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c684a4dc0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00357b480, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00357b470, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004c32c80, 0xc7e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0017c6800, 0x7f, 0xc004c32c80, 0xc7e, 0xc004c32c80, 0xc7e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0017c6800, 0x7f, 0xc004c32c80, 0xc7e, 0xaa0378, 0x1, 0xc004c32c80, 0xc7e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 787 [semacquire]: bytes.makeSlice(0x3eb0, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc006393470, 0x432, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc006393470, 0xc0022d4480, 0x432, 0x6, 0xffffffffffffffff, 0xaa03f5) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc006393470, 0xc0022d4480, 0x432, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc006393470, 0xc0042b2a10, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc006393470, 0xc0042b24d0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006393470, 0xc003fe3f80, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006393470, 0xc003fe3ea0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006393470, 0xc003fe31f0, 0xb84d20, 0xc006393470) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc006393470, 0xc003fe31f0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0063932c0, 0x23d6a6986, 0x1251a20, 0xc003924120, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035846c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 788 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1ba47f3060, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001f9e410, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001f9e3f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000325200, 0x422, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011d62d0, 0x50, 0xc000325200, 0x422, 0xc000325200, 0x422, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011d62d0, 0x50, 0xc000325200, 0x422, 0xaa0378, 0x1, 0xc000325200, 0x422, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 790 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8823ffe0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc003b51750, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003b51740, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0010dad00, 0x892, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004e20480, 0x5f, 0xc0010dad00, 0x892, 0xc0010dad00, 0x892, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004e20480, 0x5f, 0xc0010dad00, 0x892, 0xaa0378, 0x1, 0xc0010dad00, 0x892, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584900, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 791 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8824a000, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001e669a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001e66980, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0012f3000, 0xe15, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0015ea0f0, 0xf0, 0xc0012f3000, 0xe15, 0xc0012f3000, 0xe15, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0015ea0f0, 0xf0, 0xc0012f3000, 0xe15, 0xaa0378, 0x1, 0xc0012f3000, 0xe15, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035849c0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 792 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc00232f520, 0xc0027f8c40, 0x7) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc00232f520, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc00232f520) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc00232f520, 0xc000e8d8f0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0013e77c0, 0x0, 0x0, 0x0, 0xc0037f5200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0013e77c0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0037f58f8, 0xc00194f500, 0x30c1, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584a80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 793 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b905d9630, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0022f43d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0022f43b0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0031e7200, 0x5db, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001668820, 0xca, 0xc0031e7200, 0x5db, 0xc0031e7200, 0x5db, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001668820, 0xca, 0xc0031e7200, 0x5db, 0xaa0378, 0x1, 0xc0031e7200, 0x5db, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584b40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 794 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88281400, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00207fe60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00207fe50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003b97500, 0x9b4, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002136380, 0x78, 0xc003b97500, 0x9b4, 0xc003b97500, 0x9b4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002136380, 0x78, 0xc003b97500, 0x9b4, 0xaa0378, 0x1, 0xc003b97500, 0x9b4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584c00, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 795 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc00364f900, 0x4d0, 0x4d0, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc00364f900, 0x4d0, 0x7544a2, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc001e83588, 0xaa058b, 0x2, 0xc00364f900, 0x4d0, 0x0, 0xc001e833d8, 0xc004584c48) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc001e83518, 0xc004006690, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:528 +0xfd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc001e83518, 0xc000e0e580, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584cc0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 796 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc001244bb0, 0xaf, 0x2, 0xc004e73e30, 0x0, 0xc004e73ed0, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc001244bb0, 0xaf, 0xaa0378, 0x1, 0xc001d7dc80, 0x1) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004e74100, 0xc0037e2690, 0xc000156420, 0xc004e73f68) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004e74100, 0xc0037e2620, 0xc000000001, 0x9) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc004e750c0, 0xc0037e2620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:229 +0x376 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004e750c0, 0xc0037e2620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004e750c0, 0xc0037e2540, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc004e750c0, 0xc0037e2540, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc004e750c0, 0xc0037e2540, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004e750c0, 0xc0037e2540, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004e750c0, 0xc0011d8930, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003bef0c0, 0xc0011d8930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003bef0c0, 0xc0011d8930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004e750c0, 0xc0011d8850, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003bef0c0, 0xc0011d8850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003bef0c0, 0xc0011d8850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004e750c0, 0xc0011d8150, 0xc0003ff180, 0xb6c046) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003bef0c0, 0xc0011d8150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003bef0c0, 0xc0011d8150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004e750c0, 0xc0011d8070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003bef0c0, 0xc0011d8070, 0x54b170, 0xc00232fe10) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0011d8070, 0x0, 0x0, 0x0, 0x0, 0xc0011d8070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002b5dfb0, 0x0, 0x0, 0x0, 0xe000, 0xc00498a000, 0xd124, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc00498a000, 0xd124, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc00048c0c0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003bef518, 0xc004c4d980, 0xc00000ed20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584d80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 797 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc002b60b40, 0x226b903ab, 0x1251a20, 0xc002c4d740, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 798 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0043a35f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x260 golang.org/x/net/html.(*parser).parse(0xc0043a36c0, 0xc003d5e1c0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0013e7160, 0x0, 0x0, 0x0, 0xc000189200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0013e7160, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0001898f8, 0xc004318f80, 0x1989, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 799 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc002b60f30, 0x171a265bf, 0x1251a20, 0xc002c4d7e0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584fc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 800 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003bb73c0, 0xaa04f9, 0x2, 0xc00487b000, 0x72a, 0x1, 0xd1, 0xc0016bdfe0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00077e060, 0xc00487b000, 0x72a, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003bb7518, 0xc00039af00, 0x83, 0xc0029ed4e2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 801 [semacquire]: bytes.makeSlice(0xe02, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00513e810, 0x112, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00513e810, 0xc001124001, 0x112, 0x6, 0x112, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc00513e810, 0xc001124001, 0x16e, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:201 +0xe5 golang.org/x/net/html.render1(0xb84d20, 0xc00513e810, 0xc005234070, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc00513e810, 0xc00104d180, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00513e810, 0xc00104cb60, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00513e810, 0xc00104ca80, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00513e810, 0xc000d7ff80, 0xb84d20, 0xc00513e810) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc00513e810, 0xc000d7ff80, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc00513e660, 0x226c025d6, 0x1251a20, 0xc00065ecc0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 802 [semacquire]: bytes.makeSlice(0x1f79, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc003577388, 0x167, 0x616) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc003577388, 0xc004c22600, 0x167, 0x5165d7, 0xc0006d7ec4, 0xc001a3e5d8) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002139e30) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002139dc0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0003192d0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0003191f0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0003182a0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc002b5d620, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003577518, 0xc0013e73a0, 0x6c, 0xc002f6af50) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 803 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inBodyIM(0xc003311930, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:901 +0x820 golang.org/x/net/html.(*parser).parseCurrentToken(0xc003311930) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc003311930, 0xc000c5a380, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002c4d8e0, 0x0, 0x0, 0x0, 0xc003d3f200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002c4d8e0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003d3f8f8, 0xc002bd8000, 0x111a, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035852c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 804 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0043a3930, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc0043a3a00, 0xc000218460, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0013e77e0, 0x0, 0x0, 0x0, 0xc003d49200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0013e77e0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003d498f8, 0xc001f9c000, 0xe75, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 805 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0038f12e0, 0xc0038f12a8, 0xc0038f1330, 0x42ca96, 0xc00513e570, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:824 +0x69 github.com/andybalholm/cascadia.ParseGroup(0xab9e11, 0x19, 0x1, 0xc0038f1348, 0xc0038f1360, 0x42d308, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xab9e11, 0x19, 0x1, 0xb856e0, 0xc00065ec20) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0010e7b00, 0xab9e11, 0x19, 0xc00513e570) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).getTitleUnmodified(0xc0038f1518, 0xc0030bd140, 0xdfd, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:63 +0x12b github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:128 +0x282 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 806 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inBodyIM(0xc0043a3d40, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:941 +0x1058 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0043a3d40) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0043a3d40, 0xc002fb7420, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0013e7860, 0x0, 0x0, 0x0, 0xc00353b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0013e7860, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00353b8f8, 0xc00363aa00, 0x22ec, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 807 [runnable]: strings.(*Builder).WriteRune(0xc0045a50c0, 0xc000000076, 0x0, 0xc006f86000, 0x203001) /usr/local/go/src/strings/builder.go:107 +0x68 strings.Map(0xae62d0, 0xc0010fbce0, 0x14d, 0x14d, 0xc004464000) /usr/local/go/src/strings/strings.go:488 +0x436 strings.ToLower(0xc0010fbce0, 0x14d, 0x7544a2, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0045a5588, 0xaa058b, 0x2, 0xc0010fbce0, 0x14d, 0x15, 0x39, 0xc001e2c780) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0045a5518, 0xc00065f8e0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035855c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 809 [semacquire]: strings.genSplit(0xc00103e880, 0xd24, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc000af2800, 0x155, 0x155) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0034f73c0, 0xaa0569, 0x2, 0xc00103cd80, 0xd24, 0x1, 0x155, 0xc00065f0a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00077e060, 0xc00103cd80, 0xd24, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0034f7518, 0xc00065f940, 0x6b, 0xc001b4a5b0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 810 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc002190ab0, 0x171a32409, 0x1251a20, 0xc0013e71c0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 811 [semacquire]: bytes.makeSlice(0x7a6, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0030e9320, 0x218, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0030e9320, 0xc001145680, 0x218, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0030e9320, 0xc001145680, 0x218, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0030e9320, 0xc001184460, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc0030e9320, 0xc001c88850, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0030e9320, 0xc001c887e0, 0xb84d20, 0xc0030e9320) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0030e9320, 0xc001c887e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc002b5dd10, 0x226c177d1, 0x1251a20, 0xc00065fbe0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035858c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 812 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c584e4f80, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00186b3e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00186b3d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003509400, 0x4f5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0003813e0, 0x59, 0xc003509400, 0x4f5, 0xc003509400, 0x4f5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0003813e0, 0x59, 0xc003509400, 0x4f5, 0xaa0378, 0x1, 0xc003509400, 0x4f5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 813 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c541e1720, 0x7f1c541e2530) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000fc8230, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000fc8220, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002817400, 0xadb, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0039193b0, 0x87, 0xc002817400, 0xadb, 0xc002817400, 0xadb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0039193b0, 0x87, 0xc002817400, 0xadb, 0xaa0378, 0x1, 0xc002817400, 0xadb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585a40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 814 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b784f5400, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00155d600, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00155d5f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004ca8580, 0x538, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00359e600, 0x55, 0xc004ca8580, 0x538, 0xc004ca8580, 0x538, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00359e600, 0x55, 0xc004ca8580, 0x538, 0xaa0378, 0x1, 0xc004ca8580, 0x538, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585b00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 815 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c5068d850, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002798cd0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002798cc0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001afd800, 0x693, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011f50e0, 0x85, 0xc001afd800, 0x693, 0xc001afd800, 0x693, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011f50e0, 0x85, 0xc001afd800, 0x693, 0xaa0378, 0x1, 0xc001afd800, 0x693, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585bc0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 816 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88002520, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00111a840, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00111a830, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0027dc000, 0x819, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d44c60, 0x8c, 0xc0027dc000, 0x819, 0xc0027dc000, 0x819, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d44c60, 0x8c, 0xc0027dc000, 0x819, 0xaa0378, 0x1, 0xc0027dc000, 0x819, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585c80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 817 [semacquire]: strings.genSplit(0xc0030cb450, 0xc3, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc3, 0x121, 0x121) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc0005c5518, 0xc003e56180, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:575 +0x1a2 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0005c5518, 0xc001e2c0e0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:386 +0x1ae github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585d40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 818 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd43d2a90, 0x7f1bd43d30b0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002db0570, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002db0560, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000c84c00, 0x1073, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3fbad, 0x53, 0xc000c84c00, 0x1073, 0xc000c84c00, 0x1073, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3fbad, 0x53, 0xc000c84c00, 0x1073, 0xaa0378, 0x1, 0xc000c84c00, 0x1073, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585e00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 819 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c7c6d2310, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0039405f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0039405e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00218b680, 0x45d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c57096, 0x68, 0xc00218b680, 0x45d, 0xc00218b680, 0x45d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c57096, 0x68, 0xc00218b680, 0x45d, 0xaa0378, 0x1, 0xc00218b680, 0x45d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585ec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 820 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c0c878090, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002c2a2a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002c2a290, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002bbb900, 0x484, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3ec00, 0x7d, 0xc002bbb900, 0x484, 0xc002bbb900, 0x484, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3ec00, 0x7d, 0xc002bbb900, 0x484, 0xaa0378, 0x1, 0xc002bbb900, 0x484, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585f80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1224 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88e49c90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001dbb470, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001dbb460, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000c36000, 0x418, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0013161e2, 0x92, 0xc000c36000, 0x418, 0xc000c36000, 0x418, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0013161e2, 0x92, 0xc000c36000, 0x418, 0xaa0378, 0x1, 0xc000c36000, 0x418, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1218 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc002a00a80, 0x670e, 0xc00134b218, 0xc002fdce00) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc002a00a80, 0x670e, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00134b3c0, 0xaa058b, 0x2, 0xc002a00a80, 0x670e, 0x1, 0x9a6, 0xc004060960) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc002a00a80, 0x670e, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00134b518, 0xc001e2dba0, 0x5e, 0xc0004d9c80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 359 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b7c64e2f0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002d8a350, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002d8a330, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001cf7000, 0xe22, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0012440b0, 0x68, 0xc001cf7000, 0xe22, 0xc001cf7000, 0xe22, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0012440b0, 0x68, 0xc001cf7000, 0xe22, 0xaa0378, 0x1, 0xc001cf7000, 0xe22, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0c60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 360 [semacquire]: bytes.makeSlice(0x613, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0010e6de0, 0x5, 0x82) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0010e6de0, 0xaa57d3, 0x5, 0x82, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0010e6de0, 0xc004b56300, 0x2f6, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:224 +0x14c golang.org/x/net/html.render1(0xb84d20, 0xc0010e6de0, 0xc004700380, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc0010e6de0, 0xc001b5a1c0, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0010e6de0, 0xc001b5a150, 0xb84d20, 0xc0010e6de0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0010e6de0, 0xc001b5a150, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0010e6c30, 0x17199ac9c, 0x1251a20, 0xc0030bc260, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0d20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 361 [semacquire]: bytes.makeSlice(0x162, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc004ee8390, 0x5a, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc004ee8390, 0xc0030cdda0, 0x5a, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc004ee8390, 0xc0030cdda0, 0x5a, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc004ee8390, 0xc001c667e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc004ee8390, 0xc001c66540, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004ee8390, 0xc001c664d0, 0xb84d20, 0xc004ee8390) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc004ee8390, 0xc001c664d0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc003045a40, 0x226925976, 0x1251a20, 0xc002c4cec0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0de0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 362 [semacquire]: encoding/json.Unmarshal(0xc000d58240, 0x10d, 0x120, 0x9cfa40, 0xc002ec2be0, 0x120, 0x1) /usr/local/go/src/encoding/json/decode.go:100 +0x31 _/home/ec2-user/environment/cluster2/cluster2/fasttgo.(*Model).Predict(0xc002e4e7c0, 0xc001e88900, 0x845, 0x0, 0x0, 0x0, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:153 +0x16a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLangFT(0xc001e88900, 0x845, 0xaa058b, 0x2) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesft.go:14 +0x5f _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003348980, 0x74, 0xc001e88900, 0x845, 0xc001e88900, 0x845, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:12 +0x6b _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003348980, 0x74, 0xc001e88900, 0x845, 0xaa0378, 0x1, 0xc001e88900, 0x845, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0ea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 363 [semacquire]: github.com/araddon/dateparse.newParser(...) /home/develop/go/src/github.com/araddon/dateparse/parseany.go:1710 github.com/araddon/dateparse.parseTime(0xc004310a00, 0x72, 0x0, 0xc004310a00, 0x72, 0x72) /home/develop/go/src/github.com/araddon/dateparse/parseany.go:214 +0xf6 github.com/araddon/dateparse.ParseAny(0xc004310a00, 0x72, 0x3, 0xaa0378, 0x1, 0xc004310a00, 0x72) /home/develop/go/src/github.com/araddon/dateparse/parseany.go:124 +0x42 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00228b518, 0xc0020d63e0, 0xc00000eaa0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:344 +0xbce github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0f60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 364 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc001da44e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x18a golang.org/x/net/html.(*parser).parse(0xc001da45b0, 0xc0022f9490, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc001cd5200, 0x0, 0x0, 0x0, 0x0, 0xc01, 0xc001cd5140) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001cd5140, 0x0, 0x0, 0x0, 0xd80, 0xc001040380, 0xcb0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc001040380, 0xcb0, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0xc0008f0508, 0x75bd50) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003b61518, 0xc003924320, 0xc0000bfbc0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1219 [semacquire]: strings.genSplit(0xc005b12a80, 0x8ff, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc004be2310, 0xc003bf9360) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003bf93c0, 0xaa04df, 0x2, 0xc0058ea400, 0x8ff, 0xc0058ea400, 0xc003bf93b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc0058ea400, 0x8ff, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003bf9518, 0xc0030bcf20, 0x8f, 0xc00130b950) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717a40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1222 [semacquire]: strings.genSplit(0xc002675800, 0x3f2, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x3f2, 0xc002675400, 0x3f2) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0045e9588, 0xaa058b, 0x2, 0xc002675400, 0x3f2, 0x2, 0xc0045e9290, 0x42d308) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x4, 0xc0059f02a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:635 +0x82 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc002e51410, 0xc0045e9320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc0045e9518, 0xc002e50db0, 0xc0017f6280) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc0045e9518, 0xc002e50db0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc0045e9518, 0xc002e50db0, 0xc002e50db0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1220 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88352360, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c5c8a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c5c890, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004bea800, 0x712, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0030cdb00, 0x5e, 0xc004bea800, 0x712, 0xc004bea800, 0x712, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0030cdb00, 0x5e, 0xc004bea800, 0x712, 0xaa0378, 0x1, 0xc004bea800, 0x712, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717d40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 430 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc00483a1a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc00483a270, 0xc003552cb0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0030bcb60, 0x0, 0x0, 0x0, 0xc003835200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0030bcb60, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0038358f8, 0xc005305000, 0x4dca, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 431 [semacquire]: strings.genSplit(0xc005a80000, 0x5410, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0x855, 0x855) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0054053c0, 0xaa058b, 0x2, 0xc004d64000, 0x5410, 0x1a, 0x855, 0xc001af4000) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc004d64000, 0x5410, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005405518, 0xc00367fa00, 0x97, 0xc000fa5078) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 428 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0042fb800, 0x7c1, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0042fb800, 0x7c1, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0042fb800, 0x7c1, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0042fb800, 0x7c1, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0042fb800, 0x7c1, 0x0, 0x0, 0x7c1, 0xc0042fb800, 0x7c1) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0042fb800, 0x7c1, 0x7c1, 0x800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4b880, 0x46, 0xc0042fb800, 0x7c1, 0xc0042fb800, 0x7c1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4b880, 0x46, 0xc0042fb800, 0x7c1, 0xaa0378, 0x1, 0xc0042fb800, 0x7c1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 432 [semacquire]: regexp.(*Regexp).replaceAll(0xc005e28320, 0x0, 0x0, 0x0, 0xc005a85500, 0x5131, 0x2, 0xc004f3d218, 0xc005a85500, 0x5131, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc005e28320, 0xc005a85500, 0x5131, 0xaa0378, 0x1, 0x1, 0x3b) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003119518, 0xc004577520, 0xc000c1bee0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000717800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 380 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc004648300, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1215 +0x43 golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004648300, 0x0, 0x0, 0x0, 0xc003f2f200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004648300, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003f2f8f8, 0xc001cd0800, 0xb3d, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035848a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 853 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0058013c0, 0xaa058b, 0x2, 0xc006b93900, 0x1136, 0xc006b93900, 0xc0058013b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002355f0, 0xc006b93900, 0x1136, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005801518, 0xc0001d4cc0, 0x90, 0xc005a43830) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2c8a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 837 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fb2c0, 0x0, 0x0, 0x0, 0xc003610000, 0x892, 0x2, 0xc0042c7218, 0x80, 0x0, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc0001fb2c0, 0xc003610000, 0x892, 0xaa04bf, 0x2, 0xc003610000, 0x892) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc0042c7388, 0xc003623c90, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:136 +0x201 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc0042c7388, 0xc0039486c0, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0x32e, 0x32f) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc0042c7518, 0xc0039486c0, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec10e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 57 [semacquire]: strings.genSplit(0xc0004e6000, 0x897, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc002ef0000, 0x102, 0x102) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0010493c0, 0xaa04f9, 0x2, 0xc002e1d200, 0x897, 0x1, 0x102, 0xc002b02f40) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa240, 0xc002e1d200, 0x897, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001049518, 0xc005dd6020, 0x97, 0xc000d6ca00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 58 [semacquire]: github.com/PuerkitoBio/goquery.appendWithoutDuplicates(0xc0013d1e08, 0x1, 0x1, 0xc00680a900, 0x6, 0x6, 0xc001bc1260, 0xc001af58a0, 0x20, 0x10) /home/develop/go/src/github.com/PuerkitoBio/goquery/utilities.go:137 +0x1cf github.com/PuerkitoBio/goquery.mapNodes(0xc0046cc848, 0x1, 0x1, 0xc001bc1330, 0x1, 0x0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:694 +0x159 github.com/PuerkitoBio/goquery.findWithMatcher(0xc0046cc848, 0x1, 0x1, 0xb856e0, 0xc001af58a0, 0xc001bc13b0, 0x753f20, 0xaa3fc2) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:543 +0x81 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0062986f0, 0xaa408e, 0x4, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x85 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001bc1518, 0xc004576520, 0x74, 0xc0039d3a80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:126 +0x200 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f0e0, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 59 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003edb078, 0xc0063ec300, 0xb0, 0x0, 0xb856e0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:724 +0x74d github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003edb078, 0x75a856, 0x0, 0x422c63, 0x127e7a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003edb078, 0x127e7a0, 0x127e7a0, 0xc00673fe01, 0x0, 0xc003edb088) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xaa03ab, 0x1, 0xab0000000127e7a0, 0x0, 0xab354a3a0963be8e, 0x42e7a9, 0xc0001f8248) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaa03ab, 0x1, 0xc001e2c488, 0xc0027e24b0, 0xc003edb158) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0012fbdd0, 0xaa03ab, 0x1, 0xc001e2c480) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc003edb518, 0xc0012fbdd0, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:562 +0x55 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc003edb518, 0xc0015d1000, 0x43) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:386 +0x1ae github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f1a0, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 61 [semacquire]: bytes.(*Buffer).grow(0xc00574e3d8, 0x1, 0xc006b07000) /usr/local/go/src/bytes/buffer.go:128 +0x25a bytes.(*Buffer).WriteByte(0xc00574e3d8, 0xaa0320, 0x1, 0xc006b07000) /usr/local/go/src/bytes/buffer.go:267 +0x8c github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc00574e3d8, 0xc001b4b810, 0x70, 0x70, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:433 +0x2d4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00574e3d8, 0xc00270a000, 0xc0001562c0, 0xc00574e308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00574e3d8, 0xc001121f80, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00574f0c0, 0xc001121f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00574f0c0, 0xc001121f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00574f0c0, 0xc001121ea0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002a6f0c0, 0xc001121ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002a6f0c0, 0xc001121ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00574f0c0, 0xc001121dc0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002a6f0c0, 0xc001121dc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002a6f0c0, 0xc001121dc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00574f0c0, 0xc0011216c0, 0x7f1c8c3d87a8, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002a6f0c0, 0xc0011216c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002a6f0c0, 0xc0011216c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00574f0c0, 0xc0011215e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002a6f0c0, 0xc0011215e0, 0x54b170, 0xc0001080d0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0011215e0, 0x0, 0x0, 0x0, 0x0, 0xc0011215e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00097ccf0, 0x0, 0x0, 0x0, 0x1300, 0xc004480000, 0x1074, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc004480000, 0x1074, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc001b4abd0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002a6f518, 0xc0049f0920, 0xc005dd6d00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 62 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0001bedd0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x18a golang.org/x/net/html.(*parser).parse(0xc0001beea0, 0xc0002300e0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002ec3d20, 0x0, 0x0, 0x0, 0xc00175b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002ec3d20, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00175b8f8, 0xc003617900, 0x1098, 0x0, 0x44ff9c, 0x127d760) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f3e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 63 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f4a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:310 +0x7b3 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 64 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0055f9560, 0x2c5a9ea83, 0x1251a20, 0xc0049f15e0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 65 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002d8e500, 0xc0064dd220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0064dd588, 0xaa058b, 0x2, 0xc002fd9e00, 0x1e7, 0x1, 0x35, 0xc002d8e400) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0064dd518, 0xc0045760a0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 866 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc005fc8160, 0xa5, 0x2, 0xc0067f01d0, 0x0, 0xc0067f0270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc005fc8160, 0xa5, 0xaa0378, 0x1, 0xc004089a80, 0x5) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0067f03d8, 0xc0038eda40, 0xc003122790, 0xc0067f0308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067f03d8, 0xc0038ed9d0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0067f10c0, 0xc0038ed9d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0067f10c0, 0xc0038ed9d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067f10c0, 0xc0038ed8f0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0035570c0, 0xc0038ed8f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0035570c0, 0xc0038ed8f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067f10c0, 0xc0038ed810, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0035570c0, 0xc0038ed810, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0035570c0, 0xc0038ed810, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067f10c0, 0xc0038ed110, 0xc0068d3d0c, 0x4) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0035570c0, 0xc0038ed110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0035570c0, 0xc0038ed110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067f10c0, 0xc0038ed030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0035570c0, 0xc0038ed030, 0x54b170, 0xc0067c1040) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0038ed030, 0x0, 0x0, 0x0, 0x0, 0xc0038ed030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00059e000, 0x0, 0x0, 0x0, 0x1000, 0xc000565000, 0xf87, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc000565000, 0xf87, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7287cb8900000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003557518, 0xc002ec3d60, 0xc0000bf160) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f6e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 867 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00216b3c0, 0xaa04fd, 0x2, 0xc006783c00, 0xa81, 0xc006783c00, 0xc00216b3b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa240, 0xc006783c00, 0xa81, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00216b518, 0xc0067d0b80, 0x99, 0xc000384460) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f7a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 868 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc000384fa0, 0x9a, 0x2, 0xc00472e1d0, 0x0, 0xc00472e270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc000384fa0, 0x9a, 0xaa0378, 0x1, 0xc004089980, 0x3) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00472e3d8, 0xc003a0d6c0, 0xc0001562c0, 0xc00472e308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00472e3d8, 0xc003a0d650, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00472f0c0, 0xc003a0d650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00472f0c0, 0xc003a0d650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00472f0c0, 0xc003a0d570, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0019cd0c0, 0xc003a0d570, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0019cd0c0, 0xc003a0d570, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00472f0c0, 0xc003a0d490, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0019cd0c0, 0xc003a0d490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0019cd0c0, 0xc003a0d490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00472f0c0, 0xc003a0cd90, 0xc000d82000, 0x7f1cb42a42f0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0019cd0c0, 0xc003a0cd90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0019cd0c0, 0xc003a0cd90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00472f0c0, 0xc003a0ccb0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0019cd0c0, 0xc003a0ccb0, 0x54b170, 0xc002daa750) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc003a0ccb0, 0x0, 0x0, 0x0, 0x0, 0xc003a0ccb0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002a782a0, 0x0, 0x0, 0x0, 0x1300, 0xc005de4c00, 0x117d, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005de4c00, 0x117d, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000d6bb00) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0019cd518, 0xc001562060, 0xc001562a40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 869 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc0020fec30, 0xc00162c210, 0xa4) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc0020fec30, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0020fec30) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0020fec30, 0xc0034a2700, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0016bc4a0, 0x0, 0x0, 0x0, 0xc00161b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0016bc4a0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00161b8f8, 0xc003675900, 0x105a, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359fa40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 870 [semacquire]: regexp/syntax.(*parser).maybeConcat(0xc003dee000, 0xffffffff, 0xc0014baa58) /usr/local/go/src/regexp/syntax/parse.go:165 +0x239 regexp/syntax.(*parser).push(0xc003dee000, 0xc0069e5f80, 0xc0069e5f80) /usr/local/go/src/regexp/syntax/parse.go:136 +0x218 regexp/syntax.(*parser).literal(0xc003dee000, 0x74) /usr/local/go/src/regexp/syntax/parse.go:210 +0x53 regexp/syntax.Parse(0xac0e09, 0x13, 0xd4, 0x0, 0x0, 0xac0dfd) /usr/local/go/src/regexp/syntax/parse.go:729 +0x2ae regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:170 +0x5a regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc0014baff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc0014baff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc0068d208c) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0014baff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0014baff8, 0x1, 0xc006896ff0, 0xc0100d82000, 0x2804b42a3560) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0014baff8, 0x4, 0xc28, 0xc001ff1301, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc001ff1000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc0001bf1e0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0055f9830, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0014bb8f8, 0xc003680000, 0x12f9, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359fb60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 871 [semacquire]: regexp.makeOnePass.func1(0xc, 0xc00111bde0, 0xf, 0xf, 0x1) /usr/local/go/src/regexp/onepass.go:390 +0x9d8 regexp.makeOnePass(0xc002e90120, 0xc002e90120) /usr/local/go/src/regexp/onepass.go:448 +0x398 regexp.compileOnePass(0xc002e900c0, 0xc002e900c0) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003ba5300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003ba5300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003ba5300, 0x0, 0xb856e0, 0xc003924168, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003ba5300, 0xc0014590a0, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003ba5300, 0x42ca96, 0xc002e90090, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc003ba5370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc001563ac0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc002a799b0, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc003ba5518, 0xc001563500, 0xabc101, 0x1d, 0x9c, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359fc20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 872 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0010b7c50, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00311b518, 0xc0066b6ca0, 0x58, 0xc00359f8c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359fce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 873 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc00487d570, 0x63, 0x2, 0xc006c881d0, 0x0, 0xc006c88270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc00487d570, 0x63, 0xaa0378, 0x1, 0xc004089a80, 0x5) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c883d8, 0xc005527420, 0xc003122790, 0xc006c88308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c883d8, 0xc0055273b0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006c890c0, 0xc0055273b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c890c0, 0xc0055273b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c890c0, 0xc0055272d0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003ba70c0, 0xc0055272d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003ba70c0, 0xc0055272d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c890c0, 0xc0055271f0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003ba70c0, 0xc0055271f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003ba70c0, 0xc0055271f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c890c0, 0xc005409810, 0xc003fd9880, 0x7f1cb42a27d0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003ba70c0, 0xc005409810, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003ba70c0, 0xc005409810, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c890c0, 0xc001f70310, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003ba70c0, 0xc001f70310, 0x54b170, 0xc005da6dd0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc001f70310, 0x0, 0x0, 0x0, 0x0, 0xc001f70310, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00471a810, 0x0, 0x0, 0x0, 0x1000, 0xc005148000, 0xfd0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005148000, 0xfd0, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc006b8d240) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003ba7518, 0xc0066b7c40, 0xc0001d46c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359fda0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 874 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c80970c10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00350f3c0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00350f3a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc005f89800, 0x77d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004011340, 0xa5, 0xc005f89800, 0x77d, 0xc005f89800, 0x77d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004011340, 0xa5, 0xc005f89800, 0x77d, 0xaa0378, 0x1, 0xc005f89800, 0x77d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359fe60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 887 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0034a11c8, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:724 +0x74d github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0034a11c8, 0xc0034a11f0, 0x75a856, 0x0, 0xc004be57a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0034a11c8, 0x868c9e9c00000001, 0x98, 0xc0034a1220, 0x42cc84, 0xc006913c80) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xaa449e, 0x4, 0x1, 0x1, 0xc0034a1238, 0xc0034a1250, 0x42d308) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaa449e, 0x4, 0xc006913c80, 0x1, 0xb856e0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc002dafb90, 0xaa449e, 0x4, 0xc006913c80) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*Cleaner).dropCaps(0xc0034a16b0, 0xc00039ba00, 0xc00039ba00) /home/develop/go/src/github.com/advancedlogic/GoOse/cleaner.go:387 +0x47 github.com/advancedlogic/GoOse.(*Cleaner).Clean(0xc0034a16b0, 0xc00039ba00, 0xc0001d5bc0) /home/develop/go/src/github.com/advancedlogic/GoOse/cleaner.go:291 +0xab github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:149 +0x614 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e2a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 888 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc005e3a0d0, 0xc006900f00, 0x255) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc005e3a0d0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc005e3a0d0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc005e3a0d0, 0xc006a3c3f0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc006845380, 0x0, 0x0, 0x0, 0x0, 0xf01, 0xc006845350) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc006845350, 0x0, 0x0, 0x0, 0x1000, 0xc002804000, 0xf9e, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc002804000, 0xf9e, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf253199f00000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0057cb518, 0xc0013e66a0, 0xc00042cd80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 889 [semacquire]: regexp.onePassCopy(0xc00436f9b0, 0xc00436f9b0) /usr/local/go/src/regexp/onepass.go:225 +0x5d regexp.compileOnePass(0xc00436f9b0, 0xc00436f9b0) /usr/local/go/src/regexp/onepass.go:497 +0x11b regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003733300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003733300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003733300, 0x0, 0xb856e0, 0xc0019d7288, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003733300, 0xc0010ab180, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003733300, 0x42ca96, 0xc00436f980, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc003733370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc001563420, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00680a930, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc003733518, 0xc001af58e0, 0xabc101, 0x1d, 0xc6, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e4e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 890 [semacquire]: strings.Replace(0xc001466000, 0x123b, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x7, 0xc001466000, 0x123b) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0060818f8, 0xc001466000, 0x123b, 0xb4d08ed1bbd020b8, 0xbfd0202eb9d0b5d0, 0xbed082d18dd1bed0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e5a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 891 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d4a0, 0x0, 0x0, 0x0, 0xc00643d300, 0x1201, 0x2, 0xc00143f038, 0xc00643d300, 0x1201, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d4a0, 0xc00643d300, 0x1201, 0xaa04bf, 0x2, 0x1, 0x1) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.FromHTMLNode(0xc0020e9ea0, 0x0, 0x0, 0x0, 0x0, 0xc0020e9ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:80 +0x191 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002b5d290, 0x0, 0x0, 0x0, 0x1800, 0xc003a7c000, 0x17bc, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc003a7c000, 0x17bc, 0x0, 0x0, 0x0, 0x440d95, 0xc002b5d170, 0x7f1c64015fe3, 0x4aedc10500000020) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0057bb518, 0xc003925400, 0xc003925c40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 892 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c5cee7dc0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d6b380, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d6b360, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004c2ad00, 0x8cd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002af0f00, 0x91, 0xc004c2ad00, 0x8cd, 0xc004c2ad00, 0x8cd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002af0f00, 0x91, 0xc004c2ad00, 0x8cd, 0xaa0378, 0x1, 0xc004c2ad00, 0x8cd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 893 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88e1c750, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00172af90, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00172af80, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001136700, 0x617, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc006258736, 0x47, 0xc001136700, 0x617, 0xc001136700, 0x617, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc006258736, 0x47, 0xc001136700, 0x617, 0xaa0378, 0x1, 0xc001136700, 0x617, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 894 [semacquire]: bytes.NewReader(...) /usr/local/go/src/bytes/reader.go:160 github.com/ssor/bom.NewReaderWithoutBom(0xb7b620, 0xc002a793b0, 0xc0025571d8, 0x42d308, 0x30, 0xa4a0e0) /home/develop/go/src/github.com/ssor/bom/bom.go:33 +0xc3 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002a793b0, 0x0, 0x0, 0x0, 0x1300, 0xc003eb2c00, 0x11b1, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:89 +0x39 github.com/jaytaylor/html2text.FromString(0xc003eb2c00, 0x11b1, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000d6bcb0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002557518, 0xc001562ae0, 0xc0015633c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e9c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 895 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c792bbf60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00219e100, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00219e0f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002891b00, 0x8e9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0043734d0, 0x83, 0xc002891b00, 0x8e9, 0xc002891b00, 0x8e9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0043734d0, 0x83, 0xc002891b00, 0x8e9, 0xaa0378, 0x1, 0xc002891b00, 0x8e9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359ea80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 896 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc006bed0c0, 0xc0063c6ff0, 0xef, 0x7, 0xc0063c6ff0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:430 +0x233 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006bed0c0, 0xc00331c460, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:176 +0xb28 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006bed0c0, 0xc00331c460, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006bed0c0, 0xc00331c380, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00381b0c0, 0xc00331c380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00381b0c0, 0xc00331c380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006bed0c0, 0xc00331c2a0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00381b0c0, 0xc00331c2a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00381b0c0, 0xc00331c2a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006bed0c0, 0xc003019730, 0xc002b93180, 0x7f1cb42a3c28) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00381b0c0, 0xc003019730, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00381b0c0, 0xc003019730, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006bed0c0, 0xc003019650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00381b0c0, 0xc003019650, 0x54b170, 0xc005e3b110) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc003019650, 0x0, 0x0, 0x0, 0x0, 0xc003019650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0054727b0, 0x0, 0x0, 0x0, 0xd80, 0xc001efc880, 0xcd9, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc001efc880, 0xcd9, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000cfeba0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00381b518, 0xc001752c80, 0xc0020d7400) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359ecc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 897 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0004092e0, 0x20300100000000, 0x7f1b39cdbfff, 0xc000409218, 0x435db6) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:724 +0x716 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0004092e0, 0x1800, 0x7f1b39c13700, 0x7f1b39cdbfff, 0xc000409258) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0004092e0, 0x6000, 0x7f1c8c30e118, 0x0, 0xc0004092c0, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xaa64ee, 0x5, 0x7f1c8c30e118, 0xc000409301, 0x10100000042ab7a, 0x0, 0x15ab) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaa64ee, 0x5, 0x0, 0x0, 0xaa0301) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00618a330, 0xaa64ee, 0x5, 0x291d) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).getTitleUnmodified(0xc000409518, 0xc002b03700, 0x15ab, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:57 +0x47 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:128 +0x282 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359ede0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 898 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0066b69e0, 0xc0045dd2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0045dd3c0, 0xaa04d9, 0x2, 0xc002825c00, 0x657, 0x1, 0xca, 0xc0066b69c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc002825c00, 0x657, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0045dd518, 0xc0019d61e0, 0x81, 0xc005a43320) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359eea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 899 [semacquire]: bytes.NewReader(...) /usr/local/go/src/bytes/reader.go:160 github.com/jaytaylor/html2text.FromString(0xc006d03000, 0xad8, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc00487db20) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0xb0 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003381518, 0xc001753600, 0xc002d8fc00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359ef60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 900 [semacquire]: strings.genSplit(0xc006d00c00, 0xb1a, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc004e35500, 0x139, 0x139) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00470f3c0, 0xaa0569, 0x2, 0xc002928800, 0xb1a, 0x2, 0x139, 0xc0001d4b80) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc002928800, 0xb1a, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00470f518, 0xc0019d65e0, 0x6f, 0xc00316a000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 901 [semacquire]: strings.genSplit(0xc0066ca000, 0x81d, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0xf9, 0xf9) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00311d3c0, 0xaa0599, 0x2, 0xc004c31600, 0x81d, 0x14, 0xf9, 0xc002b03640) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc004c31600, 0x81d, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00311d518, 0xc0017534e0, 0x57, 0xc002ec1980) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f2c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 902 [semacquire]: strings.genSplit(0xc002814400, 0xbd0, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0x10d, 0x10d) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0042f33c0, 0xaa0569, 0x2, 0xc0041b5c00, 0xbd0, 0x1, 0x10d, 0xc005b54c00) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000426120, 0xc0041b5c00, 0xbd0, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0042f3518, 0xc001753160, 0x77, 0xc004383b80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 903 [semacquire]: regexp.(*Regexp).ReplaceAllString(0xc002d50280, 0xc006b73400, 0xaa0, 0xaa0378, 0x1, 0x1, 0x12) /usr/local/go/src/regexp/regexp.go:560 +0x135 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc001bc3518, 0xc004576480, 0xc004576cc0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f5c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 904 [semacquire]: strings.genSplit(0xc006d01800, 0xaf8, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc00607a000, 0x156, 0x156) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0045d93c0, 0xaa05c9, 0x2, 0xc00589e400, 0xaf8, 0x1, 0x156, 0xc00039bba0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc00589e400, 0xaf8, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0045d9518, 0xc001753540, 0x90, 0xc005a42b7b) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 905 [semacquire]: github.com/fatih/set.(*Set).Add(0xc004576460, 0xc0064b3220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0064b3588, 0xaa058b, 0x2, 0xc005d30800, 0xaff, 0x4, 0x15, 0xc004576420) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0064b3518, 0xc0015d0300, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359f9e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 906 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005307588, 0xaa058b, 0x2, 0xc001254e10, 0xe2, 0x3, 0xc, 0xc005c80ec0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc005307518, 0xc001752720, 0x4a) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359fbc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 907 [semacquire]: bytes.makeSlice(0x20ae, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc004ee10c0, 0x2, 0x2) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc004ee10c0, 0xc004ee0104, 0x2, 0x2, 0x188, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc004ee10c0, 0xc006900501, 0x240, 0x240, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:440 +0xf7 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004ee10c0, 0xc00692bdc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004ee10c0, 0xc00692bc00, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc004ee10c0, 0xc00692bc00, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc004ee10c0, 0xc00692bc00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004ee10c0, 0xc00692bc00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004ee10c0, 0xc00692acb0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0031f30c0, 0xc00692acb0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0031f30c0, 0xc00692acb0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004ee10c0, 0xc00692abd0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0031f30c0, 0xc00692abd0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0031f30c0, 0xc00692abd0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004ee10c0, 0xc00692a4d0, 0xc002b93180, 0xb6c046) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0031f30c0, 0xc00692a4d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0031f30c0, 0xc00692a4d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004ee10c0, 0xc00692a3f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0031f30c0, 0xc00692a3f0, 0x54b170, 0xc005da6b60) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc00692a3f0, 0x0, 0x0, 0x0, 0x0, 0xc00692a3f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc006912f60, 0x0, 0x0, 0x0, 0x1a80, 0xc006407a80, 0x1a3b, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc006407a80, 0x1a3b, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc0036fc000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0031f3518, 0xc0001d54c0, 0xc000e0eb80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359fd40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 908 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.beforeHeadIM(0xc005da69c0, 0x7f1c00000000) /home/develop/go/src/golang.org/x/net/html/parse.go:591 +0xa4 golang.org/x/net/html.(*parser).parseCurrentToken(0xc005da69c0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc005da69c0, 0xc006911ea0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc000e0e520, 0x0, 0x0, 0x0, 0xc0057c5200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc000e0e520, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0057c58f8, 0xc00419cc00, 0x1043, 0x988f09e980fb75b4, 0xc002d8ba58, 0x5) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359fec0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 909 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c6c5dd4b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0019c6f30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0019c6f20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0037e6000, 0x188a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001007720, 0x91, 0xc0037e6000, 0x188a, 0xc0037e6000, 0x188a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001007720, 0x91, 0xc0037e6000, 0x188a, 0xaa0378, 0x1, 0xc0037e6000, 0x188a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 910 [semacquire]: github.com/fatih/set.(*Set).Add(0xc001108740, 0xc0026412c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0026413c0, 0xaa04df, 0x2, 0xc001f1e580, 0xc1a, 0xa, 0x15c, 0xc001108720) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000426120, 0xc001f1e580, 0xc1a, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002641518, 0xc0049f14c0, 0xa1, 0xc0063ec0b0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 911 [semacquire]: regexp.(*Regexp).replaceAll(0xc0021e9ae0, 0x0, 0x0, 0x0, 0xc006226a80, 0xa45, 0x2, 0xc004f39218, 0xc006226a80, 0xa45, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0021e9ae0, 0xc006226a80, 0xa45, 0xaa0378, 0x1, 0x1, 0x16) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc004f39518, 0xc0019d6c80, 0xc002d8eec0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035844e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 912 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc004d99800, 0xbfc, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc004d99800, 0xbfc, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc004d99800, 0xbfc, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc004d99800, 0xbfc, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc004d99800, 0xbfc, 0x0, 0x0, 0xbfc, 0xc004d99800, 0xbfc) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc004d99800, 0xbfc, 0xbfc, 0xc00) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014ed730, 0x63, 0xc004d99800, 0xbfc, 0xc004d99800, 0xbfc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014ed730, 0x63, 0xc004d99800, 0xbfc, 0xaa0378, 0x1, 0xc004d99800, 0xbfc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 381 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030720c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 382 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fb180, 0x0, 0x0, 0x0, 0xc005611100, 0x6c8, 0x2, 0xc0056b5218, 0xc0047b3058, 0x7de1b0, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc0001fb180, 0xc005611100, 0x6c8, 0xaa0378, 0x1, 0xc0049f0d40, 0xc0060063a0) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc0056b5388, 0xc005cb2c40, 0x4) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:121 +0x81 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc0056b5388, 0xc00399b2f0, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0x245, 0x246) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc0056b5518, 0xc00399b2f0, 0xaa058b, 0x2, 0x0, 0x0, 0xd0b5d087d1b5d0bf, 0x20bcd0b5d0b8d0bd, 0xb5d088d1b0d0bdd0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 383 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc00310d800, 0x3d4, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc00310d800, 0x3d4, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc00310d800, 0x3d4, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc00310d800, 0x3d4, 0x0, 0x0, 0x3d4, 0xc00310d800, 0x3d4) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc00310d800, 0x3d4, 0x3d4, 0x700) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0059c6480, 0x71, 0xc00310d800, 0x3d4, 0xc00310d800, 0x3d4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0059c6480, 0x71, 0xc00310d800, 0x3d4, 0xaa0378, 0x1, 0xc00310d800, 0x3d4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030723c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 384 [semacquire]: strings.Replace(0xc001d92880, 0xd1f, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x6, 0xc001d92880, 0xd1f) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc001a378f8, 0xc001d92880, 0xd1f, 0xd080d1bfd02085d1, 0xd082d1bad0b5d0be, 0xd020b8d020b2d0be) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 385 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 914 [semacquire]: strings.Replace(0xc003f07600, 0xcaa, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x4, 0xc003f07600, 0xcaa) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00569d8f8, 0xc003f07600, 0xcaa, 0xbdd0b5d0b2d082d1, 0xd020bcd08bd1bdd0, 0xd081d1b5d0b1d0be) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 915 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 916 [semacquire]: regexp/syntax.(*parser).maybeConcat(0xc003fb9c80, 0xffffffff, 0xc005b08a58) /usr/local/go/src/regexp/syntax/parse.go:165 +0x239 regexp/syntax.(*parser).push(0xc003fb9c80, 0xc003019570, 0xc003019570) /usr/local/go/src/regexp/syntax/parse.go:136 +0x218 regexp/syntax.(*parser).literal(0xc003fb9c80, 0x74) /usr/local/go/src/regexp/syntax/parse.go:210 +0x53 regexp/syntax.Parse(0xac0e09, 0x13, 0xd4, 0x0, 0x0, 0xac0dfd) /usr/local/go/src/regexp/syntax/parse.go:729 +0x2ae regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x26) /usr/local/go/src/regexp/regexp.go:170 +0x5a regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc005b08ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc005b08ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc006826dc0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc005b08ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc005b08ff8, 0x1, 0xc006838250, 0xc0100903180, 0x2804b42a5080) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc005b08ff8, 0x4, 0x26e, 0xc005b9dd01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc005b9d000, 0x28, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0x440d95, 0xc0009e2898) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0068442d0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005b098f8, 0xc0035ac000, 0xd93, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 917 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc00462a4b0, 0x50d2a1, 0xc00491c480, 0x29, 0xaada21) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0059a5518, 0xc0001d5b80, 0xc001af46c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 918 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bd104fdd0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0000a4490, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0000a4480, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001361b00, 0xd09, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002840900, 0xbb, 0xc001361b00, 0xd09, 0xc001361b00, 0xd09, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002840900, 0xbb, 0xc001361b00, 0xd09, 0xaa0378, 0x1, 0xc001361b00, 0xd09, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 919 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88a8d9d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001f88970, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001f88960, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0023a1400, 0xb82, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d44f30, 0x5b, 0xc0023a1400, 0xb82, 0xc0023a1400, 0xb82, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d44f30, 0x5b, 0xc0023a1400, 0xb82, 0xaa0378, 0x1, 0xc0023a1400, 0xb82, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030735c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 920 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88a7bcf0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018e7e10, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018e7e00, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001542700, 0x377, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002a5ec80, 0x3e, 0xc001542700, 0x377, 0xc001542700, 0x377, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002a5ec80, 0x3e, 0xc001542700, 0x377, 0xaa0378, 0x1, 0xc001542700, 0x377, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 921 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc0023ef400, 0x4a6, 0x700, 0xc0023ef400) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc0023ef400, 0x4a6, 0x4b8, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa3a2a, 0x4, 0xc004489400, 0x4b8, 0x0, 0x0, 0x10, 0xab52f4) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xe1 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:304 +0x33a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 922 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bcc5fb120, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0024438f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0024438a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001b19000, 0xbf0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3f300, 0x74, 0xc001b19000, 0xbf0, 0xc001b19000, 0xbf0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3f300, 0x74, 0xc001b19000, 0xbf0, 0xaa0378, 0x1, 0xc001b19000, 0xbf0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 923 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc00682a000, 0xf2c, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:55 +0x1cd _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc00682a000, 0xf2c, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc00682a000, 0xf2c, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc00682a000, 0xf2c, 0x0, 0x0, 0xf2c, 0xc00682a000, 0xf2c) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc00682a000, 0xf2c, 0xf2c, 0x1000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001160a10, 0x6b, 0xc00682a000, 0xf2c, 0xc00682a000, 0xf2c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001160a10, 0x6b, 0xc00682a000, 0xf2c, 0xaa0378, 0x1, 0xc00682a000, 0xf2c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073a40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 924 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88c4a850, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002c2b790, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002c2b780, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00220c400, 0xbc7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004086cd0, 0x46, 0xc00220c400, 0xbc7, 0xc00220c400, 0xbc7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004086cd0, 0x46, 0xc00220c400, 0xbc7, 0xaa0378, 0x1, 0xc00220c400, 0xbc7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033f1a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 925 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88c4e230, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018922d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018922c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0017e3680, 0x44e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d458c0, 0x84, 0xc0017e3680, 0x44e, 0xc0017e3680, 0x44e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d458c0, 0x84, 0xc0017e3680, 0x44e, 0xaa0378, 0x1, 0xc0017e3680, 0x44e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a0c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 926 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc006003500, 0xa32, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x317 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc006003500, 0xa32, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc006003500, 0xa32, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc006003500, 0xa32, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc006003500, 0xa32, 0x0, 0x0, 0xa32, 0xc006003500, 0xa32) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc006003500, 0xa32, 0xa32, 0xa80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00201ae10, 0x85, 0xc006003500, 0xa32, 0xc006003500, 0xa32, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00201ae10, 0x85, 0xc006003500, 0xa32, 0xaa0378, 0x1, 0xc006003500, 0xa32, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 927 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc005973000, 0xe79, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x317 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc005973000, 0xe79, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc005973000, 0xe79, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc005973000, 0xe79, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc005973000, 0xe79, 0x0, 0x0, 0xe79, 0xc005973000, 0xe79) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc005973000, 0xe79, 0xe79, 0x1000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00201acf0, 0x8b, 0xc005973000, 0xe79, 0xc005973000, 0xe79, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00201acf0, 0x8b, 0xc005973000, 0xe79, 0xaa0378, 0x1, 0xc005973000, 0xe79, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a3c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 928 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/jaytaylor/html2text.FromHTMLNode(0xc003a015e0, 0x0, 0x0, 0x0, 0x0, 0xc003a015e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:81 +0x10d github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc004c1d440, 0x0, 0x0, 0x0, 0x1800, 0xc0058f4800, 0x171a, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0058f4800, 0x171a, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc000eb9340) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0038dd518, 0xc00627d580, 0xc006b6bb20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 929 [runnable]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc0039d2f80, 0x73, 0x2, 0xc006c3c1d0, 0x0, 0xc006c3c270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc0039d2f80, 0x73, 0xaa0378, 0x1, 0xc004089980, 0x3) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c3c3d8, 0xc000dc2930, 0xc0001562c0, 0xc006c3c308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c3c3d8, 0xc000dc28c0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006c3d0c0, 0xc000dc28c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c3d0c0, 0xc000dc28c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c3d0c0, 0xc000dc27e0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00396f0c0, 0xc000dc27e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00396f0c0, 0xc000dc27e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c3d0c0, 0xc000dc2700, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00396f0c0, 0xc000dc2700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00396f0c0, 0xc000dc2700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c3d0c0, 0xc0008dde30, 0xc00396ed40, 0x46a81e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00396f0c0, 0xc0008dde30, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00396f0c0, 0xc0008dde30, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c3d0c0, 0xc0004c3ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00396f0c0, 0xc0004c3ea0, 0x54b170, 0xc003fcd450) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0004c3ea0, 0x0, 0x0, 0x0, 0x0, 0xc0004c3ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002358f60, 0x0, 0x0, 0x0, 0xc00, 0xc0039c1800, 0xba0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0039c1800, 0xba0, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc006258de0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00396f518, 0xc000d81f00, 0xc0017f6c80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a6c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 930 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Join(0xc000de8690, 0x3, 0x3, 0xaa0378, 0x1, 0x0, 0xc000ee79f0) /usr/local/go/src/strings/strings.go:438 +0x4c8 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0038a9518, 0xc00187eac0, 0xc00187f3c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:334 +0xa85 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 931 [semacquire]: regexp.(*Regexp).expand(0xc0001fb180, 0xc006aba800, 0x800, 0x800, 0xaa0378, 0x1, 0x0, 0x0, 0x0, 0xc004e97900, ...) /usr/local/go/src/regexp/regexp.go:948 +0xa9b regexp.(*Regexp).ReplaceAllString.func1(0xc006aba800, 0x800, 0x800, 0xc006953080, 0x2, 0x2, 0xc004e97900, 0x12f1, 0x84a) /usr/local/go/src/regexp/regexp.go:558 +0xbf regexp.(*Regexp).replaceAll(0xc0001fb180, 0x0, 0x0, 0x0, 0xc004e97900, 0x12f1, 0x2, 0xc002885218, 0xc0003822e8, 0x7de1b0, ...) /usr/local/go/src/regexp/regexp.go:616 +0x2e9 regexp.(*Regexp).ReplaceAllString(0xc0001fb180, 0xc004e97900, 0x12f1, 0xaa0378, 0x1, 0xc000e0e0e0, 0xc0003823d8) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc002885388, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:121 +0x81 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc002885388, 0xc0010b7260, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0xc002885301, 0xc000382398) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc002885518, 0xc0010b7260, 0xaa058b, 0x2, 0x0, 0x0, 0x100000081, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303a9c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 932 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc005edd350, 0x203001, 0x203001, 0xa9d5e46700000000, 0xc006c61138) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.(*Cleaner).convertDivsToParagraphs.func1(0x0, 0xc005edd350) /home/develop/go/src/github.com/advancedlogic/GoOse/cleaner.go:496 +0x67 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc005edd320, 0xc006c612c8, 0x7) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*Cleaner).convertDivsToParagraphs(0xc006c616b0, 0xc004c4c9c0, 0xaac03e, 0x7, 0xc004c4c9c0) /home/develop/go/src/github.com/advancedlogic/GoOse/cleaner.go:495 +0xd8 github.com/advancedlogic/GoOse.(*Cleaner).Clean(0xc006c616b0, 0xc004c4c9c0, 0xc004c4d440) /home/develop/go/src/github.com/advancedlogic/GoOse/cleaner.go:302 +0x39d github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:149 +0x614 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303ab40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 933 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b944c3630, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020fa750, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020fa740, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0004d3400, 0x3c0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010b9340, 0xad, 0xc0004d3400, 0x3c0, 0xc0004d3400, 0x3c0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010b9340, 0xad, 0xc0004d3400, 0x3c0, 0xaa0378, 0x1, 0xc0004d3400, 0x3c0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303acc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 934 [runnable]: strings.genSplit(0xc005011600, 0x8f2, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc006264b60, 0x40000c00396d360) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00396d3c0, 0xaa058b, 0x2, 0xc005010d00, 0x8f2, 0xc005010d00, 0xc00396d3b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc005010d00, 0x8f2, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00396d518, 0xc001e2dfc0, 0x65, 0xc000eb9c00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303ae40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 935 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c24522fa0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001ebe2b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001ebe2a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001e53b80, 0x504, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004b0500, 0x94, 0xc001e53b80, 0x504, 0xc001e53b80, 0x504, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004b0500, 0x94, 0xc001e53b80, 0x504, 0xaa0378, 0x1, 0xc001e53b80, 0x504, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303afc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 936 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc005b24000, 0x6808, 0x2, 0xc004f17e68, 0xc000311180, 0xc004f17f08, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc005b24000, 0x6808, 0xaa0378, 0x1, 0xc000f12880, 0x1) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004f190c0, 0xc0039e9420, 0xc000156420, 0xc004f17fa0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f190c0, 0xc004d06460, 0xc000000001, 0x9) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc004f190c0, 0xc004d06460, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004f190c0, 0xc004d06460, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f190c0, 0xc004d06380, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc004f190c0, 0xc004d06380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004f190c0, 0xc004d06380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f190c0, 0xc0001c6d90, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0028ab0c0, 0xc0001c6d90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0028ab0c0, 0xc0001c6d90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f190c0, 0xc0001c60e0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0028ab0c0, 0xc0001c60e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0028ab0c0, 0xc0001c60e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f190c0, 0xc00233f490, 0xc0028aadb8, 0x443c10) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0028ab0c0, 0xc00233f490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0028ab0c0, 0xc00233f490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc004f190c0, 0xc00233f3b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0028ab0c0, 0xc00233f3b0, 0x54b170, 0xc002a92270) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc00233f3b0, 0x0, 0x0, 0x0, 0x0, 0xc00233f3b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0019be360, 0x0, 0x0, 0x0, 0x8000, 0xc005652000, 0x75fd, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005652000, 0x75fd, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf34105d900000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0028ab518, 0xc00230d440, 0xc00230dda0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 937 [semacquire]: github.com/gigawattio/window.Rolling(0xc005940900, 0x8d, 0x8d, 0x3, 0x0, 0x8c, 0xc005940900) /home/develop/go/src/github.com/gigawattio/window/rolling.go:15 +0x140 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005693518, 0xc000c1aea0, 0xc000c1b7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:329 +0x8ed github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b2c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 938 [semacquire]: github.com/gigawattio/window.Rolling(0xc0048db400, 0xbf, 0xbf, 0x3, 0x0, 0xbe, 0xc0048db400) /home/develop/go/src/github.com/gigawattio/window/rolling.go:15 +0x140 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0038a9518, 0xc002b034a0, 0xc005af6860) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:329 +0x8ed github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 939 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc005d38000, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1213 +0x5d golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc005d38000, 0x0, 0x0, 0x0, 0xc0038ad200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc005d38000, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0038ad8f8, 0xc001bdc000, 0xe55, 0x0, 0x0, 0xc00005b4f8) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 940 [semacquire]: regexp.onePassCopy(0xc005b87650, 0xc005b87650) /usr/local/go/src/regexp/onepass.go:225 +0x5d regexp.compileOnePass(0xc005b87650, 0xc005b87650) /usr/local/go/src/regexp/onepass.go:497 +0x11b regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc004912ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc004912ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc002d31c20) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc004912ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc004912ff8, 0x1, 0xc00644ce00, 0xc005d5f100, 0x2804b42a5080) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc004912ff8, 0x4, 0x59, 0xc005cdbf01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc005cdb000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc0018d1ee0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc005b87620, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0037338f8, 0xc001be6000, 0xfa4, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 941 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0039c5400, 0xac7, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:71 +0x129 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0039c5400, 0xac7, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0039c5400, 0xac7, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0039c5400, 0xac7, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0039c5400, 0xac7, 0x0, 0x0, 0xac7, 0xc0039c5400, 0xac7) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0039c5400, 0xac7, 0xac7, 0xd80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc006269320, 0x90, 0xc0039c5400, 0xac7, 0xc0039c5400, 0xac7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc006269320, 0x90, 0xc0039c5400, 0xac7, 0xaa0378, 0x1, 0xc0039c5400, 0xac7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 942 [semacquire]: bytes.makeSlice(0x1770, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0055f93b0, 0x1b0, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0055f93b0, 0xc000463dc0, 0x1b0, 0x6, 0xffffffffffffffff, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0055f93b0, 0xc000463dc0, 0x1b0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0055f93b0, 0xc0068ba8c0, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc0055f93b0, 0xc0068ba850, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0055f93b0, 0xc001f71a40, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0055f93b0, 0xc001f71960, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0055f93b0, 0xc005ce6a80, 0xb84d20, 0xc0055f93b0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0055f93b0, 0xc005ce6a80, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0055f9200, 0x29228c5a6, 0x1251a20, 0xc0049f1340, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bbc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 943 [semacquire]: strings.genSplit(0xc005b02a80, 0x2a0c, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc004891000, 0x444, 0x444) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0035c13c0, 0xaa04f9, 0x2, 0xc003b6a000, 0x2a0c, 0x1, 0x444, 0xc0019d7060) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc003b6a000, 0x2a0c, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0035c1518, 0xc0019d6c40, 0x70, 0xc00436ccb0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bd40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 944 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.(*parser).addFormattingElement(0xc0018d1860) /home/develop/go/src/golang.org/x/net/html/parse.go:337 +0x67 golang.org/x/net/html.inBodyIM(0xc0018d1860, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:981 +0x7b1 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0018d1860) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0018d1860, 0xc004e27180, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0013e6160, 0x0, 0x0, 0x0, 0xc0028ab200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0013e6160, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0028ab8f8, 0xc00253b600, 0xd0a, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 945 [semacquire]: bytes.makeSlice(0x37f2, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc006298120, 0x66, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc006298120, 0xc002b00d90, 0x66, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc006298120, 0xc002b00d90, 0x66, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc006298120, 0xc006296690, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc006298120, 0xc0062965b0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006298120, 0xc000bb1340, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006298120, 0xc000bb1260, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006298120, 0xc000bb0b60, 0xb84d20, 0xc006298120) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc006298120, 0xc000bb0b60, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc006191f50, 0x2fada676f, 0x1251a20, 0xc003433da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 946 [runnable]: regexp.(*Regexp).replaceAll(0xc0001fb5e0, 0x0, 0x0, 0x0, 0xc0052c4000, 0x1356, 0x2, 0xc001635a58, 0xaa6444, 0x5, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0001fb5e0, 0xc0052c4000, 0x1356, 0xaa0378, 0x1, 0xc001114a00, 0x1356) /usr/local/go/src/regexp/regexp.go:557 +0x10a _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa6444, 0x5, 0xc0052c4000, 0x1356, 0xaa0378, 0x1, 0xc0052c4000, 0x1356) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916120, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:305 +0x37c created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 947 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc00131c400, 0x828, 0xc005c5b218, 0xc001405880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc00131c400, 0x828, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005c5b3c0, 0xaa0503, 0x2, 0xc00131c400, 0x828, 0x1, 0xd0, 0xc00042d140) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc00131c400, 0x828, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005c5b518, 0xc000c1be40, 0x9f, 0xc000fa5897) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 948 [semacquire]: strings.genSplit(0xc00688c800, 0xb9d, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42f9b8, 0x128, 0x128) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0038d93c0, 0xaa0503, 0x2, 0xc00589fc00, 0xb9d, 0xb, 0x128, 0xc000e0ed00) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc00589fc00, 0xb9d, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0038d9518, 0xc001753c00, 0x89, 0xc005a42ecf) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 949 [semacquire]: regexp.onePassCopy(0xc00170bb90, 0xc00170bb90) /usr/local/go/src/regexp/onepass.go:225 +0x5d regexp.compileOnePass(0xc00170bb90, 0xc00170bb90) /usr/local/go/src/regexp/onepass.go:497 +0x11b regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x46) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc0040eaff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc0040eaff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc002b597dc) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0040eaff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0040eaff8, 0x1, 0xc005ec4450, 0xc0102b93500, 0x2804b42a2e98) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0040eaff8, 0x4, 0xb31, 0xc005ecb401, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc005ecb000, 0x28, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0x440d95, 0xc0005a3728) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc005e85ec0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0058bd8f8, 0xc00294a000, 0x294f, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 950 [semacquire]: bytes.makeSlice(0x25f3, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0014c59e0, 0x361, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0014c59e0, 0xc0035aea80, 0x361, 0x6, 0xffffffffffffffff, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0014c59e0, 0xc0035aea80, 0x361, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0014c59e0, 0xc004a4dea0, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc0014c59e0, 0xc004a4de30, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0014c59e0, 0xc004a4c8c0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0014c59e0, 0xc004a4c7e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0014c59e0, 0xc004a4c0e0, 0xb84d20, 0xc0014c59e0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0014c59e0, 0xc004a4c0e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc000c76ed0, 0x20, 0x203000, 0x203000, 0x203000) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0038af518, 0xc00187f4c0, 0xc005d39aa0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 951 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88352200, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0001e7a10, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0001e79f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00442b800, 0x17f0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4a310, 0x69, 0xc00442b800, 0x17f0, 0xc00442b800, 0x17f0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4a310, 0x69, 0xc00442b800, 0x17f0, 0xaa0378, 0x1, 0xc00442b800, 0x17f0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 952 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002e4e060, 0xc0058c52c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0058c53c0, 0xaa0569, 0x2, 0xc006895500, 0xa2b, 0x2, 0x109, 0xc002e4e020) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc006895500, 0xa2b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0058c5518, 0xc00187f980, 0x62, 0xc00387f420) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 953 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc003036000, 0x9b6, 0xc0038db218, 0xc0011d2700) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc003036000, 0x9b6, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0038db3c0, 0xaa04df, 0x2, 0xc003036000, 0x9b6, 0x3, 0x116, 0xc002c4d860) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc003036000, 0x9b6, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0038db518, 0xc001752ba0, 0x7a, 0xc000c56780) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 954 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb70b9d70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00390f6a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00390f690, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004d91700, 0x55d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00387f730, 0x62, 0xc004d91700, 0x55d, 0xc004d91700, 0x55d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00387f730, 0x62, 0xc004d91700, 0x55d, 0xaa0378, 0x1, 0xc004d91700, 0x55d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916ae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 955 [semacquire]: regexp.makeOnePass(0xc0004aaea0, 0xc0004aaea0) /usr/local/go/src/regexp/onepass.go:444 +0x310 regexp.compileOnePass(0xc0004aae40, 0xc0004aae40) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xaba6cc, 0xe, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc000405300, 0x0, 0xaba6c6, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc000405300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc000405300, 0x0, 0x0, 0x0, 0xb856e0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc000405300, 0x75a856, 0x0, 0xc00514a000, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc000405300, 0xc0004052c8, 0xc000405350, 0x42ca96, 0xc0004aae10, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xaba6c1, 0x1a, 0x1, 0xc000405368, 0xc000405380, 0x42d308, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaba6c1, 0x1a, 0x1, 0xb856e0, 0xc00367fb20) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0045d4570, 0xaba6c1, 0x1a, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc000405518, 0xc0005f63a0, 0xaba6c1, 0x1a, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:134 +0x401 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916ba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 956 [semacquire]: strings.Replace(0xc004872c00, 0x10d7, 0xaa04bd, 0x2, 0xaa03a3, 0x1, 0x2, 0xb7b900, 0xc00005e060) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/jaytaylor/html2text.FromHTMLNode(0xc005acd340, 0x0, 0x0, 0x0, 0x0, 0xc005acd340, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:81 +0x158 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00621a570, 0x0, 0x0, 0x0, 0x1500, 0xc0053d9500, 0x1376, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0053d9500, 0x1376, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000eedf80) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0051e1518, 0xc0005f6900, 0xc001e2dae0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916c60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 957 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fb5e0, 0x0, 0x0, 0x0, 0xc0051b4400, 0xb42, 0x2, 0xc006385a58, 0xaa6444, 0x5, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0001fb5e0, 0xc0051b4400, 0xb42, 0xaa0378, 0x1, 0xc0051b3800, 0xb42) /usr/local/go/src/regexp/regexp.go:557 +0x10a _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa6444, 0x5, 0xc0051b4400, 0xb42, 0xaa0378, 0x1, 0xc0051b4400, 0xb42) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:305 +0x37c created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 958 [semacquire]: regexp.(*Regexp).replaceAll(0xc002a943c0, 0x0, 0x0, 0x0, 0xc001b9a000, 0x1287, 0x2, 0xc0064af218, 0xc001b9a000, 0x1287, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc002a943c0, 0xc001b9a000, 0x1287, 0xaa0378, 0x1, 0x1, 0x19) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0051e3518, 0xc0001d4480, 0xc002e4e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 959 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/advancedlogic/GoOse.(*outputFormatter).Text(0xc005f47388, 0xc0010b7d70, 0x4, 0xc002b5cfc0) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:115 +0x122 github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc005f47388, 0xc001e564f0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:120 +0x48 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc005f47388, 0xc0010b7d70, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0xc005f47301, 0xc000418b18) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc005f47518, 0xc0010b7d70, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916f60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 960 [semacquire]: github.com/jaytaylor/html2text.FromString(0xc0037fc600, 0x1899, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc0057ebf60) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:102 +0x42 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00597d518, 0xc001753560, 0xc003924060) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 961 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc0043b6600, 0xba, 0x2, 0xc005f2e1d0, 0x8fd10000000a, 0xc005f2e270, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc0043b6600, 0xba, 0xaa0378, 0x1, 0xc001d7de80, 0x5) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005f2e3d8, 0xc006015f10, 0xc000156bb0, 0xc005f2e308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f2e3d8, 0xc006015ea0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005f2f0c0, 0xc006015ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005f2f0c0, 0xc006015ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f2f0c0, 0xc006015c70, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003ab30c0, 0xc006015c70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003ab30c0, 0xc006015c70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f2f0c0, 0xc006015b90, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003ab30c0, 0xc006015b90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003ab30c0, 0xc006015b90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f2f0c0, 0xc006015490, 0xc001d83bbc, 0x4) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003ab30c0, 0xc006015490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003ab30c0, 0xc006015490, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f2f0c0, 0xc0060153b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003ab30c0, 0xc0060153b0, 0x54b170, 0xc0044d60d0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0060153b0, 0x0, 0x0, 0x0, 0x0, 0xc0060153b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc005ccbfb0, 0x0, 0x0, 0x0, 0x1300, 0xc005de4c00, 0x126d, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005de4c00, 0x126d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1a8470ad00000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003ab3518, 0xc004061ee0, 0xc00039ad00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 962 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf3270aa0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d81330, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d81310, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004caac00, 0x56b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0039194d0, 0x8f, 0xc004caac00, 0x56b, 0xc004caac00, 0x56b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0039194d0, 0x8f, 0xc004caac00, 0x56b, 0xaa0378, 0x1, 0xc004caac00, 0x56b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 963 [runnable]: bytes.makeSlice.func1() /usr/local/go/src/bytes/buffer.go:224 +0x68 bytes.makeSlice(0x1e00, 0xc006e80000, 0x1e00, 0x1e00) /usr/local/go/src/bytes/buffer.go:229 +0x96 bytes.(*Buffer).grow(0xc0058050e8, 0x200, 0x800) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).ReadFrom(0xc0058050e8, 0xb7b620, 0xc006d1c0c0, 0x203001, 0x203001, 0x203001) /usr/local/go/src/bytes/buffer.go:202 +0x48 io/ioutil.readAll(0xb7b620, 0xc006d1c0c0, 0x200, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/io/ioutil/ioutil.go:36 +0xe3 io/ioutil.ReadAll(...) /usr/local/go/src/io/ioutil/ioutil.go:45 github.com/ssor/bom.NewReaderWithoutBom(0xb7b620, 0xc006d1c0c0, 0xc0058051d8, 0x42d308, 0x30, 0xa4a0e0) /home/develop/go/src/github.com/ssor/bom/bom.go:29 +0x42 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc006d1c0c0, 0x0, 0x0, 0x0, 0x2500, 0xc006a23900, 0x23bf, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:89 +0x39 github.com/jaytaylor/html2text.FromString(0xc006a23900, 0x23bf, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc003d8e870) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005805518, 0xc005d38120, 0xc001af5fa0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0009172c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 964 [semacquire]: strings.Replace(0xc001812000, 0xfa1, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x6, 0xc001812000, 0xfa1) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0039698f8, 0xc005c0f000, 0xf9f, 0x80d1bed0b2d082d1, 0xbbd0b5d082d1b8d0, 0xb5d08bd1bdd08cd1) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 966 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc002daa4e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc0011e1110, 0xc005597730, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004585840, 0x0, 0x0, 0x0, 0xc003aaf200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004585840, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003aaf8f8, 0xc002871600, 0xd2d, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 967 [semacquire]: bytes.makeSlice(0x1a15, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc002790600, 0x3cb, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc002790600, 0xc003ecb000, 0x3cb, 0x6, 0xffffffffffffffff, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc002790600, 0xc003ecb000, 0x3cb, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc002790600, 0xc005d42460, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc002790600, 0xc005d423f0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc002790600, 0xc005c1a0e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc002790600, 0xc005c1a000, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc002790600, 0xc0055978f0, 0xb84d20, 0xc002790600) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc002790600, 0xc0055978f0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc005d0ef60, 0x50d2a1, 0xc0059f5720, 0x1b, 0xaada21) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003ab1518, 0xc005c812c0, 0xc0000bed00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 968 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c146ac7a0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0013e9190, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0013e9160, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00574a000, 0x9c0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0044437a0, 0x8c, 0xc00574a000, 0x9c0, 0xc00574a000, 0x9c0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0044437a0, 0x8c, 0xc00574a000, 0x9c0, 0xaa0378, 0x1, 0xc00574a000, 0x9c0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917740, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 969 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bccc86dd0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0003d6230, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0003d6220, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004a9a800, 0x730, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001007400, 0x98, 0xc004a9a800, 0x730, 0xc004a9a800, 0x730, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001007400, 0x98, 0xc004a9a800, 0x730, 0xaa0378, 0x1, 0xc004a9a800, 0x730, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 970 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bdc53f130, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00447fe50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00447fe30, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001a1c480, 0x442, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00437781c, 0x1b, 0xc001a1c480, 0x442, 0xc001a1c480, 0x442, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00437781c, 0x1b, 0xc001a1c480, 0x442, 0xaa0378, 0x1, 0xc001a1c480, 0x442, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0009178c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 971 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc005ef43d8, 0xc001683f40, 0x50, 0x50, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:430 +0x233 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005ef43d8, 0xc005eeca80, 0xc000ca6000, 0xc005ef4308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef43d8, 0xc005eeca10, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005ef50c0, 0xc005eeca10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005ef50c0, 0xc005eeca10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef50c0, 0xc005eec930, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058010c0, 0xc005eec930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058010c0, 0xc005eec930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef50c0, 0xc005eec850, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058010c0, 0xc005eec850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058010c0, 0xc005eec850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef50c0, 0xc005eec150, 0xc005800db8, 0x443c10) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058010c0, 0xc005eec150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058010c0, 0xc005eec150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef50c0, 0xc005eec070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058010c0, 0xc005eec070, 0x54b170, 0xc0018d01a0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc005eec070, 0x0, 0x0, 0x0, 0x0, 0xc005eec070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001ec8e40, 0x0, 0x0, 0x0, 0x1980, 0xc0044c2600, 0x18e8, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0044c2600, 0x18e8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xfbe5897200000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005801518, 0xc00146c780, 0xc0019d6b00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 972 [runnable]: github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc0067670c0, 0xc003f6e840, 0x295, 0x295, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:430 +0x233 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0067670c0, 0xc001b377a0, 0xc0067661b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067670c0, 0xc001b37730, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0067670c0, 0xc001b37730, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0067670c0, 0xc001b37730, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0067670c0, 0xc001b37730, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067670c0, 0xc001b37110, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058030c0, 0xc001b37110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058030c0, 0xc001b37110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067670c0, 0xc001b37030, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058030c0, 0xc001b37030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058030c0, 0xc001b37030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067670c0, 0xc001b36930, 0xc002b93180, 0x7f1cb42a5080) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058030c0, 0xc001b36930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058030c0, 0xc001b36930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0067670c0, 0xc001b36850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058030c0, 0xc001b36850, 0x54b170, 0xc0023241a0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc001b36850, 0x0, 0x0, 0x0, 0x0, 0xc001b36850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc006a9d110, 0x0, 0x0, 0x0, 0xc80, 0xc000810c80, 0xc6b, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc000810c80, 0xc6b, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc000d4a600) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005803518, 0xc0019d76c0, 0xc0068fb700) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917b60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 973 [semacquire]: golang.org/x/net/html.parseDoctype(0xc002838008, 0x4, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/doctype.go:17 +0x42 golang.org/x/net/html.initialIM(0xc002ccec30, 0x7f1c00000000) /home/develop/go/src/golang.org/x/net/html/parse.go:530 +0x98 golang.org/x/net/html.(*parser).parseCurrentToken(0xc002ccec30) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc002ccec30, 0xc0008ddf80, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0030bcfa0, 0x0, 0x0, 0x0, 0xc005807200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0030bcfa0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0058078f8, 0xc001d9a000, 0xe92, 0xd087d180d1b5d0bc, 0xd1b8d0bad081d1b5, 0x80d182d181d12085) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 974 [semacquire]: strings.genSplit(0xc001b4fc00, 0x653, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc005ce72d0, 0xc0058cb360) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0058cb3c0, 0xaa0503, 0x2, 0xc001b4f500, 0x653, 0xc001b4f500, 0xc0058cb3b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc001b4f500, 0x653, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0058cb518, 0xc005c81060, 0x6c, 0xc00529e5b0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 975 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c881bd7a0, 0x7f1c3477bb80) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002a8e9d0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002a8e9c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00159e000, 0x569, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000380a80, 0x5c, 0xc00159e000, 0x569, 0xc00159e000, 0x569, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000380a80, 0x5c, 0xc00159e000, 0x569, 0xaa0378, 0x1, 0xc00159e000, 0x569, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e0c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 977 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc00436f8f0, 0x1, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*outputFormatter).removeParagraphsWithFewWords.func1(0x0, 0xc00436f8f0) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:174 +0x4a github.com/PuerkitoBio/goquery.(*Selection).Each(0xc00436f8c0, 0xc000e0b2c8, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*outputFormatter).removeParagraphsWithFewWords(0xc000e0b388) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:173 +0xb0 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc000e0b388, 0xc0030e84b0, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0xc000e0b301, 0xc00076f508) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:43 +0xf5 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc000e0b518, 0xc0030e84b0, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x21bc4965, 0xc0014970f0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007e900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 978 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc0016bc520, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1213 +0x5d golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0016bc520, 0x0, 0x0, 0x0, 0xc003ba1200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0016bc520, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003ba18f8, 0xc001c7c580, 0xc77, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ec00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 979 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inHeadIM(0xc0020feea0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:640 +0x2e8 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0020feea0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0020feea0, 0xc0034a3110, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0016bc540, 0x0, 0x0, 0x0, 0xc003bd7200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0016bc540, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003bd78f8, 0xc000fc3800, 0xbf5, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007ef00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 980 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00007fb00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 981 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 982 [semacquire]: strings.Replace(0xc00341bb00, 0xcc4, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x1, 0xc00341bb00, 0xcc4) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00167d8f8, 0xc0032f6380, 0xcc2, 0xd0bbd0b5d0b4d0b5, 0x208fd1b8d0bdd0b5, 0xb8d0b3d0b5d080d1) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec00c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 983 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 984 [semacquire]: strings.NewReader(...) /usr/local/go/src/strings/reader.go:154 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003e6b8f8, 0xc003a31900, 0x10fb, 0x80d1bed0b2d082d1, 0xbbd0b5d082d1b8d0, 0xb5d08bd1bdd08cd1) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:87 +0xf9 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 985 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 986 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec03c0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 987 [semacquire]: strings.Replace(0xc002330000, 0xf1b, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x2, 0x0, 0x0) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005deb8f8, 0xc002330000, 0xf1b, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 988 [semacquire]: strings.Replace(0xc002e92000, 0x1765, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x2, 0xc002e92000, 0x1765) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003ba38f8, 0xc004fa0800, 0x1763, 0xd0b1d020b9d0b8d0, 0xd1bed0b3d0b0d0bb, 0xd080d1bed0b2d082) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 989 [semacquire]: strings.Replace(0xc002bfb500, 0x993, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x3, 0xc002bfb500, 0x993) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005ded8f8, 0xc002350000, 0x992, 0x1, 0xc000c43980, 0x5) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 990 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inHeadIM(0xc0009e6a90, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:640 +0x2e8 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0009e6a90) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0009e6a90, 0xc002fe36c0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002b03ee0, 0x0, 0x0, 0x0, 0xc003e67200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002b03ee0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003e678f8, 0xc002351500, 0xa62, 0x6, 0x2, 0xc000c42730) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec06c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 991 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 992 [semacquire]: strings.Replace(0xc002112600, 0x11d8, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x1, 0xc002112600, 0x11d8) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003e698f8, 0xc003eb0600, 0x11cf, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 993 [semacquire]: github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:109 +0x42 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 994 [semacquire]: strings.Replace(0xc0023ae000, 0xe68, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x5, 0xc0023ae000, 0xe68) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005de78f8, 0xc0023ae000, 0xe68, 0x3, 0x3, 0xc00435d0b0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec09c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 995 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 996 [semacquire]: strings.makeCutsetFunc(0xaa4e4b, 0x5, 0xc0009e2cd0) /usr/local/go/src/strings/strings.go:831 +0xad strings.TrimLeft(0xc002d30430, 0x5, 0xaa4e4b, 0x5, 0x5, 0x0) /usr/local/go/src/strings/strings.go:855 +0x61 golang.org/x/net/html.inHeadIM(0xc0020ff040, 0x7f1c00000000) /home/develop/go/src/golang.org/x/net/html/parse.go:626 +0x969 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0020ff040) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0020ff040, 0xc0034a35e0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0016bc580, 0x0, 0x0, 0x0, 0xc003f33200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0016bc580, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003f338f8, 0xc00236d500, 0x94c, 0x5, 0x1, 0xc0005a51d0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0b40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 997 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inHeadIM(0xc0020ff1e0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:640 +0x2e8 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0020ff1e0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0020ff1e0, 0xc0034a37a0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0039245e0, 0x0, 0x0, 0x0, 0xc003f35200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0039245e0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003f358f8, 0xc003149b00, 0xce2, 0xc000c433e0, 0x6, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0c00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 998 [semacquire]: strings.Replace(0xc002400000, 0xee6, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x5, 0xc002400000, 0xee6) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005de98f8, 0xc002400000, 0xee6, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 999 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc006921800, 0x75d, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x317 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc006921800, 0x75d, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc006921800, 0x75d, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc006921800, 0x75d, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc006921800, 0x75d, 0x0, 0x0, 0x75d, 0xc006921800, 0x75d) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc006921800, 0x75d, 0x75d, 0x900) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001006780, 0x96, 0xc006921800, 0x75d, 0xc006921800, 0x75d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001006780, 0x96, 0xc006921800, 0x75d, 0xaa0378, 0x1, 0xc006921800, 0x75d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1000 [semacquire]: strings.NewReader(...) /usr/local/go/src/strings/reader.go:154 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005df38f8, 0xc0022f6000, 0xe11, 0xc002e51020, 0x3, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:87 +0xf9 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1001 [semacquire]: strings.Replace(0xc00365b500, 0xa68, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x5, 0xc00365b500, 0xa68) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc001d498f8, 0xc00365b500, 0xa68, 0x3, 0xc00435b080, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec11a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1002 [semacquire]: golang.org/x/net/html/atom.String(0xc0022fe094, 0x8, 0xf6c, 0xf6c, 0xc0022fe09e) /home/develop/go/src/golang.org/x/net/html/atom/atom.go:77 +0xc6 golang.org/x/net/html.(*Tokenizer).Token(0xc0020ff2b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x12a golang.org/x/net/html.(*parser).parse(0xc0020ff380, 0xc0034a3c70, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004060840, 0x0, 0x0, 0x0, 0xc003e6d200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004060840, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003e6d8f8, 0xc003a61800, 0xbee, 0xc0043367fe, 0xe, 0xc00433680d) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1003 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1004 [semacquire]: github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:109 +0x42 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec13e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1005 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88300c70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002e8a050, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002e8a040, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0004e7200, 0x86d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000d6cae4, 0x50, 0xc0004e7200, 0x86d, 0xc0004e7200, 0x86d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000d6cae4, 0x50, 0xc0004e7200, 0x86d, 0xaa0378, 0x1, 0xc0004e7200, 0x86d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec14a0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1006 [semacquire]: regexp/syntax.(*parser).newRegexp(...) /usr/local/go/src/regexp/syntax/parse.go:94 regexp/syntax.(*parser).newLiteral(0xc0070804e0, 0xd500000064, 0x1) /usr/local/go/src/regexp/syntax/parse.go:182 +0x11f regexp/syntax.(*parser).literal(0xc0070804e0, 0x64) /usr/local/go/src/regexp/syntax/parse.go:210 +0x3b regexp/syntax.Parse(0xabc10c, 0x11, 0xd4, 0x0, 0x0, 0xabc106) /usr/local/go/src/regexp/syntax/parse.go:729 +0x2ae regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:170 +0x5a regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003007300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003007300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003007300, 0x0, 0xb856e0, 0xc002ec34a8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003007300, 0xc00313bc00, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003007300, 0x42ca96, 0xc00436f920, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc003007370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc0015633a0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001556180, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc003007518, 0xc0017f6040, 0xabc101, 0x1d, 0x50, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1007 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc0c4fa50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023df020, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023df010, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002e2c900, 0x41b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00387e460, 0x66, 0xc002e2c900, 0x41b, 0xc002e2c900, 0x41b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00387e460, 0x66, 0xc002e2c900, 0x41b, 0xaa0378, 0x1, 0xc002e2c900, 0x41b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1008 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882fbb20, 0x7f1bd46742b0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b5ded0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b5dec0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004e2fc00, 0x625, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00231ec80, 0x72, 0xc004e2fc00, 0x625, 0xc004e2fc00, 0x625, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00231ec80, 0x72, 0xc004e2fc00, 0x625, 0xaa0378, 0x1, 0xc004e2fc00, 0x625, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec16e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1009 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc0016bd740, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1215 +0x43 golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0016bd740, 0x0, 0x0, 0x0, 0xc00263d200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0016bd740, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00263d8f8, 0xc002773c00, 0xb67, 0xc0045d1260, 0x3, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec17a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1010 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1011 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1012 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec19e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1013 [semacquire]: bytes.makeSlice(0x2d0, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc004832a50, 0x8, 0x5) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc004832a50, 0xc002d30e50, 0x8, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc004832a50, 0xc002d30e50, 0x8, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc004832a50, 0xc0047f4bd0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc004832a50, 0xc0047f4770, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004832a50, 0xc0047f4700, 0xb84d20, 0xc004832a50) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc004832a50, 0xc0047f4700, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0048328a0, 0x22649c59b, 0x1251a20, 0xc0016bd7c0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1aa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1014 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1b60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1015 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1c20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1016 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1017 [semacquire]: strings.Replace(0xc001900000, 0x12f0, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x7, 0xc001900000, 0x12f0) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003c7f8f8, 0xc002e76600, 0x12ef, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1da0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1018 [semacquire]: strings.Replace(0xc0029a1900, 0x12c9, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x4, 0xc0048dd470, 0x0) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003d258f8, 0xc0029a1900, 0x12c9, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1019 [semacquire]: strings.Replace(0xc00502f000, 0xe7f, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x4, 0xc002e98300, 0x0) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00569b8f8, 0xc00502f000, 0xe7f, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec1f20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1020 [semacquire]: strings.Replace(0xc000498000, 0x1367, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x3, 0x0, 0x0) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005df58f8, 0xc000498000, 0x1367, 0x208fd181d18cd182, 0xd082d120b0d0bdd0, 0xb5d0b6d020bcd0be) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1021 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc003920000, 0x8c0, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc003920000, 0x8c0, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc003920000, 0x8c0, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc003920000, 0x8c0, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc003920000, 0x8c0, 0x0, 0x0, 0x8c0, 0xc003920000, 0x8c0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc003920000, 0x8c0, 0x8c0, 0x900) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003eb4510, 0x90, 0xc003920000, 0x8c0, 0xc003920000, 0x8c0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003eb4510, 0x90, 0xc003920000, 0x8c0, 0xaa0378, 0x1, 0xc003920000, 0x8c0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14120, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1022 [semacquire]: strings.Replace(0xc002e96800, 0x178a, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x1, 0xc002e96800, 0x178a) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0053658f8, 0xc002e96800, 0x178a, 0xd087d180d1b5d0bc, 0xd1b8d0bad081d1b5, 0x80d182d181d12085) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c141e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1023 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc006b19b90, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002ee9518, 0xc0068faaa0, 0x78, 0xc0011668bd) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c142a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1024 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1025 [semacquire]: strings.Replace(0xc003a63c00, 0xb8c, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x3, 0x80d1b0d0bfd0b6d0, 0xbdd0b9d0b8d082d1) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0053618f8, 0xc003a63c00, 0xb8c, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1026 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc00473f078, 0x42c500, 0x7f1c8c3d2b10, 0xc00473efd0, 0x42ca96) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:724 +0x716 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc00473f078, 0x88, 0x88, 0x422c63, 0xc002741310) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc00473f078, 0xc00178fb00, 0x4230ca, 0xc0004e2331, 0xad6f1d, 0xc00473f088) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xaa03ab, 0x1, 0xbc0000c002741310, 0x10, 0xc00473f108, 0x42e6b5, 0xc00473f158) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaa03ab, 0x1, 0xc004577fe8, 0xc00397ed50, 0xc00473f158) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0050e7b00, 0xaa03ab, 0x1, 0xc0001d42c0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc00473f518, 0xc0050e7b00, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:562 +0x55 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00473f518, 0xc0013e6040, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:386 +0x1ae github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c144e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1027 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c145a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1028 [semacquire]: strings.Replace(0xc005230a80, 0x9e7, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x3, 0xc005230a80, 0x9e7) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0033838f8, 0xc005230a80, 0x9e7, 0x0, 0x44ff9c, 0x127d760) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1029 [semacquire]: strings.Replace(0xc00523b000, 0xe77, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x2, 0x0, 0x0) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00549d8f8, 0xc00523b000, 0xe77, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1030 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c149c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1031 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c006f18b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0027fe950, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0027fe940, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003f04000, 0xcb7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000716900, 0x5d, 0xc003f04000, 0xcb7, 0xc003f04000, 0xcb7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000716900, 0x5d, 0xc003f04000, 0xcb7, 0xaa0378, 0x1, 0xc003f04000, 0xcb7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1032 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14b40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1033 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c882b7130, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001182500, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0011824f0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00015a400, 0x8ec, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010bead2, 0x8d, 0xc00015a400, 0x8ec, 0xc00015a400, 0x8ec, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010bead2, 0x8d, 0xc00015a400, 0x8ec, 0xaa0378, 0x1, 0xc00015a400, 0x8ec, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14c00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1034 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14cc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1035 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bb8826a90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000ba3920, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000ba3910, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000824000, 0x1d36, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0001789a0, 0xa5, 0xc000824000, 0x1d36, 0xc000824000, 0x1d36, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0001789a0, 0xa5, 0xc000824000, 0x1d36, 0xaa0378, 0x1, 0xc000824000, 0x1d36, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1036 [semacquire]: strings.Replace(0xc002123900, 0x1140, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x2, 0xc0012639b0, 0x0) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003bef8f8, 0xc002123900, 0x1140, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1037 [semacquire]: github.com/fatih/set.(*Set).Add(0xc004577b40, 0xc004b4b220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004b4b588, 0xaa058b, 0x2, 0xc00616e000, 0x2715, 0x0, 0x1, 0xc002ec29a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc004b4b518, 0xc00065fee0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1038 [semacquire]: github.com/gigawattio/window.Rolling(0xc00664e000, 0x2a5, 0x2a5, 0x3, 0x0, 0x2a4, 0xc00664e000) /home/develop/go/src/github.com/gigawattio/window/rolling.go:15 +0x140 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00381b518, 0xc00367fe00, 0xc001753e60) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:329 +0x8ed github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14fc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1039 [semacquire]: bytes.makeSlice(0x272, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0050e6c30, 0x8, 0x4) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0050e6c30, 0xc00255ff68, 0x8, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.render1(0xb84d20, 0xc0050e6c30, 0xc004f6eb60, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:163 +0x316 golang.org/x/net/html.render1(0xb84d20, 0xc0050e6c30, 0xc004f6e700, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0050e6c30, 0xc004f6e690, 0xb84d20, 0xc0050e6c30) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0050e6c30, 0xc004f6e690, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0028b22d0, 0x50d2a1, 0xc002d80180, 0x21, 0xaada21) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc000191518, 0xc0001d4060, 0xc0013e6fa0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1040 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88f28e10, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002ce99e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002ce99d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001331800, 0x7fd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00444280a, 0x62, 0xc001331800, 0x7fd, 0xc001331800, 0x7fd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00444280a, 0x62, 0xc001331800, 0x7fd, 0xaa0378, 0x1, 0xc001331800, 0x7fd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1041 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88d338e0, 0x7f1c730ce170) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00251cc10, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00251cbf0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0061fc700, 0x6cf, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004442a55, 0x58, 0xc0061fc700, 0x6cf, 0xc0061fc700, 0x6cf, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004442a55, 0x58, 0xc0061fc700, 0x6cf, 0xaa0378, 0x1, 0xc0061fc700, 0x6cf, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15200, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1042 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc00483a000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc00483a0d0, 0xc003236000, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0030bca20, 0x0, 0x0, 0x0, 0xc003b5f200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0030bca20, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003b5f8f8, 0xc0051c1000, 0x40e6, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c152c0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1043 [semacquire]: strings.genSplit(0xc005262400, 0xb56, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc004d96c00, 0x12a, 0x12a) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003d413c0, 0xaa04fd, 0x2, 0xc000b30000, 0xb56, 0x2, 0x12a, 0xc00065f420) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc000b30000, 0xb56, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003d41518, 0xc0049f16c0, 0x93, 0xc001317360) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1044 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88aabf70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002dbce50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002dbce40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004666a00, 0x65b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002af08c0, 0x6d, 0xc004666a00, 0x65b, 0xc004666a00, 0x65b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002af08c0, 0x6d, 0xc004666a00, 0x65b, 0xaa0378, 0x1, 0xc004666a00, 0x65b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1045 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc0023c9500, 0x95a, 0xc0052a7218, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc0023c9500, 0x95a, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0052a73c0, 0xaa0503, 0x2, 0xc0023c9500, 0x95a, 0x1, 0x101, 0xc00065fd60) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc0023c9500, 0x95a, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0052a7518, 0xc0049f1e60, 0x61, 0xc00529e000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1046 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c54531b60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0017450a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001745090, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002770000, 0xb55, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003af0ba0, 0x55, 0xc002770000, 0xb55, 0xc002770000, 0xb55, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003af0ba0, 0x55, 0xc002770000, 0xb55, 0xaa0378, 0x1, 0xc002770000, 0xb55, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c155c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1048 [semacquire]: strings.genSplit(0xc004ffe500, 0x4da, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc001c18000, 0xa7, 0xa7) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003bd53c0, 0xaa0599, 0x2, 0xc0045a1400, 0x4da, 0x13, 0xa7, 0xc004e23a40) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc0045a1400, 0x4da, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003bd5518, 0xc004e23700, 0x87, 0xc0014f0360) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1049 [semacquire]: bytes.makeSlice(0x1b93, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc004ee9860, 0x5d, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc004ee9860, 0xc004e20ae0, 0x5d, 0x6, 0xffffffffffffffff, 0x10000c0014d9a00) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc004ee9860, 0xc004e20ae0, 0x5d, 0xc003bd8b18, 0xc001fff9f0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc004ee9860, 0xc005822150, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc004ee9860, 0xc0058220e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004ee9860, 0xc00193a000, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004ee9860, 0xc00157bf10, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004ee9860, 0xc0041a35e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004ee9860, 0xc0041a3500, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc004ee9860, 0xc0041a2e00, 0xb84d20, 0xc004ee9860) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc004ee9860, 0xc0041a2e00, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc004ee96b0, 0x22770fb30, 0x1251a20, 0xc004649560, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1050 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc001e2d2c0, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1215 +0x43 golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc001e2d2c0, 0x0, 0x0, 0x0, 0xc003d37200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc001e2d2c0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003d378f8, 0xc002e76600, 0x121f, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c158c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1051 [runnable]: github.com/advancedlogic/GoOse.(*ContentExtractor).updateNodeCount(0xc000b85518, 0xc0061fb0b0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:497 +0xe7 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc000b85518, 0xc0020d77e0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:428 +0x4e1 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1052 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c312d8600, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00357a530, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00357a520, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002be7600, 0xd7e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002764048, 0x61, 0xc002be7600, 0xd7e, 0xc002be7600, 0xd7e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002764048, 0x61, 0xc002be7600, 0xd7e, 0xaa0378, 0x1, 0xc002be7600, 0xd7e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15a40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1053 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88f2ece0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d73bd0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d73bb0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001f52f00, 0x4cc, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002137300, 0x71, 0xc001f52f00, 0x4cc, 0xc001f52f00, 0x4cc, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002137300, 0x71, 0xc001f52f00, 0x4cc, 0xaa0378, 0x1, 0xc001f52f00, 0x4cc, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15b00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1054 [semacquire]: bytes.makeSlice(0x548, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00403f208, 0x22, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00403f208, 0xc0015dfa70, 0x22, 0x5165d7, 0xc000bdf080, 0xc00097e000) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0005d1c70) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0005d1c00) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0005d1b20) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc00038af90, 0xc00038af60, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00403f518, 0xc0017f6ce0, 0x57) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:384 +0x144 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15bc0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1055 [semacquire]: strings.Replace(0xc0059e3900, 0x10db, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x3, 0xbdd0b8d0b1d08fd1, 0xd020bbc2bad081d1) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005aaf8f8, 0xc0059e3900, 0x10db, 0x42ca96, 0xc00041b320, 0x60) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1056 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc006b19e90, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00571f518, 0xc0017524a0, 0x4e, 0xc00048e230) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1057 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c897b5d70, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001c5dc70, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001c5dc64, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001deca80, 0x35d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fa46e0, 0x98, 0xc001deca80, 0x35d, 0xc001deca80, 0x35d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fa46e0, 0x98, 0xc001deca80, 0x35d, 0xaa0378, 0x1, 0xc001deca80, 0x35d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003600c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1058 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0013f2600, 0x110e, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:87 +0x379 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0013f2600, 0x110e, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0013f2600, 0x110e, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0013f2600, 0x110e, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0013f2600, 0x110e, 0x0, 0x0, 0x110e, 0xc0013f2600, 0x110e) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0013f2600, 0x110e, 0x110e, 0x1500) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00529f260, 0x6a, 0xc0013f2600, 0x110e, 0xc0013f2600, 0x110e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00529f260, 0x6a, 0xc0013f2600, 0x110e, 0xaa0378, 0x1, 0xc0013f2600, 0x110e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003603c0, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1059 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88c715b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023ac140, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023ac120, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001fce400, 0x864, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004ed1ef0, 0x83, 0xc001fce400, 0x864, 0xc001fce400, 0x864, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004ed1ef0, 0x83, 0xc001fce400, 0x864, 0xaa0378, 0x1, 0xc001fce400, 0x864, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003606c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1060 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c248f28e0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00316f710, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00316f700, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0047bee00, 0x61e, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004150000, 0x85, 0xc0047bee00, 0x61e, 0xc0047bee00, 0x61e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004150000, 0x85, 0xc0047bee00, 0x61e, 0xaa0378, 0x1, 0xc0047bee00, 0x61e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003609c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1061 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc002df9800, 0xac6, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc002df9800, 0xac6, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc002df9800, 0xac6, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc002df9800, 0xac6, 0x0, 0x0, 0xac6, 0xc002df9800, 0xac6) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc002df9800, 0xac6, 0xac6, 0xc00) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb4620, 0x69, 0xc002df9800, 0xac6, 0xc002df9800, 0xac6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb4620, 0x69, 0xc002df9800, 0xac6, 0xaa0378, 0x1, 0xc002df9800, 0xac6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360cc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1062 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88f89ce0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b5ea60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b5ea50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0012a2000, 0x993, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fb53b0, 0x70, 0xc0012a2000, 0x993, 0xc0012a2000, 0x993, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fb53b0, 0x70, 0xc0012a2000, 0x993, 0xaa0378, 0x1, 0xc0012a2000, 0x993, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360fc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1063 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88c1c960, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001280b60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001280b50, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0023fc000, 0x5d6, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0041501b0, 0x82, 0xc0023fc000, 0x5d6, 0xc0023fc000, 0x5d6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0041501b0, 0x82, 0xc0023fc000, 0x5d6, 0xaa0378, 0x1, 0xc0023fc000, 0x5d6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003612c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1064 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c047efe00, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002134870, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002134840, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0009f5800, 0xaa5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0041505a0, 0x87, 0xc0009f5800, 0xaa5, 0xc0009f5800, 0xaa5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0041505a0, 0x87, 0xc0009f5800, 0xaa5, 0xaa0378, 0x1, 0xc0009f5800, 0xaa5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1065 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc005ef03d8, 0xc005d12a20, 0x8d, 0x8d, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:430 +0x233 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005ef03d8, 0xc0001b6230, 0xc000ca6000, 0xc005ef0308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef03d8, 0xc0001b61c0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005ef10c0, 0xc0001b61c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005ef10c0, 0xc0001b61c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef10c0, 0xc0001b60e0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc001a370c0, 0xc0001b60e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc001a370c0, 0xc0001b60e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef10c0, 0xc0001b6000, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc001a370c0, 0xc0001b6000, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc001a370c0, 0xc0001b6000, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef10c0, 0xc0001658f0, 0xc001a36d40, 0x46a81e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc001a370c0, 0xc0001658f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc001a370c0, 0xc0001658f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005ef10c0, 0xc000165810, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc001a370c0, 0xc000165810, 0x54b170, 0xc00437bba0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc000165810, 0x0, 0x0, 0x0, 0x0, 0xc000165810, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc002c34c90, 0x0, 0x0, 0x0, 0x1300, 0xc0009ee000, 0x10c1, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0009ee000, 0x10c1, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xffffffffffffffff, 0x3f00006b00000004, 0xc004a2c0c0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc001a37518, 0xc0046493c0, 0xc00230d000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361a40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1066 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00135f588, 0xaa058b, 0x2, 0xc003b93500, 0x2de, 0x1, 0x171, 0xc001563a80) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00135f518, 0xc0045841a0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361d40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1067 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88c61470, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020f8240, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020f8220, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004ab0800, 0x775, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004151a70, 0x86, 0xc004ab0800, 0x775, 0xc004ab0800, 0x775, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004151a70, 0x86, 0xc004ab0800, 0x775, 0xaa0378, 0x1, 0xc004ab0800, 0x775, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d80c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1069 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003d17300, 0x0, 0x0, 0x0, 0xb856e0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:766 +0x1e7 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003d17300, 0x75a856, 0x0, 0xc0052cb8f0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003d17300, 0xc003d172c8, 0xc003d17350, 0x42ca96, 0xc001ec8510, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xab6b38, 0x13, 0x1, 0xc003d17368, 0xc003d17380, 0x42d308, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xab6b38, 0x13, 0x1, 0xb856e0, 0xc006b6abe0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc004e1aa20, 0xab6b38, 0x13, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCanonicalLink(0xc003d17518, 0xc001af50c0, 0xaba6c1, 0x1a) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:239 +0x47 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:135 +0x446 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1070 [semacquire]: strings.genSplit(0xc003e41880, 0x31a, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x31a, 0xc003e40700, 0x31a) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004129588, 0xaa058b, 0x2, 0xc003e40700, 0x31a, 0x0, 0xc0041293d8, 0xc000d81d68) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc004129518, 0xc00140a3f0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:528 +0xfd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc004129518, 0xc000d80ba0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1071 [semacquire]: strings.genSplit(0xc000fb0c40, 0x1bf, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x1, 0xc000b60e00, 0x1b) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc003acd518, 0xc0004aa990, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:567 +0xd5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc003acd518, 0xc0011086a0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:386 +0x1ae github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d89c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1072 [semacquire]: github.com/gigawattio/window.Rolling(0xc000146c80, 0xc8, 0xc8, 0x3, 0x0, 0xc7, 0xc000146c80) /home/develop/go/src/github.com/gigawattio/window/rolling.go:15 +0x140 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0057bd518, 0xc001108e40, 0xc005c81400) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:329 +0x8ed github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8c00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1073 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0x1189d0e, 0x1, 0x2, 0xc0036e0198, 0xc0012f11e0, 0x194, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0x1189d0e, 0x1, 0xaa0378, 0x1, 0xc0012f11e0, 0x195) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0036e10c0, 0xc005531810, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0036e10c0, 0xc005531650, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0036e10c0, 0xc005531650, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0036e10c0, 0xc005531650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0036e10c0, 0xc005531650, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0036e10c0, 0xc005531030, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0034110c0, 0xc005531030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0034110c0, 0xc005531030, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0036e10c0, 0xc005530f50, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0034110c0, 0xc005530f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0034110c0, 0xc005530f50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0036e10c0, 0xc005530850, 0xc003410d40, 0x46a81e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0034110c0, 0xc005530850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0034110c0, 0xc005530850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0036e10c0, 0xc0058a5f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0034110c0, 0xc0058a5f80, 0x54b170, 0xc001f7e5b0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0058a5f80, 0x0, 0x0, 0x0, 0x0, 0xc0058a5f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0005d2690, 0x0, 0x0, 0x0, 0x1300, 0xc005112000, 0x113c, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005112000, 0x113c, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000ee16e0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003411518, 0xc002ec30a0, 0xc002ec3be0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1074 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0011094e0, 0xc005a572c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005a573c0, 0xaa059b, 0x2, 0xc0061c8900, 0x82c, 0x1, 0xe9, 0xc0011094c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc0061c8900, 0x82c, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005a57518, 0xc006395020, 0x82, 0xc00130b4d0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d8fc0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1076 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c145a35c0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001745df0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001745dd0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002edf680, 0x44b, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c4f180, 0x6d, 0xc002edf680, 0x44b, 0xc002edf680, 0x44b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c4f180, 0x6d, 0xc002edf680, 0x44b, 0xaa0378, 0x1, 0xc002edf680, 0x44b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d92c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1077 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b799ea0b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc004616040, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc004616030, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00494a500, 0x4a2, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000e7e99b, 0x1b, 0xc00494a500, 0x4a2, 0xc00494a500, 0x4a2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000e7e99b, 0x1b, 0xc00494a500, 0x4a2, 0xaa0378, 0x1, 0xc00494a500, 0x4a2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1078 [semacquire]: strings.makeCutsetFunc(0xaa4e4b, 0x5, 0xa7c820) /usr/local/go/src/strings/strings.go:831 +0xad strings.TrimLeft(0xc0031d1dd0, 0x5, 0xaa4e4b, 0x5, 0x5, 0x0) /usr/local/go/src/strings/strings.go:855 +0x61 golang.org/x/net/html.inHeadIM(0xc000771110, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:626 +0x969 golang.org/x/net/html.(*parser).parseCurrentToken(0xc000771110) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc000771110, 0xc005425180, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc005c5ea20, 0x0, 0x0, 0x0, 0xc000653200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc005c5ea20, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0006538f8, 0xc005b93000, 0xdbb, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d95c0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1079 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c5e275f60, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000f30f30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000f30f20, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc003a65400, 0xab3, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014eca80, 0x6d, 0xc003a65400, 0xab3, 0xc003a65400, 0xab3, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014eca80, 0x6d, 0xc003a65400, 0xab3, 0xaa0378, 0x1, 0xc003a65400, 0xab3, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9740, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1080 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88f34c40, 0x7f1c685e8a00) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0031f7e80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0031f7e60, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001656000, 0xa07, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014ecb81, 0x4c, 0xc001656000, 0xa07, 0xc001656000, 0xa07, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014ecb81, 0x4c, 0xc001656000, 0xa07, 0xaa0378, 0x1, 0xc001656000, 0xa07, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d98c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1081 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88a52d40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000c18630, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000c18620, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00146e000, 0x617, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb81f2, 0x36, 0xc00146e000, 0x617, 0xc00146e000, 0x617, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb81f2, 0x36, 0xc00146e000, 0x617, 0xaa0378, 0x1, 0xc00146e000, 0x617, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9a40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1082 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc00436c540, 0x6d, 0x2, 0xc006d0e1d0, 0x0, 0xc006d0e270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc00436c540, 0x6d, 0xaa0378, 0x1, 0xc004089900, 0x2) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006d0e3d8, 0xc005acc9a0, 0xc0063b6000, 0xc006d0e308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d0e3d8, 0xc005acc930, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006d0f0c0, 0xc005acc930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006d0f0c0, 0xc005acc930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d0f0c0, 0xc005acc850, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00107b0c0, 0xc005acc850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00107b0c0, 0xc005acc850, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d0f0c0, 0xc005acc0e0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00107b0c0, 0xc005acc0e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00107b0c0, 0xc005acc0e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d0f0c0, 0xc006185960, 0xc000d82000, 0x7f1cb42a42f0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00107b0c0, 0xc006185960, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00107b0c0, 0xc006185960, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d0f0c0, 0xc006185880, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00107b0c0, 0xc006185880, 0x54b170, 0xc0067c09c0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc006185880, 0x0, 0x0, 0x0, 0x0, 0xc006185880, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc004105650, 0x0, 0x0, 0x0, 0x1300, 0xc005a02600, 0x114d, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005a02600, 0x114d, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc001306c60) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00107b518, 0xc00627ce00, 0xc0067d1f40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9bc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1083 [semacquire]: strings.genSplit(0xc005ec6000, 0x131d, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0x197, 0x197) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0017573c0, 0xaa0599, 0x2, 0xc00542c000, 0x131d, 0x21, 0x197, 0xc0030bdc00) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc00542c000, 0x131d, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001757518, 0xc0030bd880, 0xc2, 0xc0043ef95f) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9d40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1084 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0001d59c0, 0xc00141f220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00141f588, 0xaa058b, 0x2, 0xc002ecc480, 0x41a, 0x30, 0x199, 0xc0001d5960) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00141f518, 0xc000e0f280, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004d9ec0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1086 [semacquire]: strings.genSplit(0xc00286c000, 0x79b, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc0063ef100, 0xd8, 0xd8) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0028a93c0, 0xaa058b, 0x2, 0xc002b3d000, 0x79b, 0x1, 0xd8, 0xc0020d77a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc002b3d000, 0x79b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0028a9518, 0xc001af4de0, 0x6b, 0xc0014ece95) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f84e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1087 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bc646b6a0, 0x7f1bc646b7a0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001335be0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001335bd0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00133e580, 0x574, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0030cc300, 0x5b, 0xc00133e580, 0x574, 0xc00133e580, 0x574, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0030cc300, 0x5b, 0xc00133e580, 0x574, 0xaa0378, 0x1, 0xc00133e580, 0x574, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1088 [semacquire]: encoding/json.(*scanner).pushParseState(...) /usr/local/go/src/encoding/json/scanner.go:172 encoding/json.stateBeginValue(0xc006c020d8, 0xa78f5b, 0x101) /usr/local/go/src/encoding/json/scanner.go:215 +0x34e encoding/json.checkValid(0xc0011f6c60, 0x10b, 0x120, 0xc006c020d8, 0x120, 0x10b) /usr/local/go/src/encoding/json/scanner.go:34 +0xa7 encoding/json.Unmarshal(0xc0011f6c60, 0x10b, 0x120, 0x9cfa40, 0xc00230c000, 0x120, 0x1) /usr/local/go/src/encoding/json/decode.go:101 +0x66 _/home/ec2-user/environment/cluster2/cluster2/fasttgo.(*Model).Predict(0xc0016bd5a0, 0xc0044a4000, 0x973, 0x0, 0x0, 0x0, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:153 +0x16a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLangFT(0xc0044a4000, 0x973, 0xaa058b, 0x2) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesft.go:14 +0x5f _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00487dcec, 0x5b, 0xc0044a4000, 0x973, 0xc0044a4000, 0x973, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:12 +0x6b _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00487dcec, 0x5b, 0xc0044a4000, 0x973, 0xaa0378, 0x1, 0xc0044a4000, 0x973, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f87e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1089 [semacquire]: github.com/fatih/set.(*Set).Add(0xc005c5e9c0, 0xc0034112c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0034113c0, 0xaa058b, 0x2, 0xc00593a600, 0x100b, 0xc00593a600, 0xc0034113b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc00593a600, 0x100b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003411518, 0xc001108560, 0xa6, 0xc00554a210) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1090 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc002d68700, 0x7f, 0x2, 0xc006c841d0, 0x0, 0xc006c84270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc002d68700, 0x7f, 0xaa0378, 0x1, 0xc004089a80, 0x5) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c843d8, 0xc002e82460, 0xc003122790, 0xc006c84308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c843d8, 0xc002e823f0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006c850c0, 0xc002e823f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c850c0, 0xc002e823f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c850c0, 0xc002e82150, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00588b0c0, 0xc002e82150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00588b0c0, 0xc002e82150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c850c0, 0xc002e82070, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00588b0c0, 0xc002e82070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00588b0c0, 0xc002e82070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c850c0, 0xc002792460, 0xc005d5e700, 0x7f1cb42a2108) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00588b0c0, 0xc002792460, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00588b0c0, 0xc002792460, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c850c0, 0xc002792380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00588b0c0, 0xc002792380, 0x54b170, 0xc000d0a410) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc002792380, 0x0, 0x0, 0x0, 0x0, 0xc002792380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00621ae70, 0x0, 0x0, 0x0, 0x2000, 0xc004146000, 0x1f13, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc004146000, 0x1f13, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc002a4fc80) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00588b518, 0xc0019d7400, 0xc00039a7c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8ae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1091 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc005c46d80, 0xd0b, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc005c46d80, 0xd0b, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc005c46d80, 0xd0b, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc005c46d80, 0xd0b, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc005c46d80, 0xd0b, 0x0, 0x0, 0xd0b, 0xc005c46d80, 0xd0b) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc005c46d80, 0xd0b, 0xd0b, 0xd80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0029ec510, 0x88, 0xc005c46d80, 0xd0b, 0xc005c46d80, 0xd0b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0029ec510, 0x88, 0xc005c46d80, 0xd0b, 0xaa0378, 0x1, 0xc005c46d80, 0xd0b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8c60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1092 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.(*parser).addFormattingElement(0xc002abca90) /home/develop/go/src/golang.org/x/net/html/parse.go:337 +0x67 golang.org/x/net/html.inBodyIM(0xc002abca90, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:978 +0x4c5 golang.org/x/net/html.(*parser).parseCurrentToken(0xc002abca90) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc002abca90, 0xc0053a3030, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004e22f60, 0x0, 0x0, 0x0, 0xc005229200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004e22f60, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0052298f8, 0xc0053a1000, 0xf16, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8de0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1094 [semacquire]: strings.genSplit(0xc004196800, 0x175e, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc0055e8000, 0x222, 0x222) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00588f3c0, 0xaa05c9, 0x2, 0xc004ac5000, 0x175e, 0x1, 0x222, 0xc001af4820) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc004ac5000, 0x175e, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00588f518, 0xc0011082c0, 0x5c, 0xc00033e420) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f90e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1095 [semacquire]: bytes.makeSlice(0x1ccf, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc001a05208, 0x927, 0x1b6) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc001a05208, 0xc0053ba000, 0x927, 0x5165d7, 0xc0066da48a, 0xc001601640) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0053b3570) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0053b3500) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0053b2af0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0066d4480, 0xc0066d4660, 0xc00553b080) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc001a05518, 0xc004e23020, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:384 +0x144 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9260, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1096 [semacquire]: regexp/syntax.(*parser).push(0xc005b9fd40, 0xc006c9a000, 0x1) /usr/local/go/src/regexp/syntax/parse.go:139 +0x1a2 regexp/syntax.(*parser).op(0xc005b9fd40, 0xac0e09, 0x13) /usr/local/go/src/regexp/syntax/parse.go:218 +0x84 regexp/syntax.Parse(0xac0e09, 0x13, 0xd4, 0x0, 0x0, 0xac0dfd) /usr/local/go/src/regexp/syntax/parse.go:754 +0xd16 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x10000) /usr/local/go/src/regexp/regexp.go:170 +0x5a regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc005b0aff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc005b0aff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc0031d1bcc) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc005b0aff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc005b0aff8, 0x1, 0xc0031e3710, 0xc0100903101, 0x2804b42a5080) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc005b0aff8, 0x4, 0x5b5, 0xc00502da01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc00502d000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x42c59c, 0x7f1c8c382748, 0x13f) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001f6e3f0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005b0b8f8, 0xc005890000, 0xa4c, 0xc000a29530, 0x443bbe, 0x127bf38) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f93e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1097 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0000bef60, 0xc005dab220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005dab588, 0xaa058b, 0x2, 0xc004b12000, 0x95a, 0x0, 0xc00437ca80, 0x7f1cb42a3560) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc005dab518, 0xc005c80320, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1098 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0055a73c0, 0xaa04f9, 0x2, 0xc005263c00, 0xaba, 0x1, 0x11d, 0xc001af4780) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc005263c00, 0xaba, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0055a7518, 0xc005c5e380, 0x99, 0xc002af0280) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f96e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1099 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0049f3500, 0x90a, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0049f3500, 0x90a, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0049f3500, 0x90a, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0049f3500, 0x90a, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0049f3500, 0x90a, 0x0, 0x0, 0x90a, 0xc0049f3500, 0x90a) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0049f3500, 0x90a, 0x90a, 0xa80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001007f40, 0x9b, 0xc0049f3500, 0x90a, 0xc0049f3500, 0x90a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001007f40, 0x9b, 0xc0049f3500, 0x90a, 0xaa0378, 0x1, 0xc0049f3500, 0x90a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1100 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc005d12900, 0x8b, 0x2, 0xc0069861d0, 0x0, 0xc006986270, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc005d12900, 0x8b, 0xaa0378, 0x1, 0xc004029f00, 0x6) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0069863d8, 0xc000b6b9d0, 0xc005a700b0, 0xc006986308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0069863d8, 0xc000b6b960, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0069870c0, 0xc000b6b960, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0069870c0, 0xc000b6b960, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0069870c0, 0xc000b6b880, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058890c0, 0xc000b6b880, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058890c0, 0xc000b6b880, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0069870c0, 0xc000b6b7a0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058890c0, 0xc000b6b7a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058890c0, 0xc000b6b7a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0069870c0, 0xc000b6b0a0, 0xc0011d2700, 0x7f1cb42a42f0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058890c0, 0xc000b6b0a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058890c0, 0xc000b6b0a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0069870c0, 0xc000b6afc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058890c0, 0xc000b6afc0, 0x54b170, 0xc002cce9c0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc000b6afc0, 0x0, 0x0, 0x0, 0x0, 0xc000b6afc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0048325a0, 0x0, 0x0, 0x0, 0x1a80, 0xc003f65500, 0x1a5d, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc003f65500, 0x1a5d, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc00048dd00) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005889518, 0xc000e0ff80, 0xc004c4c7c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f99e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1101 [runnable]: github.com/fatih/set.(*Set).Add(0xc004e23420, 0xc005f3f220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:26 +0x124 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005f3f588, 0xaa058b, 0x2, 0xc003918cf0, 0x8d, 0x6, 0xe, 0xc004e233e0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc005f3f518, 0xc001108b20, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9b60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1102 [semacquire]: regexp/syntax.(*compiler).inst(...) /usr/local/go/src/regexp/syntax/compile.go:173 regexp/syntax.(*compiler).rune(0xc005548e38, 0xc002e3e000, 0x1, 0x10, 0xd5, 0xc0066fc000) /usr/local/go/src/regexp/syntax/compile.go:267 +0x27c regexp/syntax.(*compiler).compile(0xc005548e38, 0xc00213ce00, 0x200000001) /usr/local/go/src/regexp/syntax/compile.go:110 +0x12c regexp/syntax.(*compiler).compile(0xc005548e38, 0xc00213cee0, 0x0) /usr/local/go/src/regexp/syntax/compile.go:156 +0xb29 regexp/syntax.Compile(0xc00213cee0, 0xc00213cee0, 0x1, 0x1) /usr/local/go/src/regexp/syntax/compile.go:83 +0x10a regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:178 +0xd7 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc005549300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc005549300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc005549300, 0x0, 0xb856e0, 0xc002ec3468, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc005549300, 0xc005527500, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc005549300, 0x42ca96, 0xc00667e6f0, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc005549370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc002d8e300, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00153ed80, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc005549518, 0xc000e0fb20, 0xabc101, 0x1d, 0x2a, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1103 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8977b0d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00330d8a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00330d890, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0039bd800, 0x7f7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f589c9, 0x84, 0xc0039bd800, 0x7f7, 0xc0039bd800, 0x7f7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f589c9, 0x84, 0xc0039bd800, 0x7f7, 0xaa0378, 0x1, 0xc0039bd800, 0x7f7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9e00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1104 [semacquire]: github.com/fatih/set.(*Set).Add(0xc004577e60, 0xc0039ef2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0039ef3c0, 0xaa0503, 0x2, 0xc002c36000, 0xe5b, 0x1, 0x15b, 0xc0017538c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc002c36000, 0xe5b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0039ef518, 0xc001108780, 0x8d, 0xc0011418c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9ec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1105 [semacquire]: strings.genSplit(0xc006b7c000, 0x813, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0xe3, 0xe3) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003f753c0, 0xaa04fd, 0x2, 0xc002d28400, 0x813, 0x3, 0xe3, 0xc0017f7720) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc002d28400, 0x813, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003f75518, 0xc004e23ac0, 0x7c, 0xc005562000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9f80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1106 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc004ed0ea0, 0x85, 0x2, 0xc006ba21d0, 0x0, 0xc006ba2270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc004ed0ea0, 0x85, 0xaa0378, 0x1, 0xc004089a80, 0x5) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006ba23d8, 0xc00207ab60, 0xc003122790, 0xc006ba2308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006ba23d8, 0xc00207aaf0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006ba30c0, 0xc00207aaf0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006ba30c0, 0xc00207aaf0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006ba30c0, 0xc00207aa10, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00588d0c0, 0xc00207aa10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00588d0c0, 0xc00207aa10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006ba30c0, 0xc00207a930, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00588d0c0, 0xc00207a930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00588d0c0, 0xc00207a930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006ba30c0, 0xc004a23f80, 0xc003fd9880, 0x7f1cb42a27d0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00588d0c0, 0xc004a23f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00588d0c0, 0xc004a23f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006ba30c0, 0xc004a23ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00588d0c0, 0xc004a23ea0, 0x54b170, 0xc005da6f70) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc004a23ea0, 0x0, 0x0, 0x0, 0x0, 0xc004a23ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00471b020, 0x0, 0x0, 0x0, 0xd80, 0xc0067b9600, 0xd35, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0067b9600, 0xd35, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc000fee500) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00588d518, 0xc004e23e80, 0xc0001d4e40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e060, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1107 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00316e570, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:122 +0x9d _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00316e560, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0031cd600, 0x517, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004a2c420, 0x51, 0xc0031cd600, 0x517, 0xc0031cd600, 0x517, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004a2c420, 0x51, 0xc0031cd600, 0x517, 0xaa0378, 0x1, 0xc0031cd600, 0x517, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e120, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1108 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc001b2cb60, 0xc006aafb00, 0x819) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc001b2cb60, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc001b2cb60) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc001b2cb60, 0xc0063e3810, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0020d7b60, 0x0, 0x0, 0x0, 0xc006389200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0020d7b60, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0063898f8, 0xc004ef6a80, 0x2870, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e1e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1109 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc000c4aab0, 0x50d201, 0xc000ba4340, 0x12, 0xaaba3f) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005a5b518, 0xc0063953a0, 0xc00187ed20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e2a0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1111 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c5b283260, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000f2c180, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000f2c170, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0050ef800, 0x7d7, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb8af0, 0x56, 0xc0050ef800, 0x7d7, 0xc0050ef800, 0x7d7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb8af0, 0x56, 0xc0050ef800, 0x7d7, 0xaa0378, 0x1, 0xc0050ef800, 0x7d7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1112 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc002851050, 0x2b9e7c979, 0x1251a20, 0xc00627d680, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e4e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1113 [semacquire]: strings.genSplit(0xc005610300, 0x6a8, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0xd9, 0xd9) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0059973c0, 0xaa05c9, 0x2, 0xc005323500, 0x6a8, 0x1, 0xd9, 0xc0062bf920) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc005323500, 0x6a8, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005997518, 0xc001109500, 0x77, 0xc0059c7137) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e5a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1114 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc002850690, 0x50d201, 0xc000eb9180, 0x5e, 0x3f) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005895518, 0xc00627d1e0, 0xc0000bfe00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1115 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c31021720, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00350f690, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00350f680, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00146ee00, 0x601, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001253180, 0x65, 0xc00146ee00, 0x601, 0xc00146ee00, 0x601, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001253180, 0x65, 0xc00146ee00, 0x601, 0xaa0378, 0x1, 0xc00146ee00, 0x601, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1116 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc004478c30, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x18a golang.org/x/net/html.(*parser).parse(0xc004478d00, 0xc005eb9490, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc005af6ea0, 0x0, 0x0, 0x0, 0xc001821200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc005af6ea0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0018218f8, 0xc00314d100, 0xd64, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e7e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1117 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c755d3e50, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002be1510, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002be1500, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0055e1500, 0x339, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc005a434d0, 0x83, 0xc0055e1500, 0x339, 0xc0055e1500, 0x339, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc005a434d0, 0x83, 0xc0055e1500, 0x339, 0xaa0378, 0x1, 0xc0055e1500, 0x339, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e8a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1118 [semacquire]: strings.Replace(0xc005cbf000, 0xebf, 0xab2ea2, 0xd, 0xab36a1, 0xe, 0x1, 0xc005cbf000, 0xebf) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:176 +0xbd github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005a5f8f8, 0xc001662000, 0xebd, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1119 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0019d7500, 0xc005a632c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005a633c0, 0xaa058b, 0x2, 0xc005710a00, 0x1493, 0xc005710a00, 0xc005a633b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc005710a00, 0x1493, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005a63518, 0xc0019d70e0, 0x5e, 0xc003af0c00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4ea20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1120 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0049f1be0, 0xc001a072c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc001a073c0, 0xaa0503, 0x2, 0xc002241100, 0x655, 0x1, 0xb6, 0xc0049f1bc0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc002241100, 0x655, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc001a07518, 0xc0049f17e0, 0x6d, 0xc004d9eee0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4eae0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1121 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc006eb9800, 0x7e5, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x317 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc006eb9800, 0x7e5, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc006eb9800, 0x7e5, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc006eb9800, 0x7e5, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc006eb9800, 0x7e5, 0x0, 0x0, 0x7e5, 0xc006eb9800, 0x7e5) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc006eb9800, 0x7e5, 0x7e5, 0x800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0004d8240, 0x52, 0xc006eb9800, 0x7e5, 0xc006eb9800, 0x7e5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0004d8240, 0x52, 0xc006eb9800, 0x7e5, 0xaa0378, 0x1, 0xc006eb9800, 0x7e5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4eba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1123 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc001ab4d40, 0x36, 0x2, 0xc003ede1d0, 0x18, 0xc003ede270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc001ab4d40, 0x36, 0xaa0378, 0x1, 0xc004089980, 0x3) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003ede3d8, 0xc0045bc3f0, 0xc0001562c0, 0xc003ede308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003ede3d8, 0xc0045bc380, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003edf0c0, 0xc0045bc380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003edf0c0, 0xc0045bc380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003edf0c0, 0xc0045bc2a0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005a5d0c0, 0xc0045bc2a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005a5d0c0, 0xc0045bc2a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003edf0c0, 0xc0045bc1c0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005a5d0c0, 0xc0045bc1c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005a5d0c0, 0xc0045bc1c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003edf0c0, 0xc005bf9260, 0xc005d5e700, 0x7f1cb42a2108) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005a5d0c0, 0xc005bf9260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005a5d0c0, 0xc005bf9260, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003edf0c0, 0xc005bf9180, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005a5d0c0, 0xc005bf9180, 0x54b170, 0xc003310d00) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc005bf9180, 0x0, 0x0, 0x0, 0x0, 0xc005bf9180, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc000ce34d0, 0x0, 0x0, 0x0, 0x3000, 0xc00055d000, 0x2b68, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc00055d000, 0x2b68, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc00366a000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005a5d518, 0xc0019d6fa0, 0xc0015d0f20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4ed20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1124 [semacquire]: strings.Replace(0xc00596e000, 0xf6e, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x5, 0xc00596e000, 0xf6e) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0063818f8, 0xc00596e000, 0xf6e, 0x42ca96, 0xc0002fef60, 0x60) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4ede0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1125 [semacquire]: bytes.makeSlice(0xeea, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0050e6db0, 0x170, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0050e6db0, 0xc003d61b00, 0x170, 0x6, 0xffffffffffffffff, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0050e6db0, 0xc003d61b00, 0x170, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0050e6db0, 0xc00050a150, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc0050e6db0, 0xc00050a0e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0050e6db0, 0xc005b91ce0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0050e6db0, 0xc005b91c00, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0050e6db0, 0xc000e36150, 0xb84d20, 0xc0050e6db0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0050e6db0, 0xc000e36150, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc002b5d0b0, 0x227319863, 0x1251a20, 0xc002e4fbc0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4eea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1126 [semacquire]: bytes.makeSlice(0xfb6, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc006b42510, 0x182, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc006b42510, 0xc002aa4ea0, 0x182, 0x6, 0xffffffffffffffff, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc006b42510, 0xc002aa4ea0, 0x182, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc006b42510, 0xc005b91110, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc006b42510, 0xc005b910a0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006b42510, 0xc005b90930, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006b42510, 0xc005b90850, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006b42510, 0xc005b90150, 0xb84d20, 0xc006b42510) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc006b42510, 0xc005b90150, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc005b86420, 0x50d2a1, 0xc00529d3e0, 0x12, 0xaada21) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0001cf518, 0xc00146c400, 0xc0068fb3c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4ef60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1127 [semacquire]: strings.genSplit(0xc004f27200, 0x854, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc006a05000, 0xe7, 0xe7) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0024e53c0, 0xaa05c9, 0x2, 0xc005a97600, 0x854, 0x1, 0xe7, 0xc002d8e320) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc005a97600, 0x854, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0024e5518, 0xc001753a40, 0x72, 0xc0044f6000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1129 [runnable]: regexp.(*Regexp).tryBacktrack(0xc0001fafa0, 0xc005a71130, 0xb886e0, 0xc005a711b0, 0xc000000049, 0x496, 0x0) /usr/local/go/src/regexp/backtrack.go:140 +0xd79 regexp.(*Regexp).backtrack(0xc0001fafa0, 0x0, 0x0, 0x0, 0xc001272400, 0xba0, 0x496, 0x2, 0xc001b5df30, 0x0, ...) /usr/local/go/src/regexp/backtrack.go:353 +0x39d regexp.(*Regexp).doExecute(0xc0001fafa0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc001272400, 0xba0, 0x496, 0x2, ...) /usr/local/go/src/regexp/exec.go:535 +0x453 regexp.(*Regexp).replaceAll(0xc0001fafa0, 0x0, 0x0, 0x0, 0xc001272400, 0xba0, 0x2, 0xc0063dda58, 0xaa3a2a, 0x4, ...) /usr/local/go/src/regexp/regexp.go:599 +0x1a5 regexp.(*Regexp).ReplaceAllString(0xc0001fafa0, 0xc001272400, 0xba0, 0x0, 0x0, 0xc00038a420, 0x127d7a0) /usr/local/go/src/regexp/regexp.go:557 +0x10a _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa3a2a, 0x4, 0xc001272400, 0xba0, 0x0, 0x0, 0x10, 0xab52f4) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f1a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:304 +0x33a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1130 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc003283000, 0x1697, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:83 +0x3e0 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc003283000, 0x1697, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc003283000, 0x1697, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc003283000, 0x1697, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc003283000, 0x1697, 0x0, 0x0, 0x1697, 0xc003283000, 0x1697) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc003283000, 0x1697, 0x1697, 0x1800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001244840, 0xab, 0xc003283000, 0x1697, 0xc003283000, 0x1697, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001244840, 0xab, 0xc003283000, 0x1697, 0xaa0378, 0x1, 0xc003283000, 0x1697, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1131 [semacquire]: strings.genSplit(0xc0067dc000, 0x4b7, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0xad, 0xad) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0036a93c0, 0xaa059b, 0x2, 0xc00364ef00, 0x4b7, 0x1, 0xad, 0xc0067d0040) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc00364ef00, 0x4b7, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0036a9518, 0xc005c5f0c0, 0x86, 0xc0011f42d0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1132 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo.(*Model).Predict.func3(0x7f1badec0b50, 0x7f1badeb8350) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:147 +0x2d _/home/ec2-user/environment/cluster2/cluster2/fasttgo.(*Model).Predict(0xc00627cca0, 0xc0010d9b00, 0x807, 0x0, 0x0, 0x0, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:147 +0xbb _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0010d9b00, 0x807, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:31 +0xa0 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001160ee0, 0x6f, 0xc0010d9b00, 0x807, 0xc0010d9b00, 0x807, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001160ee0, 0x6f, 0xc0010d9b00, 0x807, 0xaa0378, 0x1, 0xc0010d9b00, 0x807, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f3e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1133 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c61875fb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0035556a0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc003555690, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002057800, 0xbc9, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000eb96c0, 0x68, 0xc002057800, 0xbc9, 0xc002057800, 0xbc9, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000eb96c0, 0x68, 0xc002057800, 0xbc9, 0xaa0378, 0x1, 0xc002057800, 0xbc9, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f4a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1134 [semacquire]: bytes.makeSlice(0x6e4f, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc000ee2750, 0x1, 0x2) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc000ee2750, 0xad018a, 0x1, 0x2, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.render1(0xb84d20, 0xc000ee2750, 0xc0012e7180, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:228 +0x7b3 golang.org/x/net/html.render1(0xb84d20, 0xc000ee2750, 0xc0012e70a0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc000ee2750, 0xc00129a1c0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc000ee2750, 0xc00129a0e0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc000ee2750, 0xc0020a9960, 0xb84d20, 0xc000ee2750) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc000ee2750, 0xc0020a9960, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc005d0e0c0, 0x2f9ac6db9, 0x1251a20, 0xc006395480, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1135 [semacquire]: bytes.makeSlice(0x1269, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc000659388, 0x245, 0x7) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc000659388, 0xc00547b680, 0x245, 0x5165d7, 0xc0020de168, 0xc0013ea710) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001301490) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc001301420) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0013004d0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0013003f0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc005234310) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc00680a3f0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000659518, 0xc0063954c0, 0x7f, 0xc0039d3d1e) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1136 [runnable]: github.com/fatih/set.(*Set).Add(0xc0017f6220, 0xc005a552c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005a553c0, 0xaa0599, 0x2, 0xc0023b8500, 0x233a, 0x34, 0x362, 0xc006395a80) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc0023b8500, 0x233a, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005a55518, 0xc006395720, 0x6d, 0xc00529eb60) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f6e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1137 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c881e30b0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018f75e0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018f75d0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001149b00, 0xca8, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001647100, 0x74, 0xc001149b00, 0xca8, 0xc001149b00, 0xca8, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001647100, 0x74, 0xc001149b00, 0xca8, 0xaa0378, 0x1, 0xc001149b00, 0xca8, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f7a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1138 [semacquire]: regexp.(*Regexp).ReplaceAllString(0xc004a14d20, 0xc001c42000, 0xf8a, 0xaa0378, 0x1, 0x1, 0x1a) /usr/local/go/src/regexp/regexp.go:560 +0x135 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0036ab518, 0xc00627d5e0, 0xc000e0fa20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1139 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc002cce4e0, 0xc0067d4000, 0x38a) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc002cce4e0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc002cce4e0) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc002cce4e0, 0xc005471b20, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0030bdca0, 0x0, 0x0, 0x0, 0xc0058b7200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0030bdca0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0058b78f8, 0xc003a55900, 0x22c6, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1140 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc004a60500, 0x233b, 0xc005a59218, 0xc002b93180) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc004a60500, 0x233b, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005a593c0, 0xaa04d9, 0x2, 0xc004a60500, 0x233b, 0x11, 0x362, 0xc005c5ed60) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc004a60500, 0x233b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005a59518, 0xc0015d1820, 0x6d, 0xc0014ec540) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f9e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1141 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c1c777940, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0011f0e20, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0011f0e10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000c35000, 0x715, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001166300, 0x5a, 0xc000c35000, 0x715, 0xc000c35000, 0x715, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001166300, 0x5a, 0xc000c35000, 0x715, 0xaa0378, 0x1, 0xc000c35000, 0x715, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4faa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1142 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc006bbcd80, 0x436, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc006bbcd80, 0x436, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc006bbcd80, 0x436, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc006bbcd80, 0x436, 0x0, 0x0, 0x436, 0xc006bbcd80, 0x436) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc006bbcd80, 0x436, 0x436, 0x800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002137500, 0x7d, 0xc006bbcd80, 0x436, 0xc006bbcd80, 0x436, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002137500, 0x7d, 0xc006bbcd80, 0x436, 0xaa0378, 0x1, 0xc006bbcd80, 0x436, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4fb60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1144 [semacquire]: github.com/fatih/set.(*Set).Add(0xc004c4c3a0, 0xc0038df2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0038df3c0, 0xaa04f9, 0x2, 0xc006126000, 0xf2b, 0x1, 0x18f, 0xc004c4c380) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc006126000, 0xf2b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0038df518, 0xc00627d700, 0x93, 0xc000384140) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4fce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1145 [semacquire]: regexp.(*Regexp).expand(0xc00011d360, 0xc004a39000, 0x100, 0x100, 0xaa0378, 0x1, 0x0, 0x0, 0x0, 0xc006b0cea0, ...) /usr/local/go/src/regexp/regexp.go:948 +0xa9b regexp.(*Regexp).ReplaceAllString.func1(0xc004a39000, 0x100, 0x100, 0xc0067e1c50, 0x2, 0x2, 0xc006b0cea0, 0x190, 0xf6) /usr/local/go/src/regexp/regexp.go:558 +0xbf regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc006b0cea0, 0x190, 0x2, 0xc005946198, 0x0, 0x0, ...) /usr/local/go/src/regexp/regexp.go:616 +0x2e9 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc006b0cea0, 0x190, 0xaa0378, 0x1, 0xc0067e1c40, 0x2) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0059470c0, 0xc006911dc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0059470c0, 0xc0069e51f0, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0059470c0, 0xc0069e51f0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0059470c0, 0xc0069e51f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0059470c0, 0xc0069e51f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0059470c0, 0xc0069e4a80, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005a610c0, 0xc0069e4a80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005a610c0, 0xc0069e4a80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0059470c0, 0xc0069e49a0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005a610c0, 0xc0069e49a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005a610c0, 0xc0069e49a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0059470c0, 0xc0069e42a0, 0xc000d82000, 0x7f1cb42a42f0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005a610c0, 0xc0069e42a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005a610c0, 0xc0069e42a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0059470c0, 0xc0069e41c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005a610c0, 0xc0069e41c0, 0x54b170, 0xc0067c0680) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0069e41c0, 0x0, 0x0, 0x0, 0x0, 0xc0069e41c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0041044e0, 0x0, 0x0, 0x0, 0x2000, 0xc00612a000, 0x1d8a, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc00612a000, 0x1d8a, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc0030cc780) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005a61518, 0xc00146c200, 0xc0067d1380) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4fda0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1146 [semacquire]: github.com/fatih/set.(*Set).Add(0xc00042d340, 0xc0058b32c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0058b33c0, 0xaa04d9, 0x2, 0xc00514ce00, 0x604, 0x1, 0xc3, 0xc00146c1a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc00514ce00, 0x604, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0058b3518, 0xc0030bdd20, 0x63, 0xc000fb41c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4fe60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1147 [semacquire]: github.com/fatih/set.(*Set).Add(0xc005c5f0a0, 0xc0036a52c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0036a53c0, 0xaa04d9, 0x2, 0xc005c30000, 0xf4b, 0xc005c30000, 0xc0036a53b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc005c30000, 0xf4b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0036a5518, 0xc000c1a460, 0x6b, 0xc00487c000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4ff20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1148 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).breakLongLines(0xc0065390c0, 0xaa04bf, 0x2, 0xeb, 0x2, 0xc006538198) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:462 +0x58c github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc0065390c0, 0xaa04bf, 0x2, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:426 +0x63 github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0065390c0, 0xc001640e70, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:298 +0xb1 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0065390c0, 0xc001640e70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0065390c0, 0xc001640e70, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0065390c0, 0xc0031ea070, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058bf0c0, 0xc0031ea070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058bf0c0, 0xc0031ea070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0065390c0, 0xc0031a7f80, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058bf0c0, 0xc0031a7f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058bf0c0, 0xc0031a7f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0065390c0, 0xc002507f10, 0xc003f9e000, 0x7f1cb42a2e98) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0058bf0c0, 0xc002507f10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058bf0c0, 0xc002507f10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0065390c0, 0xc002507e30, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0058bf0c0, 0xc002507e30, 0x54b170, 0xc002a935f0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc002507e30, 0x0, 0x0, 0x0, 0x0, 0xc002507e30, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc004ee8f30, 0x0, 0x0, 0x0, 0x1500, 0xc00148f500, 0x1484, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc00148f500, 0x1484, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc000eed880) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0058bf518, 0xc00627dea0, 0xc002c4c7e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1149 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0042ff000, 0x7f1, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:55 +0x1cd _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0042ff000, 0x7f1, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0042ff000, 0x7f1, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0042ff000, 0x7f1, 0x0, 0x0, 0x7f1, 0xc0042ff000, 0x7f1) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0042ff000, 0x7f1, 0x7f1, 0x900) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0044f7100, 0x78, 0xc0042ff000, 0x7f1, 0xc0042ff000, 0x7f1, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0044f7100, 0x78, 0xc0042ff000, 0x7f1, 0xaa0378, 0x1, 0xc0042ff000, 0x7f1, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e80c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1150 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c5476b200, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0039af980, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0039af970, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002738000, 0xe5f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4a8c0, 0x62, 0xc002738000, 0xe5f, 0xc002738000, 0xe5f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4a8c0, 0x62, 0xc002738000, 0xe5f, 0xaa0378, 0x1, 0xc002738000, 0xe5f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1151 [semacquire]: github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity.func1(0x2, 0xc0048dda40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:572 +0xbf github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0048dd9b0, 0xc0025371d8, 0xaa0378) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc002537518, 0xc0048dd950, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:570 +0x12f github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x0, 0xc0048dd950) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:636 +0xa4 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0048dd920, 0xc002537320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc002537518, 0xc0048dd2f0, 0xc002e4eda0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc002537518, 0xc0048dd2f0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc002537518, 0xc0048dd2f0, 0xc0048dd2f0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1153 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1ba6512f20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002aa6620, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002aa6610, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004449400, 0x4e5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00529f490, 0x6b, 0xc004449400, 0x4e5, 0xc004449400, 0x4e5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00529f490, 0x6b, 0xc004449400, 0x4e5, 0xaa0378, 0x1, 0xc004449400, 0x4e5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e83c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1154 [semacquire]: strings.Replace(0xc006361500, 0x975, 0xaa03a3, 0x1, 0xaa0378, 0x1, 0x16, 0xc006361500, 0x975) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00599d518, 0xc00627d7a0, 0xc004576fc0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:318 +0x708 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1155 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c897d0af0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000f2c0f0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000f2c0e0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001a5b800, 0x3bb, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010d4460, 0x95, 0xc001a5b800, 0x3bb, 0xc001a5b800, 0x3bb, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010d4460, 0x95, 0xc001a5b800, 0x3bb, 0xaa0378, 0x1, 0xc001a5b800, 0x3bb, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8540, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1156 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7b620, 0xc000ee2990, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1215 +0x43 golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc000ee2990, 0x0, 0x0, 0x0, 0x0, 0xb6bf7f, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00288cb40, 0x0, 0x0, 0x0, 0xc80, 0xc0039a0c80, 0xc0a, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc0039a0c80, 0xc0a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xd75797ca00000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0059a3518, 0xc000d81a00, 0xc006b6a740) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1157 [semacquire]: regexp.compile(0xaba6cc, 0xe, 0xd4, 0x10, 0xa2acc0, 0x50) /usr/local/go/src/regexp/regexp.go:186 +0x152 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003739300, 0x0, 0xaba6c6, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003739300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003739300, 0x0, 0x0, 0x0, 0xb856e0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003739300, 0x75a856, 0x0, 0xc002fd5960, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003739300, 0x34, 0xc003739350, 0x42cc84, 0xc0068449c0, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xaba6c1, 0x1a, 0x1, 0xc003739368, 0xc003739380, 0x42d308, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaba6c1, 0x1a, 0x1, 0xb856e0, 0xc00042db60) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0014c4780, 0xaba6c1, 0x1a, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc003739518, 0xc0001d4220, 0xaba6c1, 0x1a, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:134 +0x401 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e86c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1160 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectScript(0xc0010a2900, 0x46d, 0x471) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:287 +0x47c _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0010a2900, 0x46d, 0x0, 0x0, 0x46d, 0xc0010a2900, 0x46d) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:58 +0x39 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0010a2900, 0x46d, 0x46d, 0x480) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011407e0, 0x55, 0xc0010a2900, 0x46d, 0xc0010a2900, 0x46d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011407e0, 0x55, 0xc0010a2900, 0x46d, 0xaa0378, 0x1, 0xc0010a2900, 0x46d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1161 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0066b6c80, 0xc0058c92c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0058c93c0, 0xaa04f9, 0x2, 0xc001e06000, 0x715, 0x1, 0xe0, 0xc004577b80) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc001e06000, 0x715, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0058c9518, 0xc002807d00, 0x6f, 0xc000eb9ea0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e89c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1162 [runnable]: github.com/PuerkitoBio/goquery.newSingleSelection(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:113 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0063adc20, 0xc0040e7408, 0xc0063ad890) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0xb5 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc0040e7518, 0xc0063ad890, 0xc0063ad890) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:720 +0x88 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1163 [semacquire]: strings.Replace(0xc004fc9000, 0xe30, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x1, 0xc001dbebd0, 0x0) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0039f78f8, 0xc004fc9000, 0xe30, 0x2000000438, 0x43d00000410, 0x44000000434) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8b40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1164 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/jaytaylor/html2text.FromHTMLNode(0xc000b6a930, 0x0, 0x0, 0x0, 0x0, 0xc000b6a930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:81 +0x10d github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0014c5350, 0x0, 0x0, 0x0, 0x1b00, 0xc003f53100, 0x1acd, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc003f53100, 0x1acd, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc002ec0360) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0059af518, 0xc0001d42e0, 0xc0001d4c80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8c00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1165 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88d40ff0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002987c80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002987c60, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc005de3900, 0x1115, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3e40c, 0x6d, 0xc005de3900, 0x1115, 0xc005de3900, 0x1115, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3e40c, 0x6d, 0xc005de3900, 0x1115, 0xaa0378, 0x1, 0xc005de3900, 0x1115, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8cc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1166 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9029fda0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00147cf60, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00147cf40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc005671000, 0x7dd, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010d4b40, 0x99, 0xc005671000, 0x7dd, 0xc005671000, 0x7dd, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010d4b40, 0x99, 0xc005671000, 0x7dd, 0xaa0378, 0x1, 0xc005671000, 0x7dd, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1167 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc000bd6000, 0x5b8, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:55 +0x1cd _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc000bd6000, 0x5b8, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc000bd6000, 0x5b8, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc000bd6000, 0x5b8, 0x0, 0x0, 0x5b8, 0xc000bd6000, 0x5b8) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc000bd6000, 0x5b8, 0x5b8, 0x700) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002137b00, 0x7b, 0xc000bd6000, 0x5b8, 0xc000bd6000, 0x5b8, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002137b00, 0x7b, 0xc000bd6000, 0x5b8, 0xaa0378, 0x1, 0xc000bd6000, 0x5b8, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1168 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b9d76d100, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00123fa10, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00123fa00, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00272e380, 0x33c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001b4ab60, 0x61, 0xc00272e380, 0x33c, 0xc00272e380, 0x33c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001b4ab60, 0x61, 0xc00272e380, 0x33c, 0xaa0378, 0x1, 0xc00272e380, 0x33c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1169 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88260810, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00447ff00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00447fef0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0029df000, 0xe6d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c72a20, 0x8d, 0xc0029df000, 0xe6d, 0xc0029df000, 0xe6d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c72a20, 0x8d, 0xc0029df000, 0xe6d, 0xaa0378, 0x1, 0xc0029df000, 0xe6d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e8fc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1170 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc000fd9c00, 0xaa2, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc000fd9c00, 0xaa2, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc000fd9c00, 0xaa2, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc000fd9c00, 0xaa2, 0x0, 0x0, 0xaa2, 0xc000fd9c00, 0xaa2) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc000fd9c00, 0xaa2, 0xaa2, 0xc00) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004150240, 0x8f, 0xc000fd9c00, 0xaa2, 0xc000fd9c00, 0xaa2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004150240, 0x8f, 0xc000fd9c00, 0xaa2, 0xaa0378, 0x1, 0xc000fd9c00, 0xaa2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e9080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1172 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc001943450, 0xc000d6f520, 0xc7) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc001943450, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc001943450) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc001943450, 0xc003220070, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0000bf520, 0x0, 0x0, 0x0, 0xc003735200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0000bf520, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0037358f8, 0xc00560f900, 0x1100, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e9200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1173 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88a77fd0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001b5dfa0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001b5df80, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0025b3200, 0x5ca, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004151c20, 0x87, 0xc0025b3200, 0x5ca, 0xc0025b3200, 0x5ca, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004151c20, 0x87, 0xc0025b3200, 0x5ca, 0xaa0378, 0x1, 0xc0025b3200, 0x5ca, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e92c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1174 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88a252a0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00041d810, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00041d7c0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001331000, 0x726, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001f3e600, 0x7e, 0xc001331000, 0x726, 0xc001331000, 0x726, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001f3e600, 0x7e, 0xc001331000, 0x726, 0xaa0378, 0x1, 0xc001331000, 0x726, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e9380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1175 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bbc83b980, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001ee4290, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001ee4280, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0019a5400, 0x3a0, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00036d420, 0x66, 0xc0019a5400, 0x3a0, 0xc0019a5400, 0x3a0, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00036d420, 0x66, 0xc0019a5400, 0x3a0, 0xaa0378, 0x1, 0xc0019a5400, 0x3a0, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033e9440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1178 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Join(0xc004ade7b0, 0x3, 0x3, 0xaa0378, 0x1, 0x0, 0xc006b8d080) /usr/local/go/src/strings/strings.go:438 +0x4c8 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc004125518, 0xc002c4c3a0, 0xc002c4cf60) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:330 +0x9c5 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584d20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1179 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc005b46c00, 0x2f2, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc005b46c00, 0x2f2, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc005b46c00, 0x2f2, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc005b46c00, 0x2f2, 0x0, 0x0, 0x2f2, 0xc005b46c00, 0x2f2) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc005b46c00, 0x2f2, 0x2f2, 0x300) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0010074a0, 0xa0, 0xc005b46c00, 0x2f2, 0xc005b46c00, 0x2f2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0010074a0, 0xa0, 0xc005b46c00, 0x2f2, 0xaa0378, 0x1, 0xc005b46c00, 0x2f2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003584ea0, 0x58) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1180 [semacquire]: strings.genSplit(0xc005bb7b00, 0x8be, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0xfa, 0xfa) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0057bf3c0, 0xaa0569, 0x2, 0xc0036f9200, 0x8be, 0x1, 0xfa, 0xc00230da60) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc0036f9200, 0x8be, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0057bf518, 0xc0011091e0, 0x90, 0xc0014f0cf0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1181 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88d1dbf0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001117790, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001117780, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc002a81b00, 0x8ab, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0034ea8c0, 0x86, 0xc002a81b00, 0x8ab, 0xc002a81b00, 0x8ab, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0034ea8c0, 0x86, 0xc002a81b00, 0x8ab, 0xaa0378, 0x1, 0xc002a81b00, 0x8ab, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035851a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1182 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc00437af70, 0x1189d00, 0x1) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc00437af70, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc00437af70) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc00437af70, 0xc001732070, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004584020, 0x0, 0x0, 0x0, 0xc0039df200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004584020, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0039df8f8, 0xc005443000, 0x4676, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1183 [semacquire]: regexp.makeOnePass(0xc006844a80, 0xc006844a80) /usr/local/go/src/regexp/onepass.go:444 +0x310 regexp.compileOnePass(0xc00647bd70, 0xc00647bd70) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc006982ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc006982ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc005f62d00) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc006982ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc006982ff8, 0x1, 0xc00647ed40, 0xc002b93180, 0x2804b42a49b8) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc006982ff8, 0x4, 0xa5, 0xc00666df01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc00666d000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc005e3a340, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00647bd40, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0001958f8, 0xc0001e4000, 0xf58, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035854a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1184 [semacquire]: strings.genSplit(0xc005efd500, 0x13bb, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc006028000, 0x301, 0x301) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00479b3c0, 0xaa04d9, 0x2, 0xc005746a00, 0x13bb, 0x1, 0x301, 0xc0030bc7c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc005746a00, 0x13bb, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00479b518, 0xc001af5c80, 0x52, 0xc0003818c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035856e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1185 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc003e8d500, 0x963, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc003e8d500, 0x963, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc003e8d500, 0x963, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc003e8d500, 0x963, 0x0, 0x0, 0x963, 0xc003e8d500, 0x963) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc003e8d500, 0x963, 0x963, 0xc00) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc005562800, 0x4c, 0xc003e8d500, 0x963, 0xc003e8d500, 0x963, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc005562800, 0x4c, 0xc003e8d500, 0x963, 0xaa0378, 0x1, 0xc003e8d500, 0x963, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1186 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc000770ea0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc000770f70, 0xc0054ace70, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc005c5e9e0, 0x0, 0x0, 0x0, 0xc001bc5200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc005c5e9e0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc001bc58f8, 0xc0056e8000, 0xe35, 0xc000a2a530, 0x443c10, 0x127a4e8) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035859e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1188 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc0043b6f00, 0xb5, 0x2, 0xc0064d81d0, 0x0, 0xc0064d8270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc0043b6f00, 0xb5, 0xaa0378, 0x1, 0xc002d9ed80, 0x3) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0064d83d8, 0xc00637e770, 0xc000ca7290, 0xc0064d8308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0064d83d8, 0xc00637e700, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0064d90c0, 0xc00637e700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0064d90c0, 0xc00637e700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0064d90c0, 0xc00637e620, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0001930c0, 0xc00637e620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0001930c0, 0xc00637e620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0064d90c0, 0xc00637e540, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0001930c0, 0xc00637e540, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0001930c0, 0xc00637e540, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0064d90c0, 0xc0001bde30, 0x20300000000000, 0x7f1c8d970fff) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0001930c0, 0xc0001bde30, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0001930c0, 0xc0001bde30, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0064d90c0, 0xc0001bdd50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0001930c0, 0xc0001bdd50, 0x54b170, 0xc002794b60) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0001bdd50, 0x0, 0x0, 0x0, 0x0, 0xc0001bdd50, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00476bec0, 0x0, 0x0, 0x0, 0x2000, 0xc000e76000, 0x1e0f, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc000e76000, 0x1e0f, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc0015ded20) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc000193518, 0xc002d8fa00, 0xc002e4f500) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585ce0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1189 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1bf06ff850, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00186a9b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00186a9a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000822000, 0x1e7d, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0030caed6, 0x8e, 0xc000822000, 0x1e7d, 0xc000822000, 0x1e7d, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0030caed6, 0x8e, 0xc000822000, 0x1e7d, 0xaa0378, 0x1, 0xc000822000, 0x1e7d, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585e60, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1226 [semacquire]: github.com/fatih/set.(*Set).Add(0xc004c4c960, 0xc005f33220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005f33588, 0xaa058b, 0x2, 0xc003329b00, 0xc99, 0x0, 0xc004464000, 0x7f1cb42a3560) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc005f33518, 0xc0017f76a0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303ac00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1227 [semacquire]: strings.Replace(0xc00421a000, 0x1a28, 0xaa582d, 0x5, 0xaa7dce, 0x6, 0xc, 0xc00421a000, 0x1a28) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:178 +0x153 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0054038f8, 0xc004231500, 0x1a24, 0x42ca96, 0xc0002ff1a0, 0x60) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303af00, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1228 [semacquire]: bytes.makeSlice(0x84d, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0037ad388, 0x359, 0x83) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0037ad388, 0xc0020a4380, 0x359, 0x5165d7, 0xc004c553a5, 0xc00021b458) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00407a310) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc00407a2a0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0035e5880) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0035e57a0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0035e50a0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0030e9740, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0037ad518, 0xc000e0e980, 0x57, 0xc00033e7e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b200, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1229 [semacquire]: strings.Replace(0xc00418ea00, 0x131e, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x1, 0xc00418ea00, 0x131e) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0054078f8, 0xc00316a000, 0x131b, 0x42ca96, 0xc0002ff1a0, 0x60) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b5c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1230 [semacquire]: github.com/fatih/set.(*Set).Add(0xc001562fc0, 0xc006c411b0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc006c41588, 0xaa058b, 0x2, 0xc0064d5a00, 0x18c, 0x0, 0xc006c413d8, 0xc004c4d028) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc006c41518, 0xc002791d70, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:528 +0xfd github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc006c41518, 0xc0017f7800, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303b8c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1231 [semacquire]: bytes.makeSlice(0x161, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00513ee40, 0x59, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00513ee40, 0xc00033ff20, 0x59, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc00513ee40, 0xc00033ff20, 0x59, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc00513ee40, 0xc003422230, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc00513ee40, 0xc003422070, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00513ee40, 0xc003422000, 0xb84d20, 0xc00513ee40) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc00513ee40, 0xc003422000, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc004025dd0, 0x227894221, 0x1251a20, 0xc0017f7c00, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bc80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1232 [semacquire]: bytes.makeSlice(0x11ec, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00513ef60, 0x88, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00513ef60, 0xc00533e360, 0x88, 0x6, 0xffffffffffffffff, 0xaa042b) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc00513ef60, 0xc00533e360, 0x88, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc00513ef60, 0xc0035aaaf0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:169 +0x3a3 golang.org/x/net/html.render1(0xb84d20, 0xc00513ef60, 0xc0035aaa10, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00513ef60, 0xc0035aa2a0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00513ef60, 0xc0035aa1c0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00513ef60, 0xc00331ff10, 0xb84d20, 0xc00513ef60) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc00513ef60, 0xc00331ff10, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc004025ec0, 0x2278ff05a, 0x1251a20, 0xc0017f7ca0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00303bf80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1233 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc002847100, 0x676, 0x5165d7, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc002847100, 0x676, 0xc002e49a5c, 0x4) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0024e93c0, 0xaa0503, 0x2, 0xc002847100, 0x676, 0xc002847100, 0xc0024e93b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc002847100, 0x676, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0024e9518, 0xc0017f7ee0, 0x70, 0xc00487c850) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1234 [semacquire]: bytes.makeSlice(0x2c3, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc005347388, 0xe9, 0x1) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc005347388, 0xc0015eb770, 0xe9, 0x5165d7, 0xc004878497, 0xc0024422c6) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003221a40) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0032219d0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0032213b0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0032212d0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003220bd0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc00513f410, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005347518, 0xc002b02160, 0x6d, 0xc00487c9a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380420, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1235 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inBodyIM(0xc001942410, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:901 +0x820 golang.org/x/net/html.(*parser).parseCurrentToken(0xc001942410) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc001942410, 0xc0011c4070, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc000e0ed60, 0x0, 0x0, 0x0, 0xc005349200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc000e0ed60, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0053498f8, 0xc0034c8800, 0x37c3, 0x42ca96, 0xc0002ff1a0, 0x60) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003804e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1236 [semacquire]: regexp.onePassCopy(0xc00513f6b0, 0xc00513f6b0) /usr/local/go/src/regexp/onepass.go:225 +0x5d regexp.compileOnePass(0xc00513f6b0, 0xc00513f6b0) /usr/local/go/src/regexp/onepass.go:497 +0x11b regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc005342ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc005342ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc0027f9ac4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc005342ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc005342ff8, 0x1, 0xc005236e60, 0xc01b2d02001, 0x2804d1bed0b2) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc005342ff8, 0x4, 0xa26, 0xc003880501, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc003880000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc001942680, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00513f680, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0053438f8, 0xc0000f7500, 0x140d, 0x42ca96, 0xc0002ff1a0, 0x60) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003805a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1237 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc00523ca80, 0x950, 0xc005345218, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc00523ca80, 0x950, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0053453c0, 0xaa0599, 0x2, 0xc00523ca80, 0x950, 0x12, 0xfc, 0xc00065fb20) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc00523ca80, 0x950, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005345518, 0xc000e0ee20, 0x9a, 0xc001316aa0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380780, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1238 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc005b11500, 0x92b, 0x5165d7, 0xc00275f880) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc005b11500, 0x92b, 0xc0024426e4, 0x4) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00534f3c0, 0xaa04d9, 0x2, 0xc005b11500, 0x92b, 0xc005b11500, 0xc00534f3b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a420, 0xc005b11500, 0x92b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00534f518, 0xc000e0ef20, 0xa5, 0xc001f582c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1239 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88e843d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0010c2490, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0010c2480, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004477400, 0xb6a, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001317905, 0x95, 0xc004477400, 0xb6a, 0xc004477400, 0xb6a, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001317905, 0x95, 0xc004477400, 0xb6a, 0xaa0378, 0x1, 0xc004477400, 0xb6a, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380900, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1240 [semacquire]: strings.makeCutsetFunc(0xaa4e4b, 0x5, 0x4) /usr/local/go/src/strings/strings.go:830 +0x4a strings.TrimLeft(0x1189cea, 0x1, 0xaa4e4b, 0x5, 0x0, 0x4341f3) /usr/local/go/src/strings/strings.go:855 +0x61 golang.org/x/net/html.afterBodyIM(0xc001943040, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:1932 +0x65 golang.org/x/net/html.(*parser).parseCurrentToken(0xc001943040) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc001943040, 0xc003277490, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc000e0f120, 0x0, 0x0, 0x0, 0xc00534b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc000e0f120, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00534b8f8, 0xc005353b00, 0x1a84, 0x42ca96, 0xc0002ff1a0, 0x60) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380a20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1241 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8833aed0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001d6a190, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001d6a170, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0027a4f00, 0x2163, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001646d80, 0x7f, 0xc0027a4f00, 0x2163, 0xc0027a4f00, 0x2163, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001646d80, 0x7f, 0xc0027a4f00, 0x2163, 0xaa0378, 0x1, 0xc0027a4f00, 0x2163, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380b40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1242 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88f1c0d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002db1cf0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002db1ce0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001500000, 0xa81, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001647d00, 0x7e, 0xc001500000, 0xa81, 0xc001500000, 0xa81, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001647d00, 0x7e, 0xc001500000, 0xa81, 0xaa0378, 0x1, 0xc001500000, 0xa81, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380c00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1243 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380cc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1244 [semacquire]: bytes.makeSlice(0x1511, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00679fbf0, 0x8b, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00679fbf0, 0xc00275dd5b, 0x8b, 0x6, 0xffffffffffffffff, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc00679fbf0, 0xc00275dd5b, 0x1e5, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc00679fbf0, 0xc0061853b0, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc00679fbf0, 0xc006185340, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00679fbf0, 0xc006184930, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00679fbf0, 0xc006184850, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc00679fbf0, 0xc006184150, 0xb84d20, 0xc00679fbf0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc00679fbf0, 0xc006184150, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc004ee9e30, 0x50d2a1, 0xc000c54ea0, 0x26, 0xaada21) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005def518, 0xc0046499c0, 0xc0067d01e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1245 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1246 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000380f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1247 [semacquire]: github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:109 +0x42 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381020, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1248 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1249 [semacquire]: strings.Replace(0xc0010f4380, 0xcad, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x1, 0xc0010f4380, 0xcad) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0014b98f8, 0xc0010f4380, 0xcad, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381200, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1250 [runnable]: strings.Index(0xc000b14000, 0x30ed, 0xaa0378, 0x1, 0x427) /usr/local/go/src/strings/strings.go:1028 +0x67a strings.genSplit(0xc000b14000, 0x30ed, 0xaa0378, 0x1, 0x0, 0x427, 0xc00642e800, 0x428, 0x428) /usr/local/go/src/strings/strings.go:260 +0xf3 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005dfb3c0, 0xaa058b, 0x2, 0xc005bc0a00, 0x30ed, 0x19, 0x428, 0xc00042ce00) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc005bc0a00, 0x30ed, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005dfb518, 0xc00042c960, 0x95, 0xc0010d46e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003812c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1251 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1252 [semacquire]: strings.Replace(0xc00557b000, 0xeba, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x2, 0x81d1bed0bfd020b0, 0xb4d0b0d080d182d1) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0054998f8, 0xc00557b000, 0xeba, 0x3, 0xc0045cd230, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003814a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1253 [semacquire]: strings.Replace(0xc004fcaa80, 0x96a, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x3, 0x0, 0x0) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00549b8f8, 0xc004fcaa80, 0x96a, 0xc0045cb200, 0x3, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003815c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1254 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1255 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003817a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1256 [semacquire]: strings.Replace(0xc004c80000, 0x335f, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x9, 0xc004c80000, 0x335f) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005df18f8, 0xc0040ab500, 0x333c, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1257 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1258 [semacquire]: bytes.makeSlice(0x17d0, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc004355a40, 0x17d0, 0x5b) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).Grow(...) /usr/local/go/src/bytes/buffer.go:161 io/ioutil.readAll(0xb7c120, 0xc000419538, 0x17d0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/io/ioutil/ioutil.go:34 +0xa3 io/ioutil.ReadFile(0xc0003819e0, 0x5b, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/io/ioutil/ioutil.go:73 +0xed _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0003819e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:286 +0x8a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1259 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc006298fc0, 0x50d2a1, 0xc00632c640, 0x40, 0xaada21) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005df7518, 0xc004576a00, 0xc00367fec0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:285 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381b00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1260 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381c80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1261 [semacquire]: regexp/syntax.Parse(0xac0e09, 0x13, 0xd4, 0x0, 0x0, 0xac0dfd) /usr/local/go/src/regexp/syntax/parse.go:712 +0x54 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:170 +0x5a regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc0057f8ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc0057f8ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc001fff284) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc0057f8ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc0057f8ff8, 0x1, 0xc004ee4a90, 0xc0100765500, 0x2804b42a2108) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc0057f8ff8, 0x4, 0x9f5, 0xc00570b601, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc00570b000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc00357dee0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc004ee9230, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0057f98f8, 0xc0047bbc00, 0x60d, 0xd0b1d020b9d0b8d0, 0xd1bed0b3d0b0d0bb, 0xd080d1bed0b2d082) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381e00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1262 [semacquire]: strings.Replace(0xc0056b0a80, 0x946, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x5, 0xc0056b0a80, 0x946) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0054978f8, 0xc0056b0a80, 0x946, 0x80d1bed0b2d082d1, 0xbbd0b5d082d1b8d0, 0xb5d08bd1bdd08cd1) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000381f80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1263 [semacquire]: strings.Replace(0xc005708a00, 0x139d, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x2, 0x0, 0x0) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0057f58f8, 0xc005708a00, 0x139d, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1264 [semacquire]: github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:109 +0x42 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037ede0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1265 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f3e0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1266 [semacquire]: strings.genSplit(0xc006aaf200, 0x863, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc0067c4600, 0x10c, 0x10c) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0060853c0, 0xaa04f9, 0x2, 0xc006835b00, 0x863, 0x1, 0x10c, 0xc00042cfa0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc006835b00, 0x863, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc006085518, 0xc00187e580, 0x44, 0xc00502acd0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f860, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1267 [semacquire]: os.(*File).Stat(0xc0004197e0, 0x5a, 0x0, 0x0, 0xc0004197e0) /usr/local/go/src/os/stat_unix.go:19 +0x3f io/ioutil.ReadFile(0xc003072000, 0x5a, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/io/ioutil/ioutil.go:62 +0xb3 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072000, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:286 +0x8a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1268 [semacquire]: strings.Replace(0xc005817000, 0xfb8, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x3, 0x0, 0x0) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0059558f8, 0xc005817000, 0xfb8, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1269 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc002abc340, 0xc004656820, 0x12) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc002abc340, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc002abc340) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc002abc340, 0xc005579260, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0046493e0, 0x0, 0x0, 0x0, 0xc00534d200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0046493e0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00534d8f8, 0xc00334f000, 0x1773, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030726c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1270 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc004bdcc40, 0x62, 0x2, 0xc006c2a1d0, 0x0, 0xc006c2a270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc004bdcc40, 0x62, 0xaa0378, 0x1, 0xc004089a80, 0x5) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c2a3d8, 0xc005e7e000, 0xc003122790, 0xc006c2a308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2a3d8, 0xc005331f80, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006c2b0c0, 0xc005331f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c2b0c0, 0xc005331f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2b0c0, 0xc005331ea0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005dfd0c0, 0xc005331ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dfd0c0, 0xc005331ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2b0c0, 0xc005331dc0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005dfd0c0, 0xc005331dc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dfd0c0, 0xc005331dc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2b0c0, 0xc0053312d0, 0xc005dfcd40, 0x46a81e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005dfd0c0, 0xc0053312d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dfd0c0, 0xc0053312d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2b0c0, 0xc0053311f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005dfd0c0, 0xc0053311f0, 0x54b170, 0xc006829110) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0053311f0, 0x0, 0x0, 0x0, 0x0, 0xc0053311f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00038bc80, 0x0, 0x0, 0x0, 0x1300, 0xc000c81300, 0x10b1, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc000c81300, 0x10b1, 0x0, 0x0, 0x0, 0x0, 0xad060b, 0x3, 0xc006a13c80) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005dfd518, 0xc002e4fd60, 0xc00187e6c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030729c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1271 [semacquire]: strings.Replace(0xc000d90380, 0xcda, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x4, 0xc000d90380, 0xcda) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0057f38f8, 0xc000d8e880, 0xcd7, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1272 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc00065f120, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1215 +0x43 golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00065f120, 0x0, 0x0, 0x0, 0xc00594f200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00065f120, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00594f8f8, 0xc005a02600, 0x127f, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1273 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0012c0400, 0x3c7, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0012c0400, 0x3c7, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0012c0400, 0x3c7, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0012c0400, 0x3c7, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0012c0400, 0x3c7, 0x0, 0x0, 0x3c7, 0xc0012c0400, 0x3c7) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0012c0400, 0x3c7, 0x3c7, 0x400) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0044f7880, 0x75, 0xc0012c0400, 0x3c7, 0xc0012c0400, 0x3c7, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0044f7880, 0x75, 0xc0012c0400, 0x3c7, 0xaa0378, 0x1, 0xc0012c0400, 0x3c7, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1274 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073860, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1275 [semacquire]: strings.Replace(0xc005267000, 0xf52, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x2, 0xd1b0d080d1b8d0b1, 0xd0202c8cd181d18f) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00535f8f8, 0xc005267000, 0xf52, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073920, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1276 [semacquire]: strings.Replace(0xc004ac6800, 0x1675, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x1, 0xc004ac6800, 0x1675) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0059518f8, 0xc004ac3800, 0x1673, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073aa0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1277 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073b60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1278 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0020ffd40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc0020ffe10, 0xc0052344d0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00065f0e0, 0x0, 0x0, 0x0, 0xc001a33200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00065f0e0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc001a338f8, 0xc002113900, 0x11e6, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073c20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1279 [semacquire]: strings.Replace(0xc00593cc00, 0x12b5, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x3, 0xc00593cc00, 0x12b5) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0059538f8, 0xc00593a600, 0x12b4, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073ce0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1280 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b946e05d0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001a10b30, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001a10b10, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc005ed2a80, 0x990, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004311a80, 0x77, 0xc005ed2a80, 0x990, 0xc005ed2a80, 0x990, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004311a80, 0x77, 0xc005ed2a80, 0x990, 0xaa0378, 0x1, 0xc005ed2a80, 0x990, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073da0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1281 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:301 +0x215 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1282 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc004649840, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1215 +0x43 golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004649840, 0x0, 0x0, 0x0, 0xc005aab200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004649840, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005aab8f8, 0xc005819800, 0xb18, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073f20, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1283 [semacquire]: strings.Replace(0xc002be9100, 0xcb4, 0xaa042f, 0x2, 0xaa0af0, 0x3, 0x1, 0x0, 0x0) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:175 +0x72 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005aad8f8, 0xc002be9100, 0xcb4, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0300, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1284 [semacquire]: bytes.makeSlice(0x514c, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc000a53a40, 0x514c, 0x5b) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).Grow(...) /usr/local/go/src/bytes/buffer.go:161 io/ioutil.readAll(0xb7c120, 0xc000419890, 0x514c, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/io/ioutil/ioutil.go:34 +0xa3 io/ioutil.ReadFile(0xc001df0a80, 0x5b, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/io/ioutil/ioutil.go:73 +0xed _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:286 +0x8a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1285 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88eb4420, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0010c2b80, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0010c2b70, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00333a700, 0x6fe, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00387ea10, 0x67, 0xc00333a700, 0x6fe, 0xc00333a700, 0x6fe, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00387ea10, 0x67, 0xc00333a700, 0x6fe, 0xaa0378, 0x1, 0xc00333a700, 0x6fe, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0c00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1286 [semacquire]: golang.org/x/net/html.(*parser).addText(0xc002abcb60, 0xc001fffcd0, 0x8) /home/develop/go/src/golang.org/x/net/html/parse.go:318 +0x128 golang.org/x/net/html.inBodyIM(0xc002abcb60, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:861 +0x2c3 golang.org/x/net/html.(*parser).parseCurrentToken(0xc002abcb60) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc002abcb60, 0xc005823180, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc004649860, 0x0, 0x0, 0x0, 0xc0041f3200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc004649860, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0041f38f8, 0xc002e69000, 0x1707, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df0d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1287 [semacquire]: strings.genSplit(0xc00589cc00, 0xb90, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc00293db20, 0xc0042d3360) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0042d33c0, 0xaa058b, 0x2, 0xc005083400, 0xb90, 0xc005083400, 0xc0042d33b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc005083400, 0xb90, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0042d3518, 0xc0017533c0, 0x48, 0xc00106e780) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1288 [semacquire]: strings.makeCutsetFunc(0xaa4e4b, 0x5, 0xc005c5f13e) /usr/local/go/src/strings/strings.go:831 +0xad strings.TrimLeft(0x1189cea, 0x1, 0xaa4e4b, 0x5, 0x0, 0x4f4400c005f25000) /usr/local/go/src/strings/strings.go:855 +0x61 golang.org/x/net/html.beforeHTMLIM(0xc000109e10, 0x7f1c00000000) /home/develop/go/src/golang.org/x/net/html/parse.go:548 +0x194 golang.org/x/net/html.(*parser).parseCurrentToken(0xc000109e10) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc000109e10, 0xc005c537a0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc005c5f100, 0x0, 0x0, 0x0, 0xc000cd7200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc005c5f100, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc000cd78f8, 0xc0017ac000, 0xe0b, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1c80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1289 [semacquire]: github.com/andybalholm/cascadia.Selector.matchAllInto(0xc0000be240, 0xc005c538f0, 0x0, 0x0, 0x0, 0xc000329680, 0x5, 0xc00346b150) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:129 +0x11e github.com/andybalholm/cascadia.Selector.MatchAll(0xc0000be240, 0xc005c538f0, 0x466665, 0xc0005a1f80, 0x5) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:124 +0x46 github.com/PuerkitoBio/goquery.findWithMatcher.func1(0x0, 0xc005c53810, 0x0, 0xc0013d1d88, 0x7f1c8c61f558) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:547 +0x8e github.com/PuerkitoBio/goquery.mapNodes(0xc0005a2018, 0x1, 0x1, 0xc00346b330, 0x1, 0x0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:693 +0xf6 github.com/PuerkitoBio/goquery.findWithMatcher(0xc0005a2018, 0x1, 0x1, 0xb856e0, 0xc0000be240, 0xae62c8, 0xc002b40880, 0x7f) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:543 +0x81 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc004b88fc0, 0xaa3da6, 0x4, 0xffffffffffffffff) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x85 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00346b518, 0xc005c5f160, 0x7f, 0xc002b40880) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:120 +0x4a github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1e00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1290 [semacquire]: strings.genSplit(0xc006b39000, 0xec9, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x1000, 0x0, 0x7f1c8c57b5b8) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0051e73c0, 0xaa04fd, 0x2, 0xc006b38000, 0xec9, 0xc006b38000, 0xc0051e73b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc006b38000, 0xec9, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0051e7518, 0xc005b54b20, 0x54, 0xc00303a480) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001df1f80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1291 [semacquire]: github.com/fatih/set.(*Set).Add(0xc005b54fe0, 0xc0039f92c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0039f93c0, 0xaa0569, 0x2, 0xc005d44c00, 0xafe, 0x1, 0x11d, 0xc005b54fc0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc005d44c00, 0xafe, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0039f9518, 0xc005b54bc0, 0x87, 0xc0040e2c60) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1292 [semacquire]: strings.Replace(0xc00372c000, 0xe8e, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x5, 0xc00372c000, 0xe8e) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005df98f8, 0xc001f1e000, 0xe8c, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0009163c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1293 [semacquire]: bytes.makeSlice(0xd12, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc00134f138, 0x414, 0x7) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00134f138, 0xc003425200, 0x414, 0x5165d7, 0xc0038e0333, 0xc0011c24a0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0041a13b0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0041a1340) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003947b20) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc001cd4e70, 0xaa03ab, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc00134f518, 0xc001cd4e70, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:566 +0x95 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00134f518, 0xc005c5f400, 0x63) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:386 +0x1ae github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0009165a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1294 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc005f1aea0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005999518, 0xc005b55040, 0xa0, 0xc002a8c1e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0009167e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1295 [semacquire]: strings.Replace(0xc002c5aa00, 0x133f, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x1, 0xc002c5aa00, 0x133f) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0060838f8, 0xc0032d5500, 0x133b, 0x42ca96, 0xc0002fea20, 0x60) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916b40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1296 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc00133dba0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc00133dc70, 0xc00259fb20, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0000bef20, 0x0, 0x0, 0x0, 0xc0041ef200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0000bef20, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0041ef8f8, 0xc00171c880, 0xd4b, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916cc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1297 [semacquire]: strings.Replace(0xc002460600, 0x1251, 0xaa5837, 0x5, 0xaa8176, 0x6, 0x1, 0xc002460600, 0x1251) /usr/local/go/src/strings/strings.go:959 +0x466 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:177 +0x108 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0060878f8, 0xc002460600, 0x1251, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000916ea0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1298 [semacquire]: bytes.makeSlice(0x414, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0047650c0, 0x2, 0x2) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0047650c0, 0xc004764104, 0x2, 0x2, 0xec, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc0047650c0, 0xc002aa5ba0, 0x1a0, 0x1a0, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:440 +0xf7 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0047650c0, 0xc0020a8fc0, 0xc0047641b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047650c0, 0xc0053c90a0, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0047650c0, 0xc0053c90a0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0047650c0, 0xc0053c90a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0047650c0, 0xc0053c90a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047650c0, 0xc0053c8bd0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0016350c0, 0xc0053c8bd0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0016350c0, 0xc0053c8bd0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047650c0, 0xc0053c8af0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0016350c0, 0xc0053c8af0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0016350c0, 0xc0053c8af0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047650c0, 0xc0053c83f0, 0xc001634d40, 0x46a81e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0016350c0, 0xc0053c83f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0016350c0, 0xc0053c83f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047650c0, 0xc0055853b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0016350c0, 0xc0055853b0, 0x54b170, 0xc000608a90) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0055853b0, 0x0, 0x0, 0x0, 0x0, 0xc0055853b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001cd5b90, 0x0, 0x0, 0x0, 0xc00, 0xc004d99800, 0xb2c, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc004d99800, 0xb2c, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc00106f630) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc001635518, 0xc0015d0280, 0xc0015d0d20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0009170e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1299 [semacquire]: strings.genSplit(0xc004989400, 0x4cb, 0xaa03a3, 0x1, 0x0, 0xffffffffffffffff, 0x4cb, 0xc0014232e8, 0x7d9110) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc001423388, 0xc00042d040, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:123 +0xc1 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc001423388, 0xc0001f4c60, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0xc001423301, 0xc0005a2b58) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc001423518, 0xc0001f4c60, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1300 [semacquire]: regexp.newQueue(...) /usr/local/go/src/regexp/onepass.go:141 regexp.makeOnePass(0xc0017632c0, 0xc0017632c0) /usr/local/go/src/regexp/onepass.go:306 +0x93 regexp.compileOnePass(0xc005f1b1d0, 0xc005f1b1d0) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc005d4cff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc005d4cff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc0039d7244) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc005d4cff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc005d4cff8, 0x1, 0xc005d2b900, 0xc0101c04a80, 0x2804b42a5080) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc005d4cff8, 0x4, 0x4d1, 0xc004eaab01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc004eaa000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc0011ff450, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc005f1b1a0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0042cf8f8, 0xc00511b000, 0xb2d, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0009173e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1301 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0011ff520, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc0011ff5f0, 0xc005a3c7e0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc005b55420, 0x0, 0x0, 0x0, 0xc0042cf200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc005b55420, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0042cf8f8, 0xc00175c000, 0x3e4b, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1302 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fb5e0, 0x0, 0x0, 0x0, 0xc0014ea600, 0x5c1, 0x2, 0xc00638fa58, 0xaa6444, 0x5, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0001fb5e0, 0xc0014ea600, 0x5c1, 0xaa0378, 0x1, 0xc00288f800, 0x5c1) /usr/local/go/src/regexp/regexp.go:557 +0x10a _/home/ec2-user/environment/cluster2/cluster2/base.Sanitize(0xaa6444, 0x5, 0xc0014ea600, 0x5c1, 0xaa0378, 0x1, 0xc0014ea600, 0x5c1) /home/ec2-user/environment/cluster2/cluster2/base/sanitizer.go:44 +0xc9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0009177a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:305 +0x37c created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1303 [semacquire]: bytes.makeSlice(0x15d0, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0017633e0, 0x8, 0xc005400dd8) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0017633e0, 0xc001ddb568, 0x8, 0x6, 0xffffffffffffffff, 0xad0190) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0017633e0, 0xc001ddb568, 0x8, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0017633e0, 0xc00233e9a0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc0017633e0, 0xc003128930, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0017633e0, 0xc003128850, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0017633e0, 0xc003128150, 0xb84d20, 0xc0017633e0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0017633e0, 0xc003128150, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc00106d7a0, 0x2272dce41, 0x1251a20, 0xc004e228c0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917aa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1304 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inHeadIM(0xc0011ff790, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:640 +0x2e8 golang.org/x/net/html.(*parser).parseCurrentToken(0xc0011ff790) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc0011ff790, 0xc0052ab180, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc005b55460, 0x0, 0x0, 0x0, 0xc0042d1200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc005b55460, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0042d18f8, 0xc00341d600, 0xcff, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000917da0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1305 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc002f67078, 0xc0029a7fc0, 0xc0029a7f80, 0xc0058ed701, 0xad5e33, 0xc002f67088) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:824 +0x69 github.com/andybalholm/cascadia.ParseGroup(0xaa03ab, 0x1, 0xd50000c0029a7fc0, 0x3, 0xc002f67108, 0x42e6b5, 0xc002f67158) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xaa03ab, 0x1, 0xc00039a388, 0xc00038a570, 0xc002f67158) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc003701440, 0xaa03ab, 0x1, 0xc004e23b20) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc002f67518, 0xc003701440, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:562 +0x55 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc002f67518, 0xc004e22a60, 0x40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:386 +0x1ae github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035841e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1306 [semacquire]: regexp.makeOnePass(0xc005f1b6b0, 0xc005f1b6b0) /usr/local/go/src/regexp/onepass.go:309 +0x20e regexp.compileOnePass(0xc005f1b650, 0xc005f1b650) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc002eeaff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc002eeaff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc0039d7534) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc002eeaff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc002eeaff8, 0x1, 0xc005d2bac0, 0xc0101c04a80, 0x2804b42a5080) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc002eeaff8, 0x4, 0x47e, 0xc0058a2b01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc0058a2000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc0011ffa00, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc005f1b620, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc002eeb8f8, 0xc005cd2800, 0xb82, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035845a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1308 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc005f3b0c0, 0xc004153a40, 0x123, 0x123, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:430 +0x233 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005f3b0c0, 0xc000172460, 0xc005f3a1b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f3b0c0, 0xc0001722a0, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc005f3b0c0, 0xc0001722a0, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005f3b0c0, 0xc0001722a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005f3b0c0, 0xc0001722a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f3b0c0, 0xc003474380, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002eed0c0, 0xc003474380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002eed0c0, 0xc003474380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f3b0c0, 0xc0034742a0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002eed0c0, 0xc0034742a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002eed0c0, 0xc0034742a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f3b0c0, 0xc0014578f0, 0xc001c04a80, 0x7f1cb42a5080) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002eed0c0, 0xc0014578f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002eed0c0, 0xc0014578f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f3b0c0, 0xc001457810, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002eed0c0, 0xc001457810, 0x54b170, 0xc0011ffd40) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc001457810, 0x0, 0x0, 0x0, 0x0, 0xc001457810, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc000021290, 0x0, 0x0, 0x0, 0x1000, 0xc003888000, 0xdc8, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc003888000, 0xdc8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x61da8c9c00000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002eed518, 0xc005b55560, 0xc005b55da0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035850e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1309 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc005f4b0c0, 0xc00056ab40, 0xe5, 0x7, 0xc00056ab40) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:430 +0x233 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005f4b0c0, 0xc000cfcbd0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:176 +0xb28 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005f4b0c0, 0xc000cfcbd0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f4b0c0, 0xc000cfcaf0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0042cd0c0, 0xc000cfcaf0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042cd0c0, 0xc000cfcaf0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f4b0c0, 0xc000cfca10, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0042cd0c0, 0xc000cfca10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042cd0c0, 0xc000cfca10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f4b0c0, 0xc000cfc310, 0xc001c04a80, 0x7f1cb42a5080) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0042cd0c0, 0xc000cfc310, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042cd0c0, 0xc000cfc310, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005f4b0c0, 0xc000cfc230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0042cd0c0, 0xc000cfc230, 0x54b170, 0xc0011ffee0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc000cfc230, 0x0, 0x0, 0x0, 0x0, 0xc000cfc230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001ebde00, 0x0, 0x0, 0x0, 0xc00, 0xc001d79400, 0xb03, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc001d79400, 0xb03, 0x0, 0x0, 0x0, 0x0, 0xad060b, 0x3, 0xc0039d7de0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0042cd518, 0xc005b55e40, 0xc004c4c6a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035853e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1310 [semacquire]: strings.genSplit(0xc004187000, 0xe4d, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc002d74000, 0x142, 0x142) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0042cd3c0, 0xaa04f9, 0x2, 0xc0040fd000, 0xe4d, 0x1, 0x142, 0xc004c4cae0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a540, 0xc0040fd000, 0xe4d, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0042cd518, 0xc004c4c780, 0xb4, 0xc001d96cc0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0035857a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1311 [semacquire]: strings.genSplit(0xc0031e6c00, 0x5ba, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc004f6d000, 0xf6, 0xf6) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0042f53c0, 0xaa058b, 0x2, 0xc001e17200, 0x5ba, 0x1, 0xf6, 0xc002d8fe60) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a540, 0xc001e17200, 0x5ba, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0042f5518, 0xc002d8fa20, 0x9d, 0xc000d6dae0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585aa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1312 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0020d6bc0, 0xc0020952c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0020953c0, 0xaa0599, 0x2, 0xc0063f7000, 0xef0, 0x19, 0x160, 0xc0020d7b40) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0009fa030, 0xc0063f7000, 0xef0, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc002095518, 0xc006394980, 0x77, 0xc0059c6100) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585da0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1313 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c898f9f40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0018dbd70, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0018dbd60, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00332b600, 0xd2f, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00533ed80, 0x85, 0xc00332b600, 0xd2f, 0xc00332b600, 0xd2f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00533ed80, 0x85, 0xc00332b600, 0xd2f, 0xaa0378, 0x1, 0xc00332b600, 0xd2f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a1e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1315 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b6c587d90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0028e0090, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0028e0080, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc0029ef500, 0x68c, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00533f3b0, 0x8f, 0xc0029ef500, 0x68c, 0xc0029ef500, 0x68c, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00533f3b0, 0x8f, 0xc0029ef500, 0x68c, 0xaa0378, 0x1, 0xc0029ef500, 0x68c, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a4e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1316 [semacquire]: regexp.(*Regexp).replaceAll(0xc0001fb2c0, 0x0, 0x0, 0x0, 0xc004b55500, 0xa24, 0x2, 0xc0052a3218, 0xc004c76a21, 0x0, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0001fb2c0, 0xc004b55500, 0xa24, 0xaa04bf, 0x2, 0xc004b55500, 0xa24) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc0052a3388, 0xc00367e2c0, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:136 +0x201 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc0052a3388, 0xc0000af230, 0xaa058b, 0x2, 0xc0052a3518, 0x8, 0x9ecc80, 0xc0052a3301, 0xc0009e24c8) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc0052a3518, 0xc0000af230, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a660, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1317 [semacquire]: github.com/PuerkitoBio/goquery.pushStack(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/utilities.go:159 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001f4f710, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0xb3 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc002559518, 0xc0039247a0, 0xabc101, 0x1d, 0x79, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a7e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1319 [semacquire]: strings.genSplit(0xc0044f6d80, 0x7a, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x1, 0xc0021dc901, 0x16) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*ContentExtractor).isHighLinkDensity(0xc0057a7518, 0xc00436ed80, 0x2) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:567 +0xd5 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x6, 0xc00436ed80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:636 +0xa4 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc002b5c1b0, 0xc0057a7320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc0057a7518, 0xc003679920, 0xc003924a20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc0057a7518, 0xc003679920, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc0057a7518, 0xc003679920, 0xc003679920) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301aba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1322 [semacquire]: github.com/gigawattio/window.Rolling(0xc000516a80, 0xa1, 0xa1, 0x3, 0x0, 0xa0, 0xc000516a80) /home/develop/go/src/github.com/gigawattio/window/rolling.go:15 +0x140 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003837518, 0xc003433a80, 0xc0017f6340) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:329 +0x8ed github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b1a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1323 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88b39150, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0013eb850, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0013eb840, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00283b000, 0xfe5, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc001317237, 0x81, 0xc00283b000, 0xfe5, 0xc00283b000, 0xfe5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc001317237, 0x81, 0xc00283b000, 0xfe5, 0xaa0378, 0x1, 0xc00283b000, 0xfe5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1324 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc003b88db0, 0xa9ece0, 0xc003b88d80) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc005f61518, 0xc0019d7e40, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:384 +0x144 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1325 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc006b18ba0, 0xc006b18ba0, 0xc006b18c00) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0044cb518, 0xc004061840, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:423 +0x38b github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b6e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1326 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88e25eb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0020fa650, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0020fa640, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc000c34800, 0x792, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00387e4d0, 0x6a, 0xc000c34800, 0x792, 0xc000c34800, 0x792, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00387e4d0, 0x6a, 0xc000c34800, 0x792, 0xaa0378, 0x1, 0xc000c34800, 0x792, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1327 [semacquire]: bytes.makeSlice(0x398, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc005fd9198, 0x2, 0x1cb) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc005fd9198, 0xaa04bf, 0x2, 0x1cb, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc000a7cc40) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc000a7cb60) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc005f7f8c0, 0xc002791260, 0xc005fd9210) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc005fd9518, 0xc005f7f8c0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:527 +0xc5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc005fd9518, 0xc002b03be0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b9e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1328 [semacquire]: strings.genSplit(0xc005102700, 0x35b, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x35b, 0xc004fcd500, 0x35b) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0055b7588, 0xaa058b, 0x2, 0xc004fcd500, 0x35b, 0x25, 0x11f, 0xc003924cc0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0055b7518, 0xc0019d65a0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301bb60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1329 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c88cc7ed0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00123af50, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00123af40, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004af4a00, 0x4db, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00487cd20, 0x64, 0xc004af4a00, 0x4db, 0xc004af4a00, 0x4db, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00487cd20, 0x64, 0xc004af4a00, 0x4db, 0xaa0378, 0x1, 0xc004af4a00, 0x4db, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052360, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1330 [semacquire]: bytes.makeSlice(0xa09, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0050e6780, 0x14f, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0050e6780, 0xc004ac1a20, 0x14f, 0x6, 0xffffffffffffffff, 0xad0185) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc0050e6780, 0xc004ac1a20, 0x14f, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc0050e6780, 0xc000e36000, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc0050e6780, 0xc000e690a0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0050e6780, 0xc001f1ba40, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0050e6780, 0xc001835030, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc0050e6780, 0xc003dfb8f0, 0xb84d20, 0xc0050e6780) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc0050e6780, 0xc003dfb8f0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0050e65d0, 0x2272b4da7, 0x1251a20, 0xc0013e6700, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030524e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1331 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc005ca4700, 0x6c6, 0xae4d68) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:85 +0x317 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc005ca4700, 0x6c6, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc005ca4700, 0x6c6, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc005ca4700, 0x6c6, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc005ca4700, 0x6c6, 0x0, 0x0, 0x6c6, 0xc005ca4700, 0x6c6) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc005ca4700, 0x6c6, 0x6c6, 0x700) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc002d69980, 0x7d, 0xc005ca4700, 0x6c6, 0xc005ca4700, 0x6c6, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc002d69980, 0x7d, 0xc005ca4700, 0x6c6, 0xaa0378, 0x1, 0xc005ca4700, 0x6c6, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030528a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1333 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0050e6390, 0x226d581b9, 0x1251a20, 0xc0013e6420, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052de0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1334 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).breakLongLines(0xc0055b30c0, 0xc00101ad00, 0x196, 0xc00000002e, 0x100, 0x2e) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:462 +0x58c github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc0055b30c0, 0xc00101ad00, 0x196, 0x196, 0x1) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:426 +0x63 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0055b30c0, 0xc005293730, 0xc0055b21b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:404 +0x5b github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055b30c0, 0xc0052936c0, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0055b30c0, 0xc0052936c0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0055b30c0, 0xc0052936c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0055b30c0, 0xc0052936c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055b30c0, 0xc0052931f0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0025590c0, 0xc0052931f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0025590c0, 0xc0052931f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055b30c0, 0xc005293110, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0025590c0, 0xc005293110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0025590c0, 0xc005293110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055b30c0, 0xc005292a10, 0xc0003505f4, 0x4) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0025590c0, 0xc005292a10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0025590c0, 0xc005292a10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0055b30c0, 0xc005292930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0025590c0, 0xc005292930, 0x54b170, 0xc000608820) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc005292930, 0x0, 0x0, 0x0, 0x0, 0xc005292930, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001dbf290, 0x0, 0x0, 0x0, 0xc00, 0xc000b30c00, 0xb28, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc000b30c00, 0xb28, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9eff248300000000) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002559518, 0xc004584420, 0xc004584ca0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003052f60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1335 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0050d4000, 0x12b5, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:87 +0x379 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0050d4000, 0x12b5, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0050d4000, 0x12b5, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0050d4000, 0x12b5, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0050d4000, 0x12b5, 0x0, 0x0, 0x12b5, 0xc0050d4000, 0x12b5) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0050d4000, 0x12b5, 0x12b5, 0x1500) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00106efa0, 0x4a, 0xc0050d4000, 0x12b5, 0xc0050d4000, 0x12b5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00106efa0, 0x4a, 0xc0050d4000, 0x12b5, 0xaa0378, 0x1, 0xc0050d4000, 0x12b5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030530e0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1336 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inBodyIM(0xc003310c30, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:908 +0x1761 golang.org/x/net/html.(*parser).parseCurrentToken(0xc003310c30) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc003310c30, 0xc005f59dc0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7b620, 0xc003b89860, 0x0, 0x0, 0x0, 0x0, 0x1901, 0xc003b89830) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc003b89830, 0x0, 0x0, 0x0, 0x1980, 0xc005e23300, 0x1921, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:93 +0x76 github.com/jaytaylor/html2text.FromString(0xc005e23300, 0x1921, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc00491d530) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003079518, 0xc004061c80, 0xc004c4dae0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003053260, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1337 [semacquire]: strings.Replace(0xc005d7e600, 0x1956, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x6, 0xc005d7e600, 0x1956) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0041ab8f8, 0xc005d7b300, 0x1955, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030533e0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1351 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc001a2ec00, 0x5f2, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc001a2ec00, 0x5f2, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc001a2ec00, 0x5f2, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc001a2ec00, 0x5f2, 0x0, 0x0, 0x5f2, 0xc001a2ec00, 0x5f2) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc001a2ec00, 0x5f2, 0x5f2, 0x700) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000fa4aa0, 0x95, 0xc001a2ec00, 0x5f2, 0xc001a2ec00, 0x5f2, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000fa4aa0, 0x95, 0xc001a2ec00, 0x5f2, 0xaa0378, 0x1, 0xc001a2ec00, 0x5f2, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2cc00, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1352 [runnable]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c528b2b80, 0x7f1c528b3990) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc002db06b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc002db06a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004fcaa80, 0x949, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0011f5596, 0x53, 0xc004fcaa80, 0x949, 0xc004fcaa80, 0x949, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0011f5596, 0x53, 0xc004fcaa80, 0x949, 0xaa0378, 0x1, 0xc004fcaa80, 0x949, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2cd80, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1353 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/advancedlogic/GoOse.(*outputFormatter).Text(0xc00676f388, 0xc00110ab40, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:115 +0x122 github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc00676f388, 0xc003a66500, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:120 +0x48 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc00676f388, 0xc00110ab40, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0xc00676f301, 0xc0046cdd48) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc00676f518, 0xc00110ab40, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2ce40, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1354 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc003aab000, 0xdad, 0xae4d68) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:83 +0x3e0 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc003aab000, 0xdad, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc003aab000, 0xdad, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc003aab000, 0xdad, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc003aab000, 0xdad, 0x0, 0x0, 0xdad, 0xc003aab000, 0xdad) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc003aab000, 0xdad, 0xdad, 0x1000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0024c6a80, 0x79, 0xc003aab000, 0xdad, 0xc003aab000, 0xdad, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0024c6a80, 0x79, 0xc003aab000, 0xdad, 0xaa0378, 0x1, 0xc003aab000, 0xdad, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2cf00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1355 [runnable]: bytes.makeSlice.func1() /usr/local/go/src/bytes/buffer.go:224 +0x68 bytes.makeSlice(0x32b, 0xc006520000, 0x32b, 0x32b) /usr/local/go/src/bytes/buffer.go:229 +0x96 bytes.(*Buffer).grow(0xc00471f1f8, 0x155, 0x12) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc00471f1f8, 0xc0025b94a0, 0x155, 0x5165d7, 0xc00173d362, 0xc0020d4010) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0023ea690) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0023ea620) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0023ea540) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0023ea070) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0061fab10, 0x0, 0xc00471f260) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x0, 0xc0061fab10) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:634 +0x4a github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0061faae0, 0xc00471f320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc00471f518, 0xc0061fa870, 0xc005b54660) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc00471f518, 0xc0061fa870, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc00471f518, 0xc0061fa870, 0xc0061fa870) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2cfc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1356 [semacquire]: regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc002675c00, 0x38b, 0xaa0378, 0x1, 0x0, 0x0) /usr/local/go/src/regexp/regexp.go:560 +0x135 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0018e50c0, 0xc003f861c0, 0xc0018e41b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0018e50c0, 0xc003f86150, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc0018e50c0, 0xc003f86150, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0018e50c0, 0xc003f86150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0018e50c0, 0xc003f86150, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0018e50c0, 0xc0028d2380, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc000f3f0c0, 0xc0028d2380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc000f3f0c0, 0xc0028d2380, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0018e50c0, 0xc0028d22a0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc000f3f0c0, 0xc0028d22a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc000f3f0c0, 0xc0028d22a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0018e50c0, 0xc00207bb90, 0xc003fd9880, 0x7f1cb42a27d0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc000f3f0c0, 0xc00207bb90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc000f3f0c0, 0xc00207bb90, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0018e50c0, 0xc00207bab0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc000f3f0c0, 0xc00207bab0, 0x54b170, 0xc005110340) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc00207bab0, 0x0, 0x0, 0x0, 0x0, 0xc00207bab0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00110bc50, 0x0, 0x0, 0x0, 0x1500, 0xc0057d4000, 0x13ea, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0057d4000, 0x13ea, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc002b01110) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc000f3f518, 0xc002d8e3c0, 0xc00627d360) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1357 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.ToUpper(0xc0020d4585, 0x5, 0x7, 0xc0023ebf80) /usr/local/go/src/strings/strings.go:570 +0x222 github.com/advancedlogic/GoOse.NormaliseCharset(0xc0020d4585, 0x5, 0x7, 0xc0020d4585) /home/develop/go/src/github.com/advancedlogic/GoOse/charset.go:16 +0x39 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:70 +0x12f github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0042bb8f8, 0xc0024c0800, 0x773, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1358 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc005108ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:766 +0x1e7 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc005108ff8, 0x1, 0xc003090b60, 0xc0100311180, 0x2804b42a5080) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc005108ff8, 0x4, 0xe5d, 0xc00254c101, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc00254c000, 0x28, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0x440d95, 0xc0005a2eb8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc004d055f0, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0042bd8f8, 0xc003694c00, 0x1180, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d320, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1359 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0042b73c0, 0xaa0599, 0x2, 0xc000325680, 0x471, 0xc000325680, 0xc0042b73b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002355f0, 0xc000325680, 0x471, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0042b7518, 0xc004e23800, 0x67, 0xc002f6ba40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d3e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1361 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002ec3ca0, 0xc0042e52c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0042e53c0, 0xaa0599, 0x2, 0xc002e80900, 0x443, 0x19, 0x9e, 0xc002ec3c60) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002355f0, 0xc002e80900, 0x443, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0042e5518, 0xc004e23da0, 0x6a, 0xc000c4e150) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1362 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0066b6900, 0xc0042e72c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0042e73c0, 0xaa05c9, 0x2, 0xc006576000, 0x657, 0x1, 0xc8, 0xc0066b68e0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002355f0, 0xc006576000, 0x657, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0042e7518, 0xc0015621e0, 0x7b, 0xc0024c6e00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1363 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.beforeHeadIM(0xc005111930, 0x7f1c00000000) /home/develop/go/src/golang.org/x/net/html/parse.go:591 +0xa4 golang.org/x/net/html.(*parser).parseCurrentToken(0xc005111930) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc005111930, 0xc005333810, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002b02f00, 0x0, 0x0, 0x0, 0xc0042e1200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002b02f00, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0042e18f8, 0xc002ab6c00, 0xbbd, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d6e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1364 [semacquire]: bytes.makeSlice(0x6ce, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0042e3388, 0x1a4, 0x7) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0042e3388, 0xc0010088c0, 0x1a4, 0x5165d7, 0xc0066fa169, 0xc0013355a7) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003471110) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004936d90) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004f03b20) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004f03a40) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc003ffc000) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc00618a960, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0042e3518, 0xc002b03c60, 0x8c, 0xc004443c20) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d7a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1365 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0046433c0, 0xaa0599, 0x2, 0xc0006ab980, 0x1820, 0x41, 0x237, 0xc002d8e1c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002355f0, 0xc0006ab980, 0x1820, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc004643518, 0xc00039a6a0, 0x65, 0xc000c4ebd0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d860, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1366 [semacquire]: github.com/gigawattio/window.Rolling(0xc000098600, 0x5d, 0x5d, 0x3, 0x0, 0x5c, 0xc000098600) /home/develop/go/src/github.com/gigawattio/window/rolling.go:10 +0x6c github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc004645518, 0xc001562600, 0xc00039b240) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:329 +0x8ed github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1367 [semacquire]: strings.genSplit(0xc00692c000, 0x904, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0x131, 0x131) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00463f3c0, 0xaa05c9, 0x2, 0xc006188000, 0x904, 0x1, 0x131, 0xc000e0e560) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002355f0, 0xc006188000, 0x904, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00463f518, 0xc00039bee0, 0x60, 0xc00033eae0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2d9e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1368 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0069139b0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc004641518, 0xc001562a20, 0x74, 0xc0024c7300) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2daa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1369 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc002eaa900, 0x106, 0x2, 0xc003b36198, 0xc00000000a, 0x2, ...) /usr/local/go/src/regexp/regexp.go:642 +0x7ae regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc002eaa900, 0x106, 0xaa0378, 0x1, 0x0, 0x0) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003b370c0, 0xc00182bf80, 0xc003b361b0, 0xaa04bf) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003b370c0, 0xc00182bf10, 0x2, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc003b370c0, 0xc00182bf10, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:295 +0x6b github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc003b370c0, 0xc00182bf10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc003b370c0, 0xc00182bf10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003b370c0, 0xc00182b2d0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0047ad0c0, 0xc00182b2d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0047ad0c0, 0xc00182b2d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003b370c0, 0xc00182b1f0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0047ad0c0, 0xc00182b1f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0047ad0c0, 0xc00182b1f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003b370c0, 0xc00182aaf0, 0xc000d82000, 0x7f1cb42a27d0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0047ad0c0, 0xc00182aaf0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0047ad0c0, 0xc00182aaf0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc003b370c0, 0xc00182aa10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0047ad0c0, 0xc00182aa10, 0x54b170, 0xc0067c11e0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc00182aa10, 0x0, 0x0, 0x0, 0x0, 0xc00182aa10, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00111f950, 0x0, 0x0, 0x0, 0xa80, 0xc004e1f500, 0xa39, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc004e1f500, 0xa39, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc0024c7480) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0047ad518, 0xc001562ce0, 0xc00627cf80) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2db60, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1370 [semacquire]: github.com/fatih/set.(*Set).Add(0xc0066b6a40, 0xc0047af2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0047af3c0, 0xaa058b, 0x2, 0xc0010dea80, 0x939, 0x10, 0x11f, 0xc0066b6a20) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc0002355f0, 0xc0010dea80, 0x939, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0047af518, 0xc001562f80, 0x6b, 0xc000c4f880) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2dc20, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1371 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0060794a0, 0x2c6c541ae, 0x1251a20, 0xc0001d5c40, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2dce0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1372 [semacquire]: github.com/PuerkitoBio/goquery.findWithMatcher.func1(0x0, 0xc0030ea380, 0x7f1c8c016259, 0x20, 0xcd) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:547 +0x180 github.com/PuerkitoBio/goquery.mapNodes(0xc0000a2208, 0x1, 0x1, 0xc0047ab330, 0x1, 0x0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:693 +0xf6 github.com/PuerkitoBio/goquery.findWithMatcher(0xc0000a2208, 0x1, 0x1, 0xb856e0, 0xc00230d9a0, 0xc0047ab3b0, 0x753f20, 0xaa3fc2) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:543 +0x81 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc00038bdd0, 0xaa408e, 0x4, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x85 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0047ab518, 0xc004c4ca60, 0x8c, 0xc0040e2090) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:126 +0x200 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2dda0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1373 [semacquire]: bytes.makeSlice(0x1221, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc004a7f388, 0x2ad, 0x204) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc004a7f388, 0xc002376b00, 0x2ad, 0x5165d7, 0xc00696c64b, 0xc0046172f0) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc004bf4000) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002427f80) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002427570) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002427490) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc002426d90) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc006913740, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc004a7f518, 0xc0001d5880, 0x73, 0xc003348b23) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc004a2de60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1375 [semacquire]: github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc004a812e0, 0x0, 0x0, 0x0, 0xb856e0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:724 +0x716 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc004a812e0, 0x75a856, 0x0, 0xc002d38460, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc004a812e0, 0xc004a812a8, 0xc004a81330, 0x42ca96, 0xc0060e1110, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xab9e11, 0x19, 0x1, 0xc004a81348, 0xc004a81360, 0x42d308, 0x30) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xab9e11, 0x19, 0x1, 0xb856e0, 0xc00187f260) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc0060e0f30, 0xab9e11, 0x19, 0xc0060e1110) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).getTitleUnmodified(0xc004a81518, 0xc00187f000, 0x10c4, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:63 +0x12b github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:128 +0x282 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1376 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0060e1230, 0x267d924d4, 0x1251a20, 0xc00187f280, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a03c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1377 [semacquire]: strings.genSplit(0xc0039c4800, 0xb66, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc005526f50, 0x30000c00575b360) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00575b3c0, 0xaa058b, 0x2, 0xc0039c3c00, 0xb66, 0xc0039c3c00, 0xc00575b3b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc0039c3c00, 0xb66, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00575b518, 0xc00187f540, 0xb1, 0xc00126f080) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1378 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c792b2fb0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0021bce00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0021bcdf0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc005223600, 0xcfe, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00491dd10, 0x28, 0xc005223600, 0xcfe, 0xc005223600, 0xcfe, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00491dd10, 0x28, 0xc005223600, 0xcfe, 0xaa0378, 0x1, 0xc005223600, 0xcfe, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a08a0, 0x5a) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1379 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b90948b40, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc001dbcdc0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc001dbcdb0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc00342a000, 0xa06, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0039d2480, 0x80, 0xc00342a000, 0xa06, 0xc00342a000, 0xa06, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0039d2480, 0x80, 0xc00342a000, 0xa06, 0xaa0378, 0x1, 0xc00342a000, 0xa06, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0a80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1380 [semacquire]: strings.Replace(0xc00546e000, 0xef5, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x5, 0xc00546e000, 0xef5) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0058858f8, 0xc00546a000, 0xef4, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a0ba0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1381 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0018d1d40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc001c4e000, 0xc001408000, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00230c2e0, 0x0, 0x0, 0x0, 0xc003e1d200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00230c2e0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003e1d8f8, 0xc001912000, 0xf9f, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1382 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0018f0e10, 0x203000, 0x203000, 0xfbc4241000000000, 0xc005a9d138) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.(*Cleaner).convertDivsToParagraphs.func1(0x0, 0xc0018f0e10) /home/develop/go/src/github.com/advancedlogic/GoOse/cleaner.go:496 +0x67 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0018f0de0, 0xc005a9d2c8, 0x7) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*Cleaner).convertDivsToParagraphs(0xc005a9d6b0, 0xc00230c340, 0xaac03e, 0x7, 0xc00230c340) /home/develop/go/src/github.com/advancedlogic/GoOse/cleaner.go:495 +0xd8 github.com/advancedlogic/GoOse.(*Cleaner).Clean(0xc005a9d6b0, 0xc00230c340, 0xc00230cd40) /home/develop/go/src/github.com/advancedlogic/GoOse/cleaner.go:302 +0x39d github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:149 +0x614 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1383 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00124f3c0, 0xaa0503, 0x2, 0xc001b8c000, 0x9c2, 0x1, 0x11a, 0xc00230d580) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc001b8c000, 0x9c2, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00124f518, 0xc00230d180, 0x7e, 0xc0059c7780) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1384 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002b02180, 0xc0037ef2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0037ef3c0, 0xaa04f9, 0x2, 0xc004552000, 0x1d1e, 0x1, 0x273, 0xc002b02120) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc004552000, 0x1d1e, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0037ef518, 0xc00230d5e0, 0x6c, 0xc0038ee700) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1b00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1385 [semacquire]: strings.genSplit(0xc00150cf80, 0x19e0, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc001489500, 0x2a4, 0x2a4) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003bfb3c0, 0xaa0569, 0x2, 0xc0048c7500, 0x19e0, 0x3, 0x2a4, 0xc0049f04e0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc0048c7500, 0x19e0, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003bfb518, 0xc002b021e0, 0xa7, 0xc001f588f0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1c80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1386 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc00130b5f0, 0x90, 0x2, 0xc00069a1d0, 0xd1bdd0b8d082d1be, 0xc00069a270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc00130b5f0, 0x90, 0xaa0378, 0x1, 0xc004089900, 0x2) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00069a3d8, 0xc0053f5f10, 0xc0063b6000, 0xc00069a308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069a3d8, 0xc0053f5ea0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00069b0c0, 0xc0053f5ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00069b0c0, 0xc0053f5ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069b0c0, 0xc0053f5dc0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002eed0c0, 0xc0053f5dc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002eed0c0, 0xc0053f5dc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069b0c0, 0xc0053f5ce0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002eed0c0, 0xc0053f5ce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002eed0c0, 0xc0053f5ce0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069b0c0, 0xc0053f55e0, 0xc005d5f180, 0x7f1cb42a5080) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc002eed0c0, 0xc0053f55e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002eed0c0, 0xc0053f55e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc00069b0c0, 0xc0053f5500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc002eed0c0, 0xc0053f5500, 0x54b170, 0xc001c4f110) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0053f5500, 0x0, 0x0, 0x0, 0x0, 0xc0053f5500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0045555f0, 0x0, 0x0, 0x0, 0x1300, 0xc005714000, 0x1291, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc005714000, 0x1291, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc0038eea80) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002eed518, 0xc002b02740, 0xc002b03100) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1e00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1387 [semacquire]: github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:109 +0x42 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0000a1f80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1388 [semacquire]: regexp.(*Regexp).replaceAll(0xc004f052c0, 0x0, 0x0, 0x0, 0xc0029a0600, 0x11d2, 0x2, 0xc00676b218, 0xc0029a0600, 0x11d2, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc004f052c0, 0xc0029a0600, 0x11d2, 0xaa0378, 0x1, 0x1, 0x14) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002eed518, 0xc002b03280, 0xc00367e000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c14960, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1390 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0042d6600, 0x5a4, 0xae4d68) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0042d6600, 0x5a4, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0042d6600, 0x5a4, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0042d6600, 0x5a4, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0042d6600, 0x5a4, 0x0, 0x0, 0x5a4, 0xc0042d6600, 0x5a4) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0042d6600, 0x5a4, 0x5a4, 0x800) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000ee7040, 0x4d, 0xc0042d6600, 0x5a4, 0xc0042d6600, 0x5a4, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000ee7040, 0x4d, 0xc0042d6600, 0x5a4, 0xaa0378, 0x1, 0xc0042d6600, 0x5a4, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c151a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1392 [semacquire]: bytes.NewReader(...) /usr/local/go/src/bytes/reader.go:160 github.com/ssor/bom.NewReaderWithoutBom(0xb7b620, 0xc0023589f0, 0xc002eed1d8, 0x42d308, 0x30, 0xa4a0e0) /home/develop/go/src/github.com/ssor/bom/bom.go:33 +0xc3 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0023589f0, 0x0, 0x0, 0x0, 0x1000, 0xc004d7f000, 0xf33, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:89 +0x39 github.com/jaytaylor/html2text.FromString(0xc004d7f000, 0xf33, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc0039d2e00) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc002eed518, 0xc0030bda00, 0xc0017f6480) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c154a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1393 [semacquire]: github.com/PuerkitoBio/goquery.pushStack(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/utilities.go:159 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001742750, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0xb3 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00396f8f8, 0xc0036d4c00, 0xbec, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15620, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1394 [semacquire]: regexp/syntax.(*compiler).inst(...) /usr/local/go/src/regexp/syntax/compile.go:173 regexp/syntax.(*compiler).rune(0xc006be8b30, 0xc0004643d8, 0x1, 0xa, 0xd5, 0xe00000007) /usr/local/go/src/regexp/syntax/compile.go:267 +0x27c regexp/syntax.(*compiler).compile(0xc006be8b30, 0xc0038680e0, 0x200000001) /usr/local/go/src/regexp/syntax/compile.go:110 +0x12c regexp/syntax.(*compiler).compile(0xc006be8b30, 0xc003868150, 0x0) /usr/local/go/src/regexp/syntax/compile.go:156 +0xb29 regexp/syntax.Compile(0xc003868150, 0xc003868150, 0x1, 0x1) /usr/local/go/src/regexp/syntax/compile.go:83 +0x10a regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:178 +0xd7 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc006be8ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc006be8ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc000631c64) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc006be8ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc006be8ff8, 0x1, 0xc001bd06e0, 0xc0102fdce00, 0x2804b42a27d0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc006be8ff8, 0x4, 0x502, 0xc0023f3a01, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc0023f3000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203000, 0xc0011fe4e0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc002756a50, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00599b8f8, 0xc0024a6800, 0xafa, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c157a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1395 [runnable]: unicode.ToLower(0xc000000020, 0x20) /usr/local/go/src/unicode/letter.go:266 +0x37 strings.Map(0xae62d0, 0xc000690809, 0xaf0, 0xaf9, 0xc000984a80) /usr/local/go/src/strings/strings.go:501 +0x2cc strings.ToLower(0xc000690800, 0xaf9, 0x7544a2, 0x0) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc005723588, 0xaa058b, 0x2, 0xc000690800, 0xaf9, 0xe, 0x43, 0xc002807640) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc005723518, 0xc0017f6fe0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1396 [semacquire]: golang.org/x/net/html/atom.String(0xc0051d5159, 0x8, 0xea7, 0xea7, 0xc0051d5163) /home/develop/go/src/golang.org/x/net/html/atom/atom.go:77 +0xc6 golang.org/x/net/html.(*Tokenizer).Token(0xc003fcdad0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x12a golang.org/x/net/html.(*parser).parse(0xc003fcdba0, 0xc00157b490, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0017f7380, 0x0, 0x0, 0x0, 0xc004645200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0017f7380, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0046458f8, 0xc0013d2000, 0xbf5, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15aa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1397 [semacquire]: strings.makeCutsetFunc(0xaa4e4b, 0x5, 0xc0017f73e0) /usr/local/go/src/strings/strings.go:831 +0xad strings.TrimLeft(0xc0023df60a, 0x5, 0xaa4e4b, 0x5, 0x5, 0x0) /usr/local/go/src/strings/strings.go:855 +0x61 golang.org/x/net/html.inHeadIM(0xc003fcde10, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:626 +0x969 golang.org/x/net/html.(*parser).parseCurrentToken(0xc003fcde10) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc003fcde10, 0xc00157bd50, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0017f73c0, 0x0, 0x0, 0x0, 0xc003d1b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0017f73c0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003d1b8f8, 0xc00286ed80, 0xcd9, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc001c15c20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1398 [semacquire]: golang.org/x/net/html/atom.String(0xc00317e046, 0x8, 0xfba, 0xfba, 0xc00317e050) /home/develop/go/src/golang.org/x/net/html/atom/atom.go:77 +0xc6 golang.org/x/net/html.(*Tokenizer).Token(0xc0043a2000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x12a golang.org/x/net/html.(*parser).parse(0xc0043a20d0, 0xc0010021c0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0017f7400, 0x0, 0x0, 0x0, 0xc00107b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0017f7400, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00107b8f8, 0xc0013d5000, 0xade, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00033fe60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1399 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0043a2270, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x18a golang.org/x/net/html.(*parser).parse(0xc0043a2340, 0xc0010024d0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0017f7460, 0x0, 0x0, 0x0, 0xc004a83200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0017f7460, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc004a838f8, 0xc0022df000, 0xa88, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1400 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1401 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0043a25b0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1181 +0x18a golang.org/x/net/html.(*parser).parse(0xc0043a2680, 0xc0010028c0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0017f74a0, 0x0, 0x0, 0x0, 0xc001a0b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0017f74a0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc001a0b8f8, 0xc005cd1c00, 0xb8c, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e600, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1402 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc0011fe680, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc0011fe750, 0xc003868230, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00627dbc0, 0x0, 0x0, 0x0, 0xc00599b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00627dbc0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00599b8f8, 0xc001bcc800, 0xac7, 0x1, 0xc000c43980, 0x5) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4e840, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1403 [semacquire]: strings.genSplit(0xc006691800, 0x662, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0xce, 0xce) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0059793c0, 0xaa05c9, 0x2, 0xc0047bb500, 0x662, 0x1, 0xce, 0xc0045769c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc0047bb500, 0x662, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005979518, 0xc0017f7520, 0x69, 0xc0038ef8f0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4ea80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1404 [runnable]: strings.genSplit(0xc0046af000, 0xe60, 0xaa0378, 0x1, 0x0, 0x16c, 0xc001cfc800, 0x16d, 0x16d) /usr/local/go/src/strings/strings.go:264 +0x133 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc000f3f3c0, 0xaa059b, 0x2, 0xc006b1a000, 0xe60, 0x1, 0x16d, 0xc001562da0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc006b1a000, 0xe60, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000f3f518, 0xc00627dc40, 0x7c, 0xc001166408) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4f8c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1405 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc005b86300, 0xc005b86300, 0xc005b86400) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00302f518, 0xc0017f79c0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:423 +0x38b github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002a4fa40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1406 [semacquire]: golang.org/x/net/html.NewTokenizerFragment(0xb7c280, 0xc00627dfc0, 0x0, 0x0, 0x20) /home/develop/go/src/golang.org/x/net/html/token.go:1213 +0x5d golang.org/x/net/html.NewTokenizer(...) /home/develop/go/src/golang.org/x/net/html/token.go:1201 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc00627dfc0, 0x0, 0x0, 0x0, 0xc003b7b200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2337 +0x41 golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc00627dfc0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003b7b8f8, 0xc00515b900, 0x22d6, 0x80d1bed0b2d082d1, 0xbbd0b5d082d1b8d0, 0xb5d08bd1bdd08cd1) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003072480, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1407 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc006760900, 0x8d5, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc006760900, 0x8d5, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc006760900, 0x8d5, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc006760900, 0x8d5, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc006760900, 0x8d5, 0x0, 0x0, 0x8d5, 0xc006760900, 0x8d5) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc006760900, 0x8d5, 0x8d5, 0x900) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0062681b0, 0x83, 0xc006760900, 0x8d5, 0xc006760900, 0x8d5, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0062681b0, 0x83, 0xc006760900, 0x8d5, 0xaa0378, 0x1, 0xc006760900, 0x8d5, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1408 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc002fafc00, 0x69e, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:59 +0x21d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc002fafc00, 0x69e, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc002fafc00, 0x69e, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc002fafc00, 0x69e, 0x0, 0x0, 0x69e, 0xc002fafc00, 0x69e) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc002fafc00, 0x69e, 0x69e, 0x700) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc0014f0750, 0x8c, 0xc002fafc00, 0x69e, 0xc002fafc00, 0x69e, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc0014f0750, 0x8c, 0xc002fafc00, 0x69e, 0xaa0378, 0x1, 0xc002fafc00, 0x69e, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073560, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1409 [semacquire]: regexp.(*Regexp).ReplaceAllString(0xc0001fb2c0, 0xc0025bd800, 0x660, 0xaa04bf, 0x2, 0xc0025bd800, 0x660) /usr/local/go/src/regexp/regexp.go:560 +0x135 github.com/advancedlogic/GoOse.(*outputFormatter).getOutputText(0xc002769388, 0xc000233cf0, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:136 +0x201 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc002769388, 0xc001d04a20, 0xaa058b, 0x2, 0xc002769518, 0x8, 0x9ecc80, 0xc002769301, 0xc0005a3c58) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:45 +0x103 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc002769518, 0xc001d04a20, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030737a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1410 [semacquire]: github.com/fatih/set.(*Set).Add(0xc001753380, 0xc000e07220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc000e07588, 0xaa058b, 0x2, 0xc0047a2c80, 0xc50, 0x1, 0x10, 0xc001753320) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc000e07518, 0xc003432960, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0030739e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1411 [semacquire]: bytes.makeSlice(0x2059, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc006c9c7b0, 0x45d, 0x0) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc006c9c7b0, 0xc000c75200, 0x45d, 0x6, 0xffffffffffffffff, 0x0) /usr/local/go/src/bytes/buffer.go:184 +0xdc golang.org/x/net/html.escape(0xb84d20, 0xc006c9c7b0, 0xc000c75200, 0x45d, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/escape.go:229 +0x22f golang.org/x/net/html.render1(0xb84d20, 0xc006c9c7b0, 0xc00615b490, 0x0, 0x127e7a0) /home/develop/go/src/golang.org/x/net/html/render.go:74 +0x10d golang.org/x/net/html.render1(0xb84d20, 0xc006c9c7b0, 0xc00615b420, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006c9c7b0, 0xc00615a770, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006c9c7b0, 0xc00615a690, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render1(0xb84d20, 0xc006c9c7b0, 0xc006145f80, 0xb84d20, 0xc006c9c7b0) /home/develop/go/src/golang.org/x/net/html/render.go:218 +0x8c1 golang.org/x/net/html.render(...) /home/develop/go/src/golang.org/x/net/html/render.go:61 golang.org/x/net/html.Render(0xb7b5e0, 0xc006c9c7b0, 0xc006145f80, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/render.go:47 +0x22e github.com/PuerkitoBio/goquery.(*Selection).Html(0xc005c19dd0, 0x300cb747c, 0x1251a20, 0xc003432b80, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:104 +0x90 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073bc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1412 [semacquire]: strings.genSplit(0xc0065222c0, 0x145, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x1b5, 0xc006522160, 0x145) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc006bd9588, 0xaa058b, 0x2, 0xc006522160, 0x145, 0x22, 0xc006bd9290, 0x42d308) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x1, 0xc0061faea0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:635 +0x82 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc0030fd0e0, 0xc006bd9320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc006bd9518, 0xc0030fd020, 0xc005c81580) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc006bd9518, 0xc0030fd020, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc006bd9518, 0xc0030fd020, 0xc0030fd020) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073d40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1413 [runnable]: github.com/PuerkitoBio/goquery.newSingleSelection(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:113 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc00436ff50, 0xc0062f71d8, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0xb5 github.com/advancedlogic/GoOse.(*ContentExtractor).nodesToCheck(0xc0062f7518, 0xc003433040, 0x28, 0xc00436fef0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:551 +0x183 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0062f7518, 0xc003433040, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:374 +0x50 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073ec0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1414 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d4a0, 0x0, 0x0, 0x0, 0xc000d8e880, 0xd76, 0x2, 0xc002425038, 0xc000d8e880, 0xd76, ...) /usr/local/go/src/regexp/regexp.go:642 +0x7ae regexp.(*Regexp).ReplaceAllString(0xc00011d4a0, 0xc000d8e880, 0xd76, 0xaa04bf, 0x2, 0x1, 0x1) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.FromHTMLNode(0xc0067d8070, 0x0, 0x0, 0x0, 0x0, 0xc0067d8070, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:80 +0x191 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc004e410b0, 0x0, 0x0, 0x0, 0x1300, 0xc00465b900, 0x119a, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc00465b900, 0x119a, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc006677e30) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0058b5518, 0xc003433320, 0xc00065f2e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1416 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc0015d8000, 0xe29, 0xc003557218, 0xc000868380) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc0015d8000, 0xe29, 0x1, 0x1) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0035573c0, 0xaa059b, 0x2, 0xc0015d8000, 0xe29, 0x1, 0x1a9, 0xc0067d13c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc0015d8000, 0xe29, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc003557518, 0xc003433600, 0x95, 0xc0004b1400) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000360e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1417 [semacquire]: strings.Replace(0xc006b2d000, 0x15a5, 0xaa36c2, 0x4, 0xaa5832, 0x5, 0x8, 0xc006b2d000, 0x15a5) /usr/local/go/src/strings/strings.go:941 +0x109 github.com/advancedlogic/GoOse.Crawler.addSpacesBetweenTags(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:179 +0x19e github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc00638d8f8, 0xc0060d4000, 0x15a3, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:85 +0xc8 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc000361440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1338 [semacquire]: github.com/fatih/set.(*Set).Add(0xc005dd7860, 0xc004aab220, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004aab588, 0xaa058b, 0x2, 0xc003463000, 0xfbb, 0x0, 0xc004464000, 0x7f1cb42a3560) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc004aab518, 0xc00042ca80, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0060d0000, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1339 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003adf588, 0xaa058b, 0x2, 0xc000d67ba0, 0x18a, 0x5, 0xc003adf290, 0x42d308) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x4, 0xc005742b70) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:635 +0x82 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc005742780, 0xc003adf320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc003adf518, 0xc005742510, 0xc0030bd380) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc003adf518, 0xc005742510, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc003adf518, 0xc005742510, 0xc005742510) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc006258180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1340 [semacquire]: strings.genSplit(0xc00528c000, 0xa78, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x4f, 0xc005b13500, 0x5007f1c8c60a300) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0012c73c0, 0xaa058b, 0x2, 0xc005b13500, 0xa78, 0xc005b13500, 0xc0012c73b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000426120, 0xc005b13500, 0xa78, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0012c7518, 0xc003924080, 0x6c, 0xc001252cb0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc006258240, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1341 [semacquire]: strings.genSplit(0xc005b71500, 0x69c, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc0067fec00, 0x10b, 0x10b) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0053633c0, 0xaa04f9, 0x2, 0xc0014ac300, 0x69c, 0x1, 0x10b, 0xc004584a80) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc000426120, 0xc0014ac300, 0x69c, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005363518, 0xc001753ee0, 0x87, 0xc005a42fc0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc006258300, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 856 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc00670aba0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:82 +0x122 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005351518, 0xc00230db20, 0x55, 0xc0036fc1fa) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003585920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 857 [runnable]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0027cf588, 0xaa058b, 0x2, 0xc001143320, 0x102, 0x2, 0x20, 0xc004c4cae0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc0027cf518, 0xc0019d7480, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:385 +0x17f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a2a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 858 [semacquire]: github.com/fatih/set.newTS(...) /home/develop/go/src/github.com/fatih/set/set_ts.go:15 github.com/fatih/set.New(...) /home/develop/go/src/github.com/fatih/set/set.go:56 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004b313c0, 0xaa0503, 0x2, 0xc0061fc000, 0x669, 0x1, 0xfb, 0xc004c4d2c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:74 +0x52 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc0061fc000, 0x669, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc004b31518, 0xc0019d79e0, 0x70, 0xc00316a40f) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a5a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 859 [semacquire]: strings.genSplit(0xc00615e000, 0x93e, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x4f, 0xc006489500, 0x7f1c8c6438a8) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004b333c0, 0xaa04f9, 0x2, 0xc006489500, 0x93e, 0xc006489500, 0xc004b333b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc006489500, 0x93e, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc004b33518, 0xc0019d7a80, 0x7b, 0xc000c56500) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301a8a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 860 [semacquire]: strings.genSplit(0xc004795800, 0xa8b, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x0, 0xc000c5b5e0, 0xc004b2d360) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004b2d3c0, 0xaa0503, 0x2, 0xc004794c00, 0xa8b, 0xc004794c00, 0xc004b2d3b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc004794c00, 0xa8b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc004b2d518, 0xc004c4d600, 0xac, 0xc001aa5760) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301ac60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 861 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc006162300, 0x697, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc006162300, 0x697, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc006162300, 0x697, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc006162300, 0x697, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc006162300, 0x697, 0x0, 0x0, 0x697, 0xc006162300, 0x697) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc006162300, 0x697, 0x697, 0x700) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc005a43a70, 0x89, 0xc006162300, 0x697, 0xc006162300, 0x697, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc005a43a70, 0x89, 0xc006162300, 0x697, 0xaa0378, 0x1, 0xc006162300, 0x697, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b0e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 862 [semacquire]: github.com/PuerkitoBio/goquery.pushStack(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/utilities.go:159 github.com/PuerkitoBio/goquery.(*Selection).Siblings(0xc00647ab40, 0xc006b65bc0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:268 +0x87 github.com/advancedlogic/GoOse.(*ContentExtractor).isBoostable(0xc00665d518, 0xc00647ab40, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:517 +0x20f github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc00665d518, 0xc00065f4e0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:402 +0x2da github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b4a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 863 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002e4f840, 0xc004b972c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004b973c0, 0xaa0599, 0x2, 0xc006731000, 0xf26, 0x27, 0x181, 0xc002e4f820) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc006731000, 0xf26, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc004b97518, 0xc0020d70a0, 0xa7, 0xc001aa58c0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301b7a0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 864 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc004bdcd90, 0x70, 0x2, 0xc0047321d0, 0x1, 0xc004732270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc004bdcd90, 0x70, 0xaa0378, 0x1, 0xc004089980, 0x3) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0047323d8, 0xc003193730, 0xc0001562c0, 0xc004732308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047323d8, 0xc0031936c0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0047330c0, 0xc0031936c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0047330c0, 0xc0031936c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047330c0, 0xc0031935e0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc004b910c0, 0xc0031935e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004b910c0, 0xc0031935e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047330c0, 0xc003193500, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc004b910c0, 0xc003193500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004b910c0, 0xc003193500, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047330c0, 0xc005e7f3b0, 0x7f1c8c34fcd8, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc004b910c0, 0xc005e7f3b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004b910c0, 0xc005e7f3b0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc0047330c0, 0xc005e7f2d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc004b910c0, 0xc005e7f2d0, 0x54b170, 0xc004479860) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc005e7f2d0, 0x0, 0x0, 0x0, 0x0, 0xc005e7f2d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001d055c0, 0x0, 0x0, 0x0, 0xc00, 0xc00631e800, 0xb86, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc00631e800, 0xb86, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc001ab4fc0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc004b91518, 0xc0020d7420, 0xc00187f9e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00301baa0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 865 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c89863c20, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0023705b0, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0023705a0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004839400, 0x499, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc000c56f80, 0x7e, 0xc004839400, 0x499, 0xc004839400, 0x499, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc000c56f80, 0x7e, 0xc004839400, 0x499, 0xaa0378, 0x1, 0xc004839400, 0x499, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00049fe00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1426 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b7708de90, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc00330cd10, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc00330cd00, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc005d14800, 0x7ae, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00316ab60, 0x6d, 0xc005d14800, 0x7ae, 0xc005d14800, 0x7ae, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00316ab60, 0x6d, 0xc005d14800, 0x7ae, 0xaa0378, 0x1, 0xc005d14800, 0x7ae, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037e1e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1427 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1b98989000, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc0011c3590, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc0011c3570, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc001e9c000, 0x718, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc004443a07, 0x5d, 0xc001e9c000, 0x718, 0xc001e9c000, 0x718, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc004443a07, 0x5d, 0xc001e9c000, 0x718, 0xaa0378, 0x1, 0xc001e9c000, 0x718, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f260, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1428 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.count(0xc0024c4a80, 0xa49, 0xae4d90) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:81 +0x208 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.getTrigramsWithPositions(0xc0024c4a80, 0xa49, 0xae4d20) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesTrigrams.go:39 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc0024c4a80, 0xa49, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:135 +0x4d _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc0024c4a80, 0xa49, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc0024c4a80, 0xa49, 0x0, 0x0, 0xa49, 0xc0024c4a80, 0xa49) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc0024c4a80, 0xa49, 0xa49, 0xa80) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00554b43f, 0x5e, 0xc0024c4a80, 0xa49, 0xc0024c4a80, 0xa49, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00554b43f, 0x5e, 0xc0024c4a80, 0xa49, 0xaa0378, 0x1, 0xc0024c4a80, 0xa49, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00037f6e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1429 [semacquire]: bytes.NewReader(...) /usr/local/go/src/bytes/reader.go:160 github.com/ssor/bom.NewReaderWithoutBom(0xb7b620, 0xc005edd8f0, 0xc0057c71d8, 0x42d308, 0x30, 0xa4a0e0) /home/develop/go/src/github.com/ssor/bom/bom.go:33 +0xc3 github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc005edd8f0, 0x0, 0x0, 0x0, 0x1300, 0xc006335900, 0x1281, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:89 +0x39 github.com/jaytaylor/html2text.FromString(0xc006335900, 0x1281, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xad0464, 0x3f00006b00000004, 0xc002e0d560) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0057c7518, 0xc00000ea00, 0xc004c4dc60) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f81e0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1430 [semacquire]: github.com/fatih/set.(*Set).Add(0xc002e4fd20, 0xc0052ed2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0052ed3c0, 0xaa04df, 0x2, 0xc0051f1500, 0x34a4, 0x3, 0x5d6, 0xc002e4fd00) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc0051f1500, 0x34a4, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0052ed518, 0xc002e4f860, 0x72, 0xc001647c00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8720, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1431 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangInProfiles(0xc000f82000, 0x75b, 0x0, 0x0, 0xc000234870, 0x115f3c0, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:153 +0x1f1 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.detectLangBaseOnScript(0xc000f82000, 0x75b, 0x0, 0x0, 0x115ea80, 0x46e6ce, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:81 +0x52a _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectWithOptions(0xc000f82000, 0x75b, 0x0, 0x0, 0x75b, 0xc000f82000, 0x75b) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:60 +0x79 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Detect(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:43 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc000f82000, 0x75b, 0x75b, 0x1000) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x3d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc003370c80, 0x91, 0xc000f82000, 0x75b, 0xc000f82000, 0x75b, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc003370c80, 0x91, 0xc000f82000, 0x75b, 0xaa0378, 0x1, 0xc000f82000, 0x75b, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8a20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1432 [semacquire]: bytes.makeSlice(0x31c, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc0052e9388, 0x12c, 0x78) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).WriteString(0xc0052e9388, 0xc00293b7c0, 0x12c, 0x5165d7, 0xc00687e0a8, 0xc001334860) /usr/local/go/src/bytes/buffer.go:184 +0xdc github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0052c16c0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:70 +0x8d github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0052c1650) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0052c1420) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0052c1340) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text.func1(0xc0052c0c40) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:74 +0x55 github.com/PuerkitoBio/goquery.(*Selection).Text(0xc0068446f0, 0xc000021da0, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:79 +0xbd github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0052e9518, 0xc00000f160, 0x78, 0xc003348580) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x134 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f8d20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1433 [semacquire]: github.com/jaytaylor/html2text.(*textifyTraverseContext).breakLongLines(0xc005e090c0, 0xaa04bf, 0x2, 0xc00591c180, 0x164, 0xae62c8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:462 +0x58c github.com/jaytaylor/html2text.(*textifyTraverseContext).emit(0xc005e090c0, 0xaa04bf, 0x2, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:426 +0x63 github.com/jaytaylor/html2text.(*textifyTraverseContext).paragraphHandler(0xc005e090c0, 0xc0066d8230, 0xc000000001, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:298 +0xb1 github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc005e090c0, 0xc0066d8230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:265 +0x4f6 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc005e090c0, 0xc0066d8230, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005e090c0, 0xc006afecb0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0052eb0c0, 0xc006afecb0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0052eb0c0, 0xc006afecb0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005e090c0, 0xc006afebd0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0052eb0c0, 0xc006afebd0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0052eb0c0, 0xc006afebd0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005e090c0, 0xc006afe4d0, 0xc000d82000, 0x7f1cb42a42f0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0052eb0c0, 0xc006afe4d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0052eb0c0, 0xc006afe4d0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc005e090c0, 0xc006afe3f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0052eb0c0, 0xc006afe3f0, 0x54b170, 0xc0067c01a0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc006afe3f0, 0x0, 0x0, 0x0, 0x0, 0xc006afe3f0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc00679e9c0, 0x0, 0x0, 0x0, 0x1800, 0xc0067af000, 0x177f, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0067af000, 0x177f, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc00529d620) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0052eb518, 0xc00000f260, 0xc0067d0a40) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9920, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1434 [semacquire]: strings.genSplit(0xc006aae900, 0x80c, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0xe1, 0xe1) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00560b3c0, 0xaa04f9, 0x2, 0xc0056bed00, 0x80c, 0x1, 0xe1, 0xc000e0e3e0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc0056bed00, 0x80c, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00560b518, 0xc00000f8e0, 0x9e, 0xc003370dc0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9c20, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1435 [semacquire]: regexp.onePassCopy(0xc005472090, 0xc005472090) /usr/local/go/src/regexp/onepass.go:225 +0x5d regexp.compileOnePass(0xc005472090, 0xc005472090) /usr/local/go/src/regexp/onepass.go:497 +0x11b regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc006bdcff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc006bdcff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc005f62690) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc006bdcff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc006bdcff8, 0x1, 0xc002a841e0, 0xc0102b93180, 0x2804b42a3c28) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc006bdcff8, 0x4, 0xd1a, 0xc001023201, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc001023000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203001, 0xc00232e5b0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc005472060, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0051e18f8, 0xc005522c00, 0x11b8, 0xbbd0b5d082d1b8d0, 0xb2d082d181d18cd1, 0x20b5d0bdd020bed0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0004f9e60, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1436 [semacquire]: regexp.(*Regexp).replaceAll(0xc00480b400, 0x0, 0x0, 0x0, 0xc00668e000, 0x6ba, 0x2, 0xc005753218, 0xc00668e000, 0x6ba, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc00480b400, 0xc00668e000, 0x6ba, 0xaa0378, 0x1, 0x1, 0x10) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc003f11518, 0xc00187e900, 0xc005b54060) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003073740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1437 [semacquire]: github.com/fatih/set.(*Set).Add(0xc00230db00, 0xc00560d2c0, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:35 +0xcd github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00560d3c0, 0xaa05c9, 0x2, 0xc002344300, 0x69e, 0x1, 0xde, 0xc00230dae0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc002344300, 0x69e, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00560d518, 0xc00187e920, 0x65, 0xc004bdc540) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e180, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1438 [semacquire]: strings.genSplit(0xc006c9e000, 0x15fc, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0x42fa20, 0x250, 0x250) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0056073c0, 0xaa058b, 0x2, 0xc003e0d000, 0x15fc, 0x13, 0x250, 0xc001563ee0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc003e0d000, 0x15fc, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005607518, 0xc00187ed00, 0x35, 0xc002ea0780) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc00359e660, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1439 [semacquire]: strings.genSplit(0xc002b43800, 0x165b, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc002402000, 0x280, 0x280) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc000b793c0, 0xaa059b, 0x2, 0xc004f9f000, 0x165b, 0x1, 0x280, 0xc004649f20) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc004f9f000, 0x165b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000b79518, 0xc004649bc0, 0x7d, 0xc00231f000) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0420, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1440 [runnable]: strings.Index(0xc004157b00, 0x800, 0xaa0378, 0x1, 0x157) /usr/local/go/src/strings/strings.go:1028 +0x67a strings.genSplit(0xc004157b00, 0x800, 0xaa0378, 0x1, 0x0, 0x157, 0xc005f56800, 0x158, 0x158) /usr/local/go/src/strings/strings.go:260 +0xf3 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0059a13c0, 0xaa04fd, 0x2, 0xc002946000, 0x800, 0xa, 0x158, 0xc001af56c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc002946000, 0x800, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0059a1518, 0xc005dd61a0, 0x5b, 0xc004a2c2a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0960, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1441 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc001b4bce0, 0x61, 0x2, 0xc006c2e1d0, 0x0, 0xc006c2e270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc001b4bce0, 0x61, 0xaa0378, 0x1, 0xc004089a80, 0x5) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c2e3d8, 0xc00065aa10, 0xc003122790, 0xc006c2e308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2e3d8, 0xc00065a9a0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006c2f0c0, 0xc00065a9a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006c2f0c0, 0xc00065a9a0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2f0c0, 0xc00065a8c0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0056990c0, 0xc00065a8c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0056990c0, 0xc00065a8c0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2f0c0, 0xc00065a7e0, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0056990c0, 0xc00065a7e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0056990c0, 0xc00065a7e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2f0c0, 0xc001367f80, 0xc004464000, 0x7f1cb42a3560) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc0056990c0, 0xc001367f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0056990c0, 0xc001367f80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006c2f0c0, 0xc001367ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc0056990c0, 0xc001367ea0, 0x54b170, 0xc0001085b0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc001367ea0, 0x0, 0x0, 0x0, 0x0, 0xc001367ea0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc0062b4810, 0x0, 0x0, 0x0, 0xa80, 0xc001fc2a80, 0xa5e, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc001fc2a80, 0xa5e, 0x0, 0x0, 0x0, 0xffffffffffffffff, 0xc0056992b8, 0x3f00006b01795f78, 0x75bd50) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc005699518, 0xc005dd78c0, 0xc004c4c100) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0ae0, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1442 [semacquire]: regexp.makeOnePass.func1(0x6, 0xc0066b9f30, 0x10, 0x10, 0x1) /usr/local/go/src/regexp/onepass.go:383 +0xb9b regexp.makeOnePass(0xc0030455f0, 0xc0030455f0) /usr/local/go/src/regexp/onepass.go:448 +0x398 regexp.compileOnePass(0xc001cd4330, 0xc001cd4330) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xac0e09, 0x13, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc003ab4ff8, 0x0, 0xac0dfd, 0xa) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc003ab4ff8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4, 0xc001f73cac) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc003ab4ff8, 0x1189c00, 0x1, 0x1, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc003ab4ff8, 0x1, 0xc003091440, 0xc01046b4a80, 0x2804b42a5080) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc003ab4ff8, 0x4, 0xc0d, 0xc0026ae301, 0x115d6b1300000004, 0x5c50400005604) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xac0df8, 0x25, 0xc0026ae000, 0x1000, 0x1000, 0x0, 0x8) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xac0df8, 0x25, 0x203000, 0xc0008da0d0, 0x1) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001cd4300, 0xac0df8, 0x25, 0x8) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.Crawler.GetContentType(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:43 +0x52 github.com/advancedlogic/GoOse.Crawler.GetCharset(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:57 +0x89 github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc003ab58f8, 0xc003c8a500, 0x23ae, 0x2, 0x1, 0x1) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:93 +0x1d6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc002ec0cc0, 0x59) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1418 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc001da4750, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc001da4820, 0xc002a8a770, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0000bfcc0, 0x0, 0x0, 0x0, 0xc005887200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0000bfcc0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0058878f8, 0xc002471500, 0x1401, 0xc0045d1260, 0x3, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003394d80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1419 [semacquire]: golang.org/x/net/html.(*Tokenizer).Token(0xc001da4b60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/golang.org/x/net/html/token.go:1175 +0x3a8 golang.org/x/net/html.(*parser).parse(0xc001da4c30, 0xc002a8bc70, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2285 +0xc1 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc0000bfd00, 0x0, 0x0, 0x0, 0xc0041a5200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc0000bfd00, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0041a58f8, 0xc0061aaa00, 0x131f, 0xc0045d1260, 0x3, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003394e40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1420 [semacquire]: bytes.(*Buffer).String(...) /usr/local/go/src/bytes/buffer.go:65 github.com/PuerkitoBio/goquery.(*Selection).Html(0xc0034921e0, 0x267dc2db4, 0x1251a20, 0xc0000bfd80, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/property.go:109 +0x113 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:121 +0x1b7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003394f00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1421 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004637588, 0xaa058b, 0x2, 0xc006294e00, 0x36c, 0x7, 0xc004637290, 0x42d308) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore.func1(0x4, 0xc00513e180) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:635 +0x82 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc005c6bdd0, 0xc004637320, 0x1) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*ContentExtractor).getSiblingsScore(0xc004637518, 0xc005c6bad0, 0xc0046490a0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:633 +0xa5 github.com/advancedlogic/GoOse.(*ContentExtractor).addSiblings(0xc004637518, 0xc005c6bad0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:697 +0x57 github.com/advancedlogic/GoOse.(*ContentExtractor).PostCleanup(0xc004637518, 0xc005c6bad0, 0xc005c6bad0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:718 +0x3f github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:158 +0x788 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003394fc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1422 [syscall]: _/home/ec2-user/environment/cluster2/cluster2/fasttgo._Cfunc_NewHandle(0x7f1c8a200ee0, 0x0) _cgo_gotypes.go:80 +0x4a _/home/ec2-user/environment/cluster2/cluster2/fasttgo.Open(0xc000f2df00, 0xd, 0x0) /home/ec2-user/environment/cluster2/cluster2/fasttgo/fasttext.go:124 +0x83 _/home/ec2-user/environment/cluster2/cluster2/base.GetModelInstance(0xc000f2def0, 0x7, 0x5) /home/ec2-user/environment/cluster2/cluster2/base/model.go:19 +0x117 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PredictCategory(0xaa058b, 0x2, 0xc004e2aa80, 0x963, 0x572a20, 0xc0001fb5e0, 0xaa0378) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:28 +0x75 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc006192c00, 0x72, 0xc004e2aa80, 0x963, 0xc004e2aa80, 0x963, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:19 +0xd9 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc006192c00, 0x72, 0xc004e2aa80, 0x963, 0xaa0378, 0x1, 0xc004e2aa80, 0x963, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395080, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1423 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.LangToStringShort(0x3c, 0x62f, 0x0) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesUtil.go:199 +0x56 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.Lang.Iso6391(...) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languagesUtil.go:191 _/home/ec2-user/environment/cluster2/cluster2/languagesDetect.DetectLang(0xc005b70e00, 0x62f, 0x62f, 0x700) /home/ec2-user/environment/cluster2/cluster2/languagesDetect/languages.go:48 +0x4b _/home/ec2-user/environment/cluster2/cluster2/newsDetect.DetectCategories(0xc00316bdc0, 0x62, 0xc005b70e00, 0x62f, 0xc005b70e00, 0x62f, 0xc001091e00, 0x0, 0x0) /home/ec2-user/environment/cluster2/cluster2/newsDetect/categories.go:11 +0x3c _/home/ec2-user/environment/cluster2/cluster2/newsDetect.PrepareThreads(0xc00316bdc0, 0x62, 0xc005b70e00, 0x62f, 0xaa0378, 0x1, 0xc005b70e00, 0x62f, 0x11, 0xacd3bb) /home/ec2-user/environment/cluster2/cluster2/newsDetect/threads.go:13 +0x4d _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395140, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:307 +0x3ae created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1425 [semacquire]: strings.(*Builder).grow(...) /usr/local/go/src/strings/builder.go:68 strings.(*Builder).Grow(...) /usr/local/go/src/strings/builder.go:82 strings.Map(0xae62d0, 0xc006c6d000, 0xef1, 0x5165d7, 0xc004464000) /usr/local/go/src/strings/strings.go:485 +0x4b7 strings.ToLower(0xc006c6d000, 0xef1, 0xc0006e704c, 0x4) /usr/local/go/src/strings/strings.go:610 +0x8f github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0004033c0, 0xaa058b, 0x2, 0xc006c6d000, 0xef1, 0xc006c6d000, 0xc0004033b0, 0x7544a2) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:75 +0x98 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc006c6d000, 0xef1, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc000403518, 0xc00230d3a0, 0x9b, 0xc0034eb900) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033952c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1458 [runnable]: strings.genSplit(0xc001824919, 0x23ca, 0xaa0378, 0x1, 0x0, 0x448, 0xc0060bb800, 0x449, 0x449) /usr/local/go/src/strings/strings.go:264 +0x133 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0057573c0, 0xaa0503, 0x2, 0xc0063a3000, 0x2ce3, 0x15, 0x449, 0xc006b54400) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc0063a3000, 0x2ce3, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc005757518, 0xc000d801c0, 0x90, 0xc005d12d91) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395380, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1459 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc0062683f0, 0x82, 0x2, 0xc006d121d0, 0x0, 0xc006d12270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc0062683f0, 0x82, 0xaa0378, 0x1, 0xc004089900, 0x2) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006d123d8, 0xc003276850, 0xc0063b6000, 0xc006d12308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d123d8, 0xc0032767e0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006d130c0, 0xc0032767e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006d130c0, 0xc0032767e0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d130c0, 0xc003276700, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00228f0c0, 0xc003276700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00228f0c0, 0xc003276700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d130c0, 0xc003276620, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00228f0c0, 0xc003276620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00228f0c0, 0xc003276620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d130c0, 0xc0020b5110, 0x7f1c8c306aa8, 0x8) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00228f0c0, 0xc0020b5110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00228f0c0, 0xc0020b5110, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006d130c0, 0xc0020b4a80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00228f0c0, 0xc0020b4a80, 0x54b170, 0xc0008db110) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc0020b4a80, 0x0, 0x0, 0x0, 0x0, 0xc0020b4a80, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc001ec9620, 0x0, 0x0, 0x0, 0x1000, 0xc003d6a000, 0xf67, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc003d6a000, 0xf67, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc006b56300) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00228f518, 0xc006b6ae00, 0xc006b6b640) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395440, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1460 [runnable]: strings.genSplit(0xc006840a00, 0x33a5, 0xaa0378, 0x1, 0x0, 0x446, 0xc006c11800, 0x447, 0x447) /usr/local/go/src/strings/strings.go:264 +0x133 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc00255b3c0, 0xaa0569, 0x2, 0xc00685c000, 0x33a5, 0x1, 0x447, 0xc001e2c5a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc00685c000, 0x33a5, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc00255b518, 0xc001109180, 0x7c, 0xc00231ff00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395500, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1461 [semacquire]: regexp.(*Regexp).replaceAll(0xc00011d360, 0x0, 0x0, 0x0, 0xc0010b9ef0, 0xa4, 0x2, 0xc006a821d0, 0x0, 0xc006a82270, ...) /usr/local/go/src/regexp/regexp.go:597 +0x57 regexp.(*Regexp).ReplaceAllString(0xc00011d360, 0xc0010b9ef0, 0xa4, 0xaa0378, 0x1, 0xc004089900, 0x2) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006a823d8, 0xc00541b030, 0xc0063b6000, 0xc006a82308) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:402 +0xb0 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006a823d8, 0xc00541afc0, 0xc000000001, 0x7) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc006a830c0, 0xc00541afc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:155 +0x7cc github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc006a830c0, 0xc00541afc0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006a830c0, 0xc00541aee0, 0xc000000001, 0x5) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00206f0c0, 0xc00541aee0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00206f0c0, 0xc00541aee0, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006a830c0, 0xc00541ae00, 0xc000000001, 0x3) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00206f0c0, 0xc00541ae00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00206f0c0, 0xc00541ae00, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006a830c0, 0xc00541a700, 0xc00206ed00, 0x46a800) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).handleElement(0xc00206f0c0, 0xc00541a700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:286 +0x4aa github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00206f0c0, 0xc00541a700, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:407 +0xf4 github.com/jaytaylor/html2text.(*textifyTraverseContext).traverseChildren(0xc006a830c0, 0xc00541a620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:413 +0x4e github.com/jaytaylor/html2text.(*textifyTraverseContext).traverse(0xc00206f0c0, 0xc00541a620, 0x54b170, 0xc0067c0820) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:395 +0x125 github.com/jaytaylor/html2text.FromHTMLNode(0xc00541a620, 0x0, 0x0, 0x0, 0x0, 0xc00541a620, 0x0, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:76 +0xab github.com/jaytaylor/html2text.FromReader(0xb7b620, 0xc004105020, 0x0, 0x0, 0x0, 0x1300, 0xc0059e3900, 0x1213, 0x0) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:97 +0xd3 github.com/jaytaylor/html2text.FromString(0xc0059e3900, 0x1213, 0x0, 0x0, 0x0, 0x8, 0xffffffffffffffff, 0x4, 0xc004bb1540) /home/develop/go/src/github.com/jaytaylor/html2text/html2text.go:103 +0x128 github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc00206f518, 0xc00230d680, 0xc0067d1a60) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:291 +0xf3 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033955c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1462 [semacquire]: strings.makeCutsetFunc(0xaa4e4b, 0x5, 0xc0047b3d48) /usr/local/go/src/strings/strings.go:830 +0x4a strings.TrimLeft(0xc006af1580, 0x5, 0xaa4e4b, 0x5, 0x5, 0x0) /usr/local/go/src/strings/strings.go:855 +0x61 golang.org/x/net/html.inHeadIM(0xc006adca90, 0x7f1c00000000) /home/develop/go/src/golang.org/x/net/html/parse.go:626 +0x969 golang.org/x/net/html.(*parser).parseCurrentToken(0xc006adca90) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc006adca90, 0xc0069e5ce0, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002e4f660, 0x0, 0x0, 0x0, 0xc005aa9200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002e4f660, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc005aa98f8, 0xc0069b7000, 0x15e9, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395680, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1463 [semacquire]: regexp.makeOnePass.func1(0x2, 0xc0069536a0, 0xf, 0xf, 0x42ca96) /usr/local/go/src/regexp/onepass.go:381 +0xad2 regexp.makeOnePass.func1(0x1, 0xc0069536a0, 0xf, 0xf, 0x4) /usr/local/go/src/regexp/onepass.go:358 +0x5d7 regexp.makeOnePass(0xc004ade540, 0xc004ade540) /usr/local/go/src/regexp/onepass.go:448 +0x398 regexp.compileOnePass(0xc004ade4e0, 0xc004ade4e0) /usr/local/go/src/regexp/onepass.go:500 +0x129 regexp.compile(0xabc10c, 0x11, 0xd4, 0x10, 0xa2acc0, 0x4) /usr/local/go/src/regexp/regexp.go:189 +0x106 regexp.Compile(...) /usr/local/go/src/regexp/regexp.go:133 github.com/andybalholm/cascadia.(*parser).parseRegex(0xc006359300, 0x0, 0xabc106, 0x4) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:246 +0xc2 github.com/andybalholm/cascadia.(*parser).parseAttributeSelector(0xc006359300, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:395 +0x6ef github.com/andybalholm/cascadia.(*parser).parseSimpleSelectorSequence(0xc006359300, 0x0, 0xb856e0, 0xc00039a368, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:741 +0x616 github.com/andybalholm/cascadia.(*parser).parseSelector(0xc006359300, 0xc0067d9880, 0x0, 0x8, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:779 +0x3d github.com/andybalholm/cascadia.(*parser).parseSelectorGroup(0xc006359300, 0x42ca96, 0xc004ade4b0, 0x30, 0x28, 0xa4b3a0) /home/develop/go/src/github.com/andybalholm/cascadia/parser.go:820 +0x32 github.com/andybalholm/cascadia.ParseGroup(0xabc101, 0x1d, 0xc006359370, 0x42d308, 0x30, 0xa4b3a0, 0xb85601) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:67 +0x77 github.com/andybalholm/cascadia.Compile(0xabc101, 0x1d, 0xc0066b7b80, 0x0, 0x0) /home/develop/go/src/github.com/andybalholm/cascadia/selector.go:104 +0x39 github.com/PuerkitoBio/goquery.compileMatcher(...) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:129 github.com/PuerkitoBio/goquery.(*Selection).Find(0xc001f4fc50, 0xabc101, 0x1d, 0x0) /home/develop/go/src/github.com/PuerkitoBio/goquery/traversal.go:24 +0x39 github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaContentWithSelector(0xc006359518, 0xc0066b7700, 0xabc101, 0x1d, 0xa6, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:174 +0x46 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:133 +0x3a7 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395740, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1464 [semacquire]: github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc004d47588, 0xaa058b, 0x2, 0xc002800700, 0x35c, 0x1, 0x2b, 0xc001e2d6c0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x261 github.com/advancedlogic/GoOse.(*ContentExtractor).CalculateBestNode(0xc004d47518, 0xc001e2c520, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:424 +0x3c6 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:156 +0x6a1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395800, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1465 [semacquire]: bytes.makeSlice(0x1d48, 0x0, 0x0, 0x0) /usr/local/go/src/bytes/buffer.go:229 +0x73 bytes.(*Buffer).grow(0xc000afda40, 0x1d48, 0x5b) /usr/local/go/src/bytes/buffer.go:142 +0x15b bytes.(*Buffer).Grow(...) /usr/local/go/src/bytes/buffer.go:161 io/ioutil.readAll(0xb7c120, 0xc00096ec40, 0x1d48, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/io/ioutil/ioutil.go:34 +0xa3 io/ioutil.ReadFile(0xc0033958c0, 0x5b, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/io/ioutil/ioutil.go:73 +0xed _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc0033958c0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:286 +0x8a created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1466 [runnable]: sync.(*RWMutex).Unlock(0xc004e23108) /usr/local/go/src/sync/rwmutex.go:118 +0xd2 github.com/fatih/set.(*Set).Add(0xc004e23100, 0xc003dbf1c8, 0x1, 0x1) /home/develop/go/src/github.com/fatih/set/set_ts.go:37 +0xfc github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc003dbf400, 0xaa058b, 0x2, 0xc003ecdb80, 0x24e, 0xc003dbf240, 0x42d308, 0x8) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:82 +0x2b5 github.com/advancedlogic/GoOse.(*outputFormatter).removeParagraphsWithFewWords.func1(0x1, 0xc003f70150) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:174 +0x86 github.com/PuerkitoBio/goquery.(*Selection).Each(0xc003f700c0, 0xc003dbf2c8, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/iteration.go:10 +0x53 github.com/advancedlogic/GoOse.(*outputFormatter).removeParagraphsWithFewWords(0xc003dbf388) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:173 +0xb0 github.com/advancedlogic/GoOse.(*outputFormatter).getFormattedText(0xc003dbf388, 0xc003c252f0, 0xaa058b, 0x2, 0x42d308, 0x8, 0x9ecc80, 0xc003dbf301, 0xc0013d1840) /home/develop/go/src/github.com/advancedlogic/GoOse/outputformatter.go:43 +0xf5 github.com/advancedlogic/GoOse.(*ContentExtractor).GetCleanTextAndLinks(0xc003dbf518, 0xc003c252f0, 0xaa058b, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:365 +0xaf github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:160 +0x7d1 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395980, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1467 [semacquire]: regexp.(*Regexp).replaceAll(0xc0023532c0, 0x0, 0x0, 0x0, 0xc004e17000, 0xe95, 0x2, 0xc00302b218, 0xc004e17000, 0xe95, ...) /usr/local/go/src/regexp/regexp.go:608 +0x573 regexp.(*Regexp).ReplaceAllString(0xc0023532c0, 0xc004e17000, 0xe95, 0xaa0378, 0x1, 0x1, 0x14) /usr/local/go/src/regexp/regexp.go:557 +0x10a github.com/advancedlogic/GoOse.(*ContentExtractor).GetPublishDate(0xc0058c1518, 0xc005c5f780, 0xc000d800e0) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:319 +0x778 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:143 +0x99d github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395a40, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1468 [semacquire]: strings.genSplit(0xc004aa7500, 0x91b, 0xaa0378, 0x1, 0x0, 0xffffffffffffffff, 0xc006bf1000, 0xf7, 0xf7) /usr/local/go/src/strings/strings.go:256 +0x68 strings.Split(...) /usr/local/go/src/strings/strings.go:308 github.com/advancedlogic/GoOse.(*StopWords).stopWordsCount(0xc0058bf3c0, 0xaa04f9, 0x2, 0xc0035f2a80, 0x91b, 0x1, 0xf7, 0xc005b54ac0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:76 +0xd8 github.com/advancedlogic/GoOse.StopWords.SimpleLanguageDetector(0xc00038a4e0, 0xc0035f2a80, 0x91b, 0x0, 0x127e7a0) /home/develop/go/src/github.com/advancedlogic/GoOse/stopwords.go:101 +0xdc github.com/advancedlogic/GoOse.(*ContentExtractor).GetMetaLanguage(0xc0058bf518, 0xc005b54740, 0x68, 0xc00036dc00) /home/develop/go/src/github.com/advancedlogic/GoOse/extractor.go:148 +0x146 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:130 +0x308 github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395b00, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1469 [semacquire]: _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395bc0, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x27d created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a goroutine 1470 [semacquire]: golang.org/x/net/html.(*parser).addElement(...) /home/develop/go/src/golang.org/x/net/html/parse.go:326 golang.org/x/net/html.inHeadIM(0xc001da4410, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:640 +0x2e8 golang.org/x/net/html.(*parser).parseCurrentToken(0xc001da4410) /home/develop/go/src/golang.org/x/net/html/parse.go:2266 +0x80 golang.org/x/net/html.(*parser).parse(0xc001da4410, 0xc00657d500, 0x0) /home/develop/go/src/golang.org/x/net/html/parse.go:2292 +0x48 golang.org/x/net/html.ParseWithOptions(0xb7c280, 0xc002ec3bc0, 0x0, 0x0, 0x0, 0xc0042bd200, 0x42d308, 0x20) /home/develop/go/src/golang.org/x/net/html/parse.go:2350 +0x10b golang.org/x/net/html.Parse(...) /home/develop/go/src/golang.org/x/net/html/parse.go:2309 github.com/PuerkitoBio/goquery.NewDocumentFromReader(0xb7c280, 0xc002ec3bc0, 0x1194, 0xaa04f9, 0x2) /home/develop/go/src/github.com/PuerkitoBio/goquery/type.go:53 +0x4a github.com/advancedlogic/GoOse.(*Crawler).Preprocess(0xc0042bd8f8, 0xc0052c5500, 0x1381, 0xc0045d1260, 0x3, 0x3) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:88 +0x147 github.com/advancedlogic/GoOse.Crawler.Crawl(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/crawler.go:111 +0x7a github.com/advancedlogic/GoOse.Goose.ExtractFromRawHTML(0xaa0378, 0x0, 0x1194, 0xaa04f9, 0x2, 0xab47fe, 0x10, 0xab52f4, 0x11, 0xacd3bb, ...) /home/develop/go/src/github.com/advancedlogic/GoOse/goose.go:33 +0x142 _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1.1(0xc000029c70, 0xc000010668, 0xc000010670, 0xc003395c80, 0x5b) /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:302 +0x2e8 created by _/home/ec2-user/environment/cluster2/cluster2/newsDetect.ThreadsCommand.func1 /home/ec2-user/environment/cluster2/cluster2/newsDetect/newsCommand.go:282 +0x18a