forked from 50n50/sources
Update franime/franime.js
This commit is contained in:
+3
-3
@@ -7,7 +7,7 @@ async function searchResults(keyword) {
|
|||||||
.filter(anime => anime.title.toLowerCase().includes(keyword.toLowerCase()))
|
.filter(anime => anime.title.toLowerCase().includes(keyword.toLowerCase()))
|
||||||
.map(anime => ({
|
.map(anime => ({
|
||||||
href: anime.id.toString(),
|
href: anime.id.toString(),
|
||||||
title: anime.title,
|
title: (anime.title || anime.title0),
|
||||||
image: anime.affiche
|
image: anime.affiche
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@@ -118,8 +118,8 @@ async function extractStreamUrl(id) {
|
|||||||
|
|
||||||
const streams = [];
|
const streams = [];
|
||||||
|
|
||||||
if (vf) streams.push("VOSTFR", vf);
|
if (vo) streams.push("VF", vf);
|
||||||
if (vo) streams.push("VF", vo);
|
if (vf) streams.push("VOSTFR", vo);
|
||||||
|
|
||||||
const final = {
|
const final = {
|
||||||
streams,
|
streams,
|
||||||
|
|||||||
Reference in New Issue
Block a user