rust写个简单爬虫
[dependencies]
scraper = “0.12.0”
reqwest = { version = “0.11.10”, features = [“blocking”, “json”] }
surf = “2.3.2”
tokio = { version = “1.17.0”, features = [“full”] }
futures = “0.3.21”
[dependencies]
scraper = “0.12.0”
reqwest = { version = “0.11.10”, features = [“blocking”, “json”] }
surf = “2.3.2”
tokio = { version = “1.17.0”, features = [“full”] }
futures = “0.3.21”
首先我们知道使用https://www.rust-lang.org/zh-CN/官方下载器下载安装的rust主要有两个文件夹,而且会默认生成到C盘下。但是,我们通过修改环境变量可以自定义安装路径。此教…