naver-trends

    0.1.1 • Public • Published

    naver-trends

    Scrap recent trend words(실시간 급상승, 핫토픽) on NAVER 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 trends = require('naver-trends')
     
    trends.load(['real', 'hot'], function (err, result) {
      console.log(err, JSON.stringify(result))
    })
     
    // output
    {
      "real": [
        {
          "title": "강성",
          "link": "https://search.naver.com/search.naver?where=m&sm=mtp_lve&query=%EA%B0%95%EC%84%B1",
          "type": "+",
          "num": 270,
          "ctime": 1450853340
        },
        // ...
      ],
      "hot": [
        {
          "title": "택시 홍예슬",
          "link": "https://search.naver.com/search.naver?where=m&sm=mtp_lve&query=%ED%83%9D%EC%8B%9C%20%ED%99%8D%EC%98%88%EC%8A%AC",
          "type": "0",
          "num": 0,
          "ctime": 1450846800
        },
        // ...
      ]
    }

    type list

    • +, -, 0, new

    LICENSE

    naver-trends is licensed under the MIT license.

    Install

    npm i naver-trends

    DownloadsWeekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • egg-