This commit is contained in:
Wise Colt
2020-04-19 21:25:07 +03:00
parent e290090f3d
commit e7d258e20b
2 changed files with 3 additions and 3 deletions

View File

@@ -45,11 +45,11 @@ class FlixInfo {
xmlMode: true
});
const imdbResult = $('[class="imdbRatingPlugin"]').length;
let netflixButton = null;
try {
netflixButton = /class=\"btn btn-primary watch-on-netflix\"(.*?)/img.exec(body)[0];
netflixButton = /class=\"btn btn-danger btn-block watch-on-service\"(.*?)/img.exec(body)[0];
} catch (error) {
returnResult = { error: 1, errorMsg: 'this content was not found!' };
reject(returnResult)