JSPM

datalab

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q19860F
  • License MIT

naver data lab data crawler for Node.js

Package Exports

  • datalab

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (datalab) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

datalab

naver data lab crawler for Node.js

The unofficial module to crawl the content of the site. Therefore, whenever it may not be a normal operation, if problems occur, please add the issue.

version download

js-standard-style

Usage

var datalab = require('./')

datalab.load([
  datalab.TARGETS.SINGLE_MAN,
  datalab.TARGETS.BOOK
], function (err, result) {
  console.log(err, JSON.stringify(result))
})
[
  {
    "title": "싱글남",
    "key": "single_man",
    "items": [
      "국세청 홈텍스",
      "쯔위사태 대만반응",
      "응답하라 1988",
      "기아 k7 풀체인지",
      "복면가왕 캣츠걸",
      "셀트리온",
      "이란 경제 제재 해제",
      "eq900",
      "레버넌트:죽음에서 돌아온 자",
      "민원24 주민등록등본"
    ],
    "ctime": "2016-01-18T05:00:00+00:00"
  },
  {
    "title": "책",
    "key": "book",
    "items": [
      "미움받을용기",
      "나미야잡화점의기적",
      "데미안",
      "이기적유전자",
      "비밀의정원",
      "나는단순하게살기로했다",
      "지적대화를위한넓고얕은지식",
      "나의라임오렌지나무",
      "영단기토익rc",
      "오베라는남자"
    ],
    "ctime": "2016-01-16T15:00:00+00:00"
  }
]

TARGETS

{
  "TV": "tv",
  "BOOK": "book",
  "MOVIE": "movie",
  "CONCERT": "concert",
  "CAR": "car",
  "GAME": "game",
  "SINGLE_MAN": "single_man",
  "SINGLE_WOMAN": "single_woman",
  "HOUSEWIFE": "housewife",
  "COLLEGE_STUDENT": "college_student",
  "TEENAGER": "teenager"
}

LICENSE

datalab is licensed under the MIT license.