anyflip-downloader icon indicating copy to clipboard operation
anyflip-downloader copied to clipboard

panic: runtime error: index out of range [1] with length 1

Open Fra-cyber-9 opened this issue 1 year ago • 0 comments

When trying to dowload a specific file I get this runtime error:

panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
main.sanitizeURL(0xc00013ea20)
        /home/runner/work/anyflip-downloader/anyflip-downloader/main.go:116 +0xf4
main.prepareDownload(0xc00013ea20)
        /home/runner/work/anyflip-downloader/anyflip-downloader/main.go:78 +0x46
main.main()
        /home/runner/work/anyflip-downloader/anyflip-downloader/main.go:52 +0x1c5

I don’t know which command to put but my file has 121 pages. If anyone can help me.

Fra-cyber-9 avatar Nov 24 '23 21:11 Fra-cyber-9