+1
-1
| var allsubs = require('./lib/allsubs.js'); | ||
| console.log(allsubs.languages); | ||
| allsubs.get('the matrix', 1999, 'ro', 20, function(err, subs){ | ||
| allsubs.get('the matrix revolutions', 2003, 'ro', 20, function(err, subs){ | ||
| console.log(err, subs); | ||
| }); |
+1
-1
@@ -6,3 +6,3 @@ var http = require('http'), | ||
| var subs = [], | ||
| path = '/api/'+(limit || 50)+'/'+encodeURIComponent(movie_title.replace(' ', '-'))+'-'+year+'-'+(language || 'en'); | ||
| path = '/api/'+(limit || 50)+'/'+encodeURIComponent(movie_title.replace(/[_|\s]+/g, '-'))+'-'+year+'-'+(language || 'en'); | ||
@@ -9,0 +9,0 @@ var req = http.request({ |
+1
-1
| { | ||
| "name": "allsubs", | ||
| "version": "0.1.2", | ||
| "version": "0.1.3", | ||
| "description": "A node.js module for allsubs.org API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
4505
0.42%