caption-core
Advanced tools
Comparing version 2.1.1 to 2.2.0-beta1
@@ -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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3322150
9
2323
8
2
+ Addediso-639-2@^1.0.0
+ Addedthesubdb@^1.0.8
+ Addedzlib@^1.0.5
+ Addedcharenc@0.0.2(transitive)
+ Addedcrypt@0.0.2(transitive)
+ Addedfs-extra@4.0.3(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addediso-639-2@1.1.1(transitive)
+ Addedjsonfile@4.0.0(transitive)
+ Addedmd5@2.3.0(transitive)
+ Addedrequest-promise@4.2.6(transitive)
+ Addedthesubdb@1.0.8(transitive)
+ Addeduniversalify@0.1.2(transitive)
+ Addedzlib@1.0.5(transitive)
- Removediconv-lite@^0.4.19
- Removedrequest-promise-native@^1.0.5