From 0462792bfba2a19f97723d122a910f928e17fef6 Mon Sep 17 00:00:00 2001 From: projectdx Date: Fri, 21 Oct 2022 18:01:22 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=90=EA=B8=B0=EC=A0=84=20=EC=A0=95?= =?UTF-8?q?=EB=A6=AC=202022.10.21(01.)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/anime_downloader_linkkf_category.html | 3 ++- templates/anime_downloader_ohli24_category.html | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/templates/anime_downloader_linkkf_category.html b/templates/anime_downloader_linkkf_category.html index 2f6872a..f279139 100644 --- a/templates/anime_downloader_linkkf_category.html +++ b/templates/anime_downloader_linkkf_category.html @@ -200,7 +200,8 @@ if (data.anime_list[i].wr_id !== '') { const re = /bo_table=([^&]+)/ const bo_table = data.anime_list[i].link.match(re) - // console.log(bo_table) + console.log(bo_table) + request_url = './request?code=' + data.anime_list[i].code + '&wr_id=' + data.anime_list[i].wr_id + '&bo_table=' + bo_table[1] } else { request_url = './request?code=' + data.anime_list[i].code diff --git a/templates/anime_downloader_ohli24_category.html b/templates/anime_downloader_ohli24_category.html index 37f972b..ec09c1d 100644 --- a/templates/anime_downloader_ohli24_category.html +++ b/templates/anime_downloader_ohli24_category.html @@ -201,8 +201,12 @@ if (data.anime_list[i].wr_id !== '') { const re = /bo_table=([^&]+)/ const bo_table = data.anime_list[i].link.match(re) - // console.log(bo_table) - request_url = './request?code=' + data.anime_list[i].code + '&wr_id=' + data.anime_list[i].wr_id + '&bo_table=' + bo_table[1] + console.log(bo_table) + if (bo_table != null) { + request_url = './request?code=' + data.anime_list[i].code + '&wr_id=' + data.anime_list[i].wr_id + '&bo_table=' + bo_table[1] + } else { + request_url = './request?code=' + data.anime_list[i].code + } } else { request_url = './request?code=' + data.anime_list[i].code }