daum-trends
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -25,3 +25,4 @@ var async = require('async') | ||
real: require('./real'), | ||
video: require('./video') | ||
video: require('./video'), | ||
kakaotv: require('./kakaotv') | ||
} |
{ | ||
"name": "daum-trends", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"author": { | ||
@@ -20,3 +20,4 @@ "name": "egg", | ||
"video", | ||
"issue" | ||
"issue", | ||
"kakaotv" | ||
], | ||
@@ -23,0 +24,0 @@ "license": "MIT", |
@@ -22,3 +22,3 @@ # daum-trends | ||
trends.load(['real', 'video'], function (err, result) { | ||
trends.load(['real', 'video', 'kakaotv'], function (err, result) { | ||
console.log(err, JSON.stringify(result)) | ||
@@ -50,3 +50,13 @@ }) | ||
}, | ||
], | ||
// ... | ||
"kakaotv": [ | ||
{ | ||
"title": "황희찬 드리블", | ||
"link": "https://tv.kakao.com/search?q=%ED%99%A9%ED%9D%AC%EC%B0%AC+%EB%93%9C%EB%A6%AC%EB%B8%94", | ||
"type": "+", | ||
"num": 78, | ||
"ctime": 0 | ||
}, | ||
// ... | ||
] | ||
@@ -57,3 +67,3 @@ } | ||
## crawler types | ||
* `real`, `video` | ||
* `real`, `video`, `kakaotv` | ||
@@ -60,0 +70,0 @@ ### type list |
var trends = require('./') | ||
trends.load(['real', 'video'], function (err, result) { | ||
trends.load([ | ||
'real', | ||
'video', | ||
'kakaotv' | ||
], function (err, result) { | ||
console.log(err, JSON.stringify(result)) | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9239
11
166
73