0.1.2 • Published 7 years ago

list-crawler v0.1.2

Weekly downloads
33
License
MIT
Repository
github
Last release
7 years ago

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

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago