get-sauce icon indicating copy to clipboard operation
get-sauce copied to clipboard

Add rokuhentai

Open cc713 opened this issue 2 years ago • 2 comments

The htdoujin extractor issue seems to be caused by downloader.go, use 1.2.31 version works for me.

cc713 avatar Oct 30 '22 08:10 cc713

the rokuhentai extractor test failed. Please take a look at it^^ As for the https://hentaitv.fun/ extractor it's like you said the videos don't load on the website right now, which makes the hentaitv extractor fail. Don't worry about that for now 👍

gan-of-culture avatar Oct 30 '22 11:10 gan-of-culture

I can't find what's wrong. Local test returns ok. Below is what github checks returns

--- FAIL: TestExtract (0.26s)
    --- FAIL: TestExtract/Single_Gallery (0.26s)
panic: runtime error: index out of range [1] with length 0 [recovered]
	panic: runtime error: index out of range [1] with length 0

goroutine 25 [running]:
testing.tRunner.func1.2({0x6ce640, 0xc0000e21e0})
	/opt/hostedtoolcache/go/1.19.2/x64/src/testing/testing.go:1396 +0x24e
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.19.2/x64/src/testing/testing.go:1399 +0x39f
panic({0x6ce640, 0xc0000e21e0})
	/opt/hostedtoolcache/go/1.19.2/x64/src/runtime/panic.go:884 +0x212
github.com/gan-of-culture/get-sauce/extractors/rokuhentai.extractData({0x6f09e3, 0x1d})
	/home/runner/work/get-sauce/get-sauce/extractors/rokuhentai/rokuhentai.go:73 +0x4c5
github.com/gan-of-culture/get-sauce/extractors/rokuhentai.(*extractor).Extract(0xf?, {0x6f09e3?, 0x39?})
	/home/runner/work/get-sauce/get-sauce/extractors/rokuhentai/rokuhentai.go:35 +0xc5
github.com/gan-of-culture/get-sauce/extractors/rokuhentai.TestExtract.func1(0xc000085ba0)
	/home/runner/work/get-sauce/get-sauce/extractors/rokuhentai/rokuhentai_test.go:52 +0x3b
testing.tRunner(0xc000085ba0, 0xc000082ef0)
	/opt/hostedtoolcache/go/1.19.2/x64/src/testing/testing.go:1446 +0x10b
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.19.2/x64/src/testing/testing.go:1493 +0x35f
FAIL	github.com/gan-of-culture/get-sauce/extractors/rokuhentai	0.265s

cc713 avatar Oct 30 '22 14:10 cc713

Closed due to inactivity. Feel free to reopen it at a later point.

gan-of-culture avatar Feb 26 '23 10:02 gan-of-culture