Skip to content

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

@Sugimoto-Dev

Description

@Sugimoto-Dev

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中结果相同, 没弄清缺了什么参数.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions