diff --git a/logic_anilife.py b/logic_anilife.py index e0ef604..89f120c 100644 --- a/logic_anilife.py +++ b/logic_anilife.py @@ -21,6 +21,9 @@ import urllib # my from .lib.utils import yommi_timeit + +os.system(f"pip install playwright==1.27.1") + packages = [ "beautifulsoup4", "requests-cache", diff --git a/templates/anime_downloader_linkkf_request.html b/templates/anime_downloader_linkkf_request.html index e1276c6..2102d65 100644 --- a/templates/anime_downloader_linkkf_request.html +++ b/templates/anime_downloader_linkkf_request.html @@ -24,8 +24,8 @@
{{ macros.setting_input_text_and_buttons('code', '작품 Code', - [['analysis_btn', '분석'], ['go_ohli24_btn', 'Go OHLI24']], desc='예) - "https://ohli24.net/c/녹을 먹는 비스코" 이나 "녹을 먹는 비스코"') }} + [['analysis_btn', '분석'], ['go_linkkf_btn', 'Go 링크 애니']], desc='예) + "https://linkkf.app/코드" 나 "코드"') }}
@@ -45,7 +45,7 @@ const package_name = "{{arg['package_name'] }}"; const sub = "{{arg['sub'] }}"; - const ohli24_url = "{{arg['ohli24_url']}}"; + const linkkf_url = "{{arg['linkkf_url']}}"; const params = new Proxy(new URLSearchParams(window.location.search), { @@ -209,13 +209,13 @@ // {#document.getElementById("analysis_btn").click();#} } - if ("{{arg['ohli24_current_code']}}" !== "") { + if ("{{arg['linkkf_current_code']}}" !== "") { if (params.code === null) { console.log('params.code === null') - document.getElementById("code").value = "{{arg['ohli24_current_code']}}"; + document.getElementById("code").value = "{{arg['linkkf_current_code']}}"; } else if (params.code === '') { - document.getElementById("code").value = "{{arg['ohli24_current_code']}}"; + document.getElementById("code").value = "{{arg['linkkf_current_code']}}"; } else { console.log('params code exist') @@ -264,9 +264,9 @@ }); - $("body").on('click', '#go_ohli24_btn', function (e) { + $("body").on('click', '#go_linkkf_btn', function (e) { e.preventDefault(); - window.open("{{arg['ohli24_url']}}", "_blank"); + window.open("{{arg['linkkf_url']}}", "_blank"); }); $("body").on('click', '#all_check_on_btn', function (e) {