2021-01-08
Node 做个简单小爬虫
你也想做这个小demo?
总共有四步:
安装node
复制一下代码
node运行下
localhost:3001直接访问
很简单,想即可操作~
let http = require('http');
http.createServer(function(req, res) {
let client = http.request({
host: 'yuedu.163.com',
method: 'get',
port: '
原创
2021-01-08 17:36:39 ·
94 阅读 ·
0 评论