Alanaktion/comic-archiver

LICD crash after strip 5016

Opened this issue · 0 comments

The archiver failed to find a matching image URL after licd strip 5016. This could be due to rate limiting causing an error page, something weird with that specific comic, etc.

...
Downloading: licd5016-mar20_19_desktop.jpg
panic: runtime error: index out of range [1] with length 0

goroutine 6 [running]:
github.com/Alanaktion/comic-archiver/archivers.Generic(0xc0003b19a8, 0x28, 0x7ffcf8956404, 0x4, 0xc000198a00, 0x6e8ee7, 0x2d, 0xc000198b40, 0x6d0600)
        .../archivers/generic.go:32 +0x81f
github.com/Alanaktion/comic-archiver/archivers.GenericCustomStart(0x6e1f6a, 0x1a, 0xc0001988c0, 0x7ffcf8956404, 0x4, 0xc000198a00, 0x6e8ee7, 0x2d, 0xc000198b40, 0x0)
        .../archivers/generic.go:86 +0x26f
github.com/Alanaktion/comic-archiver/archivers.Archive(0x7ffcf8956404, 0x4, 0x6df020, 0x12, 0x6e1f6a, 0x1a, 0xc0001988c0, 0xc000198a00, 0x6e8ee7, 0x2d, ...)
        .../archivers/main.go:20 +0x3a5
created by main.main
        .../archiver.go:47 +0x438