New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

caption-core

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caption-core - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0-beta1

resources/dexter.mp4

15

examples/download.js

@@ -6,6 +6,7 @@ const Core = require("./../dist/index");

{
name:
"Comedians in Cars.eps2.0.unm4sk-pt2.tc.1080p.WEB-DL.DD5.1.H264-NTb.srt",
downloadUrl:
"http://dl.opensubtitles.org/en/download/src-api/vrf-19bc0c59/sid-NWi9,PbRu-XVfHuV1OQ5jEwcTHd/filead/1955264178",
name: "Vikings.S04E03.PROPER.HDTV.x264-KILLERS.srt",
subtitle: {
url: "https://dl.opensubtitles.org/en/download/src-api/vrf-19a90c51/sid-NLc6F2GB58zJLo-Qd8iaELspR-4/filead/1955117623.gz"
},
encoding: "ASCII",
extention: "",

@@ -41,1 +42,7 @@ source: "opensubtitles",

);
Core.download(
{ language: "en", file: {path: `${__dirname}/../resources/dexter.mp4` }},
"thesubdb",
`${__dirname}/../resources/dexter.srt`,
)

@@ -6,1 +6,6 @@ const Core = require("./../dist/index");

.on("completed", results => console.log("All results", results));
Core.searchByFiles([
{ path: `${__dirname}/../resources/dexter.mp4`, "filename": "dexter.mp4" }
])
.on("completed", results => console.log("All results", results));
{
"name": "caption-core",
"version": "2.1.1",
"version": "2.2.0-beta1",
"description": "Download subtitles from multiple sources.",

@@ -21,3 +21,4 @@ "main": "dist/index.js",

"opensubtitles",
"addic7ed"
"addic7ed",
"thesubdb"
],

@@ -49,7 +50,8 @@ "author": {

"bluebird": "^3.5.1",
"iconv-lite": "^0.4.19",
"iso-639-2": "^1.0.0",
"lodash": "^4.17.4",
"opensubtitles-api": "^4.0.0",
"request": "^2.83.0",
"request-promise-native": "^1.0.5"
"thesubdb": "^1.0.8",
"zlib": "^1.0.5"
},

@@ -56,0 +58,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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