Skip to content

code4fukui/scrapeutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrapeutil

sample

import { fetchOrLoad, HTMLParser, CSV, nextTag, prevTag, table2json, dl2json, table2csv, sleep } from "https://code4fukui.github.io/scrapeutil/scrapeutil.js";

const fn = "q-league-index.csv";
const url = "https://q-league.net/div/";

const html = await fetchOrLoad(url);
const dom = HTMLParser.parse(html);

const divs = dom.querySelectorAll(".item div.title a,h4");
console.log(divs.length);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published