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

报错问题1 #99

Open
AmShadows opened this issue Apr 9, 2024 · 0 comments
Open

报错问题1 #99

AmShadows opened this issue Apr 9, 2024 · 0 comments

Comments

@AmShadows
Copy link

AmShadows commented Apr 9, 2024

Start 40 Spider...
Spider OK

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x68fc89]

goroutine 1 [running]:
github.com/pingc0y/URLFinder/util.GetProtocol({0xc0000d09f0, 0x22})
/home/runner/work/URLFinder/URLFinder/util/utils.go:122 +0xc9
github.com/pingc0y/URLFinder/crawler.Run()
/home/runner/work/URLFinder/URLFinder/crawler/run.go:138 +0x990
main.main()
/home/runner/work/URLFinder/URLFinder/main.go:15 +0x37

例如我使用-s all -m 3 -d "***.cn" -ff all.txt -o result.html,当跑了十几个后中间遇到一个无法访问或者302的url跳转时就会以上报错。

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

1 participant