From 68c2ae472105259e2fd3d536bae16d8d86dc53b6 Mon Sep 17 00:00:00 2001 From: fzlins Date: Sat, 26 Nov 2022 15:31:54 -0500 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0=E5=AF=B9HUNO=E7=9A=84?= =?UTF-8?q?=E6=94=AF=E6=8C=81=EF=BC=9B=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=96=B0=E7=89=88UNIT3D=E7=AB=99=E7=82=B9=E5=9C=A8=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E7=BB=93=E6=9E=9C=E4=B8=AD=E4=B8=8D=E8=83=BD=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E8=8E=B7=E5=8F=96=E7=A7=8D=E5=AD=90=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/schemas/UNIT3D/getSearchResult.js | 2 +- resource/sites/hawke.uno/config.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 resource/sites/hawke.uno/config.json diff --git a/resource/schemas/UNIT3D/getSearchResult.js b/resource/schemas/UNIT3D/getSearchResult.js index 43aa65f92..afc7b0ba4 100644 --- a/resource/schemas/UNIT3D/getSearchResult.js +++ b/resource/schemas/UNIT3D/getSearchResult.js @@ -70,7 +70,7 @@ } // 大小 - if (cell.find("i.fa-database").length) { + if (cell.attr('class').indexOf("torrent-listings-size") > -1 || cell.find("i.fa-database").length) { fieldIndex.size = index; continue; } diff --git a/resource/sites/hawke.uno/config.json b/resource/sites/hawke.uno/config.json new file mode 100644 index 000000000..a2831fe21 --- /dev/null +++ b/resource/sites/hawke.uno/config.json @@ -0,0 +1,10 @@ +{ + "name": "HUNO", + "timezoneOffset": "+0000", + "schema": "UNIT3D", + "url": "https://hawke.uno/", + "icon": "https://hawke.uno/favicon.ico", + "tags": ["影视"], + "host": "hawke.unoz", + "collaborator": ["fzlins"] +} \ No newline at end of file