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
- Host: GitHub
- URL: https://github.com/deptno/list-crawler
- Owner: deptno
- License: mit
- Created: 2017-09-17T01:24:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-27T15:51:31.000Z (about 8 years ago)
- Last Synced: 2025-06-01T05:14:05.391Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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