Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

video-parser

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

video-parser - npm Package Compare versions

Comparing version 1.9.2 to 1.9.3

8

CHANGELOG.md

@@ -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

3

lib/parser.js

@@ -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",

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc