diff --git a/README.md b/README.md index 21c0a83..23985a7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# **Aruppi API** (v2.6.0) +# **Aruppi API** (v2.6.1) > This API has everything about Japan, from anime, music, radio, images, videos ... to japanese culture > diff --git a/package.json b/package.json index ad7965d..83b25b8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aruppi", - "version": "2.6.0", + "version": "2.6.1", "description": "Aruppi is a custom API to obtain data from the Japanese culture for the mobile app", "main": "./src/api/api.js", "scripts": { diff --git a/src/api/index.js b/src/api/index.js index 391f533..236849d 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -7,7 +7,7 @@ router.get('/', (req, res) => { res.json({ message: 'Aruppi API - 🎏', author: 'Jéluchu', - version: '2.6.0', + version: '2.6.1', credits: 'The bitch loves APIs that offers data to Aruppi App', entries: [ { diff --git a/src/utils/index.js b/src/utils/index.js index 0831a4f..0dcf90c 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -61,10 +61,14 @@ async function videoServersJK(id) { Array.from({length: serverTempList.length} , (v , k) =>{ let name = serverNames[k]; let video = serverTempList[k]; - serverList.push({server: name, video: video}); + serverList.push({ + id: name.toLowerCase(), + url: video, + direct: true + }); }); serverList = serverList.filter(function( obj ) { - return obj.server !== 'Xtreme S'; + return obj.id !== 'xtreme s'; }); return await Promise.all(serverList);