Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: load: can't create DataFrame from empty slice #24

Open
Sugimoto-Dev opened this issue Dec 20, 2024 · 1 comment
Open

panic: load: can't create DataFrame from empty slice #24

Sugimoto-Dev opened this issue Dec 20, 2024 · 1 comment

Comments

@Sugimoto-Dev
Copy link

garage version 0.0.12

❯ ./garage crawl_javbus javbus_code JUQ-556
2024-12-20T03:59:17.663890+00:00	INFO	garage_jav/javbus.go:53	Visiting: https://www.javbus.com/JUQ-556
panic: load: can't create DataFrame from empty slice

goroutine 1 [running]:
main.main()
	github.com/gsxhnd/garage/garage_cmd/main.go:29 +0x56

怀疑是触发了网站的年龄检测.

用curl测试了一下, 未添加任何http header, 可以正常获取html.

CleanShot 2024-12-20 at 12 18 57@2x

之后用go测试了一下, 结果如下

CleanShot 2024-12-20 at 12 15 16@2x

尝试添加了可正常浏览bus网页的浏览器cookie到request中结果相同, 没弄清缺了什么参数.

@gsxhnd
Copy link
Owner

gsxhnd commented Dec 20, 2024

可能是重定向到年龄检测页面,也有可能是cloudflare 拦截了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants