Fixes podcast and add more info on top

pull/3/head v3.1.1
Jéluchu 5 years ago
parent 9f4e8fc865
commit 078a75073b

@ -1,4 +1,4 @@
# **Aruppi API** (v3.1.0) # **Aruppi API** (v3.1.1)
> This API has everything about Japan, from anime, music, radio, images, videos ... to japanese culture > This API has everything about Japan, from anime, music, radio, images, videos ... to japanese culture
> >

8
package-lock.json generated

@ -1,6 +1,6 @@
{ {
"name": "aruppi", "name": "aruppi",
"version": "3.0.0", "version": "3.1.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -1163,9 +1163,9 @@
} }
}, },
"node-fetch": { "node-fetch": {
"version": "2.6.0", "version": "2.6.1",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
}, },
"normalize-url": { "normalize-url": {
"version": "4.5.0", "version": "4.5.0",

@ -1,6 +1,6 @@
{ {
"name": "aruppi", "name": "aruppi",
"version": "3.1.0", "version": "3.1.1",
"description": "Aruppi is a custom API to obtain data from the Japanese culture for the mobile app", "description": "Aruppi is a custom API to obtain data from the Japanese culture for the mobile app",
"main": "./src/api/api.js", "main": "./src/api/api.js",
"scripts": { "scripts": {
@ -50,7 +50,7 @@
"got": "^11.3.0", "got": "^11.3.0",
"helmet": "^3.23.3", "helmet": "^3.23.3",
"hooman": "^1.2.6", "hooman": "^1.2.6",
"node-fetch": "^2.6.0", "node-fetch": "^2.6.1",
"rss-to-json": "^1.1.1", "rss-to-json": "^1.1.1",
"tough-cookie": "^4.0.0" "tough-cookie": "^4.0.0"
} }

@ -49,6 +49,8 @@ const top = async (top) =>{
title: doc.title, title: doc.title,
image: doc.image_url, image: doc.image_url,
type: doc.type, type: doc.type,
score: doc.score,
link: doc.url,
startDate: doc.start_date, startDate: doc.start_date,
endDate: doc.end_date endDate: doc.end_date
})); }));
@ -115,7 +117,7 @@ const getAnitakume = async () =>{
title: doc.title, title: doc.title,
duration: doc.itunes_duration, duration: doc.itunes_duration,
created: date, created: date,
mp3: doc.enclosures.map(x => x.url) mp3: doc.enclosures[0].url
}); });
}); });

Loading…
Cancel
Save