Comparing version 0.0.6 to 0.0.8
10
index.js
@@ -6,3 +6,6 @@ var request = require('request'); | ||
//var urlRoot = "http://eztv.ch/"; | ||
var urlRoot = "https://eztv-proxy.net/"; | ||
var self = module.exports; | ||
@@ -12,3 +15,3 @@ | ||
request("http://eztv.it/showlist/", function (error, response, body) { | ||
request(urlRoot + "showlist/", function (error, response, body) { | ||
@@ -40,3 +43,3 @@ if (!error && response.statusCode == 200) { | ||
show.title = title; | ||
show.status = $(e).find("td").eq(1).find("font").attr("class"); | ||
show.status = $(e).find("td").eq(2).find("font").attr("class"); | ||
@@ -67,3 +70,3 @@ if (options && options.query) { | ||
request("http://eztv.it/shows/" + showId + "/", function (error, response, body) { | ||
request(urlRoot + "shows/" + showId + "/", function (error, response, body) { | ||
@@ -86,2 +89,3 @@ if (!error && response.statusCode == 200) { | ||
episode.url = $(e).find("td").eq(1).find("a").attr("href"); | ||
if (!episode.url) return; | ||
var urlRegex = episode.url.match(/\/ep\/(\d+)\/.*/); | ||
@@ -88,0 +92,0 @@ episode.id = parseInt(urlRegex[1]); |
{ | ||
"name": "eztv", | ||
"version": "0.0.6", | ||
"version": "0.0.8", | ||
"description": "EZTV API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
6630
89