Skip to content

fetch

自己写记录,一年一万条,爬取网站,十天一万条,效率天差万别。爬取和反爬,魔高一尺,道高一丈。

const res = await fetch('...');

if (res.ok) {
  const data = await res.json();
  console.log(data);
}

联系 math@baima.site