随笔分类 - 爬虫
node爬虫和chrome爬虫
摘要:const fs=require('fs') const path=require('path') const list=fs.readdirSync(__dirname) const objList=[] list.forEach(function (name){ if(name.indexOf(
阅读全文
摘要:axiosNovel.msj import axios from 'axios'; import fs from 'fs-extra'; import path from 'path'; import * as cheerio from 'cheerio' const instance = axio
阅读全文
摘要:'玻璃FG503:连续14天、30天内有22天,在10均线↓方', '玻璃FG505:连续14天、30天内有22天,在10均线↓方', '玻璃FG506:连续14天、30天内有21天,在10均线↓方', '玻璃FG411:连续7天、30天内有25天,在10均线↓方', '玻璃FG410:连续5天、3
阅读全文
摘要:在外网偷偷爬点小说资源 import puppeteer from 'puppeteer-core' import fs from 'fs' (async () => { const userAgent="Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Ma
阅读全文
摘要:import axios from 'axios'; import play from 'play'; const proxyAxios = axios.create({ baseURL: 'https://futsseapi.eastmoney.com/', // 代理服务器地址 }); func
阅读全文
摘要:几年之前用puppeteer做过网站测试、手机短信攻击、爬虫,但是一直没有记录,都忘记了,重新记录下 1、通过输入chrome://version/,查看chrome安装位置 2、npm i puppeteer import puppeteer from 'puppeteer-core' (asyn
阅读全文