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 }