video-parser
Advanced tools
Comparing version 1.9.2 to 1.9.3
@@ -1,2 +0,7 @@ | ||
# 1.9.1 | ||
# 1.9.3 | ||
- Update youtube parser (tags) | ||
# 1.9.2 | ||
- fixed #18 : naver tv domain. | ||
@@ -7,2 +12,3 @@ | ||
- Add redis option. (auth_pass) | ||
- Update naver tv cast parser (meta tags) | ||
@@ -9,0 +15,0 @@ # 1.9.0 |
@@ -329,3 +329,3 @@ /** | ||
var part = 'snippet,contentDetails,status,player' | ||
var fields = 'items(snippet(title,description,thumbnails,channelId,publishedAt),contentDetails(duration,definition,contentRating),status(embeddable),player(embedHtml))' | ||
var fields = 'items(snippet(title,description,thumbnails,channelId,publishedAt,tags),contentDetails(duration,definition,contentRating),status(embeddable),player(embedHtml))' | ||
var url = [ | ||
@@ -377,2 +377,3 @@ 'https://www.googleapis.com/youtube/v3/videos', | ||
ratings: ratings, | ||
tags: snippet.tags, | ||
details: { | ||
@@ -379,0 +380,0 @@ definition: details.definition, |
{ | ||
"name": "video-parser", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "egg", |
54
test.js
@@ -59,22 +59,22 @@ 'use strict' | ||
// naver tvcast | ||
'http://tv.naver.com/v/1240332/list/67096', | ||
'http://tv.naver.com/v/1205110', | ||
'http://tv.naver.com/v/505592', | ||
'http://tv.naver.com/v/582616', | ||
'http://m.tv.naver.com/v/582691', | ||
'http://m.tv.naver.com/v/582587', | ||
'http://tv.naver.com/v/582590', | ||
'http://tv.naver.com/v/584455/list/53478', | ||
'http://tv.naver.com/v/797661', | ||
'http://tvcast.naver.com/v/1240332/list/67096', | ||
'http://tvcast.naver.com/v/1205110', | ||
'http://tvcast.naver.com/v/505592', | ||
'http://tvcast.naver.com/v/582616', | ||
'http://m.tvcast.naver.com/v/582691', | ||
'http://m.tvcast.naver.com/v/582587', | ||
'http://tvcast.naver.com/v/582590', | ||
'http://tvcast.naver.com/v/584455/list/53478', | ||
'http://tvcast.naver.com/v/797661', | ||
'http://tv.naver.com/v/1371804', | ||
'http://tv.naver.com/v/1341505' | ||
// 'http://tv.naver.com/v/1240332/list/67096', | ||
// 'http://tv.naver.com/v/1205110', | ||
// 'http://tv.naver.com/v/505592', | ||
// 'http://tv.naver.com/v/582616', | ||
// 'http://m.tv.naver.com/v/582691', | ||
// 'http://m.tv.naver.com/v/582587', | ||
// 'http://tv.naver.com/v/582590', | ||
// 'http://tv.naver.com/v/584455/list/53478', | ||
// 'http://tv.naver.com/v/797661', | ||
// 'http://tvcast.naver.com/v/1240332/list/67096', | ||
// 'http://tvcast.naver.com/v/1205110', | ||
// 'http://tvcast.naver.com/v/505592', | ||
// 'http://tvcast.naver.com/v/582616', | ||
// 'http://m.tvcast.naver.com/v/582691', | ||
// 'http://m.tvcast.naver.com/v/582587', | ||
// 'http://tvcast.naver.com/v/582590', | ||
// 'http://tvcast.naver.com/v/584455/list/53478', | ||
// 'http://tvcast.naver.com/v/797661', | ||
// 'http://tv.naver.com/v/1371804', | ||
// 'http://tv.naver.com/v/1341505' | ||
@@ -95,6 +95,6 @@ // rutube | ||
// todou | ||
// 'http://www.tudou.com/programs/view/uKg4c5O0YyQ/' | ||
// 'http://www.tudou.com/v/hCgJVRch33w/&rpid=993090858&resourceId=993090858_04_05_99/v.swf' | ||
// 'http://www.tudou.com/v/hCgJVRch33w/&bid=05&rpid=993090858&resourceId=993090858_05_05_99/v.swf' | ||
// todou | ||
// 'http://www.tudou.com/programs/view/uKg4c5O0YyQ/' | ||
// 'http://www.tudou.com/v/hCgJVRch33w/&rpid=993090858&resourceId=993090858_04_05_99/v.swf' | ||
// 'http://www.tudou.com/v/hCgJVRch33w/&bid=05&rpid=993090858&resourceId=993090858_05_05_99/v.swf' | ||
] | ||
@@ -107,5 +107,5 @@ | ||
// parser.parse(function (err, video) { | ||
// console.log(JSON.stringify(video), err) | ||
// }, url[i]) | ||
parser.parse(function (err, video) { | ||
console.log(JSON.stringify(video), err) | ||
}, url[i]) | ||
} | ||
@@ -112,0 +112,0 @@ |
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
49975
1090