An open API service indexing awesome lists of open source software.

https://github.com/deptno/list-crawler

extract table strings
https://github.com/deptno/list-crawler

Last synced: 3 months ago
JSON representation

extract table strings

Awesome Lists containing this project

README

          

# list-crawler

## install

```bash
yarn add list-crawler
```

## usage

```typescript
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