diff --git a/lib/provider.js b/lib/provider.js index ffe33ff..832c917 100644 --- a/lib/provider.js +++ b/lib/provider.js @@ -34,7 +34,14 @@ function getVideoFromId(provider, videoId) { playerUrl = _ref2[4], embedCode = _ref2[5]; - return formatter(provider.name, videoId, { title: title, description: description, duration: duration, thumbnailUrl: thumbnailUrl, playerUrl: playerUrl, embedCode: embedCode }); + return formatter(provider.name, videoId, { + title: title, + description: description, + duration: duration, + thumbnailUrl: thumbnailUrl, + playerUrl: playerUrl, + embedCode: embedCode + }); }); } diff --git a/lib/providers/digiteka.js b/lib/providers/digiteka.js index caf03c9..befb870 100644 --- a/lib/providers/digiteka.js +++ b/lib/providers/digiteka.js @@ -102,7 +102,9 @@ var provider = { return fetch(searchUrl(query, provider.itemsPerPage, 1 + Math.ceil(offset / provider.itemsPerPage)), { timeout: 10000, headers: provider.headers }).then(function (res) { return res.json(); }).then(function (res) { - return _.get(res, 'results', []).map(function (_ref) { + return _.get(res, 'results', []).map( + // eslint-disable-next-line + function (_ref) { var video_id = _ref.video_id, title = _ref.title, description = _ref.description,