list-crawler
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

list-crawler

install

yarn add list-crawler

usage

import {crawler} from 'list-crawler'
const src = {
  'sba': {
    url: 'https://www.sba.seoul.kr/kr/sbac01l1',
    selector: 'table'
  },
  'k-startup': {
    url: 'https://www.k-startup.go.kr/common/announcement/announcementList.do?mid=30004&bid=701',
    selector: '.listwrap ul',
    noHeader: true
  }
}
const result = await Promise.all(crawler(target))
console.log(JSON.stringify(result, null, 2))

license

MIT

/list-crawler/

    Package Sidebar

    Install

    npm i list-crawler

    Weekly Downloads

    28

    Version

    0.1.2

    License

    MIT

    Last publish

    Collaborators

    • deptno