Skip to content

Commit

Permalink
Update yify endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
FlixtorMe committed Mar 30, 2015
1 parent dc8630b commit 520e6f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Based with the peerflix module and mixed with services. All of this packaged wit
![Alt text](http://i.imgur.com/tDeJw0B.png "Flixtor - Torrent sction")

## Latest build
Flixtor 2.2.4
Flixtor 2.2.5

## Websites
[Flixtor](http://www.flixtor.me)
Expand Down
4 changes: 2 additions & 2 deletions js/callwcf.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ var searchMovies = function (sort, keywords, genre, limit, page, order, callback
}
$ = window.$;

console.log("http://yts.re/api/list.json?sort="+sort+"&limit="+limit+"&genre="+genre+"&keywords="+keywords+"&order="+order+"&set="+page+"");
console.log("http://yts.to/api/list.json?sort="+sort+"&limit="+limit+"&genre="+genre+"&keywords="+keywords+"&order="+order+"&set="+page+"");
var movies = [];
var imdbIds = [];
$.getJSON("https://yts.re/api/list.json?sort="+sort+"&limit="+limit+"&genre="+genre+"&keywords="+keywords+"&order="+order+"&set="+page+"", function (data) {
$.getJSON("https://yts.to/api/list.json?sort="+sort+"&limit="+limit+"&genre="+genre+"&keywords="+keywords+"&order="+order+"&set="+page+"", function (data) {
}).success(function (data) {
if (data.status !== 'fail' || data.MovieList !== undefined ) {
$.each(data.MovieList, function (key, val) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"main": "app://host/frames/movies.html",
"name": "Flixtor",
"description": "Movie and serie streamer",
"version": "2.2.4",
"version": "2.2.5",
"repository": {
"type": "git",
"url": "git://github.com/FlixtorMe/FlixtorMe.git"
Expand Down

0 comments on commit 520e6f6

Please sign in to comment.