Gospider is a powerful Golang web crawler that includes all the necessary libraries for transitioning from Python to Golang. It provides a fast and seamless transition for Python web crawlers to Golang.
- Request Library: JA3 and HTTP/2 fingerprinting. Websocket, SSE, HTTP, and HTTPS protocols.
- Concurrency Library: Self-implemented high-performance concurrency library.
- Execute JavaScript and Python: Invoke methods in JavaScript and Python through pipes.
go1.21 (Do not use a version lower than this)
Installation (Do not fetch the package from GitHub, choose either Gitee or GitHub for the go package path. Fetching from GitHub will cause path issues.)
go get -u gitee.com/baixudong/gospider
https://github.com/baixudong007/gospider
Library Name | Reason for Recommendation |
---|---|
curl_cffi | The best library for modifying JA3 fingerprints in Python. |
chromedp | The best library for browser manipulation in Golang. |