From d14d6c6208323fa6c0384ac79a9ce375df65255a Mon Sep 17 00:00:00 2001 From: Kuros-charm <77721090+Kuros-charm@users.noreply.github.com> Date: Fri, 24 Nov 2023 19:26:32 +0800 Subject: [PATCH] Prevent error if name and url not found in a episodes --- repo/anime.girigirilove.com.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/repo/anime.girigirilove.com.js b/repo/anime.girigirilove.com.js index dfea036..801b001 100644 --- a/repo/anime.girigirilove.com.js +++ b/repo/anime.girigirilove.com.js @@ -116,11 +116,11 @@ export default class extends Extension { playListTitle.forEach((element, index)=>{ const stream_title = element.match(/> (.+?)/g).map((ep_element) => { - return{ - name:ep_element.match(/>(\w+)(\w+) episodes.name && episodes.url); episodes.push({ title:stream_title, urls:ep_list @@ -152,4 +152,4 @@ export default class extends Extension { console.log(m3u8_link) return m3u8_link } -} \ No newline at end of file +}