histoirerurale collector panics
The collector panics because an out of range bug
panic: runtime error: index out of range [1] with length 1
goroutine 10 [running]:
metagrid/domains/provider/histoirerurale.(*histoireruraleCollector).OnResponse(0xc00046e020, 0xc000098900, 0xc000460101, 0xfa0680, 0xc0004b9ad0, 0xc0004a5080)
/home/tmen/go/src/metagrid/domains/provider/histoirerurale/histoirerurale.go:119 +0x11af
metagrid/collect.(*Collect).onResponse(0xc000394640, 0xc000098900)
/home/tmen/go/src/metagrid/collect/collect.go:154 +0x244
github.com/gocolly/colly/v2.(*Collector).handleOnResponse(0xc0004f8000, 0xc000098900)
/home/tmen/go/pkg/mod/github.com/gocolly/colly/v2@v2.1.0/colly.go:1035 +0x69
github.com/gocolly/colly/v2.(*Collector).fetch(0xc0004f8000, 0xc00058e580, 0x34, 0xc00070b858, 0x3, 0x0, 0xf99ba0, 0xc000479680, 0xc000250d90, 0xc000479740, ...)
/home/tmen/go/pkg/mod/github.com/gocolly/colly/v2@v2.1.0/colly.go:674 +0x46c
github.com/gocolly/colly/v2.(*Collector).scrape(0xc0004f8000, 0xc00058e580, 0x34, 0xc00070b858, 0x3, 0x0, 0xf99ba0, 0xc000479680, 0xc000250d90, 0xc000479740, ...)
/home/tmen/go/pkg/mod/github.com/gocolly/colly/v2@v2.1.0/colly.go:577 +0x47e
github.com/gocolly/colly/v2.(*Request).Do(0xc00081dd80, 0xc0000597b8, 0x1)
/home/tmen/go/pkg/mod/github.com/gocolly/colly/v2@v2.1.0/request.go:156 +0x94
github.com/gocolly/colly/v2/queue.independentRunner(0xc000438060, 0xc0004380c0)
/home/tmen/go/pkg/mod/github.com/gocolly/colly/v2@v2.1.0/queue/queue.go:191 +0x3f
created by github.com/gocolly/colly/v2/queue.(*Queue).Run
/home/tmen/go/pkg/mod/github.com/gocolly/colly/v2@v2.1.0/queue/queue.go:135 +0x164
exit status 2