From 70e2a1231238470c14c4b16e8eebe3dfada3f472 Mon Sep 17 00:00:00 2001 From: LiLittleCat Date: Thu, 18 May 2023 20:34:04 +0800 Subject: [PATCH] feat: update Build step --- data/abnormal-websites.json | 122 +++-- data/normal-websites.json | 456 +++++++++++++----- .../com.lilittlecat/freechatgpt/Build.java | 41 +- .../com.lilittlecat/freechatgpt/Website.java | 1 + 4 files changed, 460 insertions(+), 160 deletions(-) diff --git a/data/abnormal-websites.json b/data/abnormal-websites.json index 508409a..24efe8b 100644 --- a/data/abnormal-websites.json +++ b/data/abnormal-websites.json @@ -3,60 +3,64 @@ "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":1, + "id":2, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-20", + "reportedInvalidDate":"2023-04-28", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"http://www.tdchatd.us/" + "url":"https://gpt.gpt0.icu" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":2, + "id":3, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-28", + "reportedInvalidDate":"2023-04-21", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://gpt.gpt0.icu" + "url":"https://chat2.zhuleixx.top/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":3, + "id":1, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-21", + "reportedInvalidDate":"2023-04-20", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://chat2.zhuleixx.top/" + "url":"http://www.tdchatd.us/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":4, "labels":null, @@ -75,6 +79,7 @@ "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":5, "labels":null, @@ -93,6 +98,7 @@ "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":6, "labels":null, @@ -111,6 +117,7 @@ "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":7, "labels":null, @@ -129,6 +136,7 @@ "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":8, "labels":null, @@ -147,6 +155,7 @@ "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":9, "labels":null, @@ -165,6 +174,7 @@ "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":10, "labels":null, @@ -183,26 +193,28 @@ "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":11, + "id":14, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-04", + "reportedInvalidDate":"2023-04-10", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://freegpt.one" + "url":"http://gitopenchina.gitee.io/freechatgpt" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":12, + "id":11, "labels":null, "lang":null, "previewUrl":null, @@ -213,14 +225,15 @@ "status":null, "title":null, "updatedDate":null, - "url":"http://gitopenchina.gitee.io/gpt" + "url":"https://freegpt.one" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":13, + "id":12, "labels":null, "lang":null, "previewUrl":null, @@ -231,30 +244,32 @@ "status":null, "title":null, "updatedDate":null, - "url":"http://gitopenchina.gitee.io/chatgpt" + "url":"http://gitopenchina.gitee.io/gpt" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":14, + "id":13, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-10", + "reportedInvalidDate":"2023-04-04", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"http://gitopenchina.gitee.io/freechatgpt" + "url":"http://gitopenchina.gitee.io/chatgpt" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":15, "labels":null, @@ -273,44 +288,47 @@ "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":16, + "id":18, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-03", + "reportedInvalidDate":"2023-04-04", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://qachat.cn/" + "url":"https://chat.tgbot.co/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":17, + "id":19, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-01", + "reportedInvalidDate":"2023-04-04", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://www.askme.mom/" + "url":"https://chatgpt.ddiu.me" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":18, + "id":21, "labels":null, "lang":null, "previewUrl":null, @@ -321,14 +339,15 @@ "status":null, "title":null, "updatedDate":null, - "url":"https://chat.tgbot.co/" + "url":"https://chat.yqcloud.top/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":19, + "id":24, "labels":null, "lang":null, "previewUrl":null, @@ -339,68 +358,72 @@ "status":null, "title":null, "updatedDate":null, - "url":"https://chatgpt.ddiu.me" + "url":"https://www.aitoolgpt.com/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":20, + "id":26, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-03-22", + "reportedInvalidDate":"2023-04-04", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://xc.com/" + "url":"https://chat.ninvfeng.xyz/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":21, + "id":16, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-04", + "reportedInvalidDate":"2023-04-03", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://chat.yqcloud.top/" + "url":"https://qachat.cn/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":22, + "id":17, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-03-22", + "reportedInvalidDate":"2023-04-01", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://www.scyu.app/" + "url":"https://www.askme.mom/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":23, + "id":20, "labels":null, "lang":null, "previewUrl":null, @@ -411,32 +434,34 @@ "status":null, "title":null, "updatedDate":null, - "url":"https://chatgpt-flutter.h7ml.cn" + "url":"https://xc.com/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":24, + "id":22, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-04", + "reportedInvalidDate":"2023-03-22", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://www.aitoolgpt.com/" + "url":"https://www.scyu.app/" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":25, + "id":23, "labels":null, "lang":null, "previewUrl":null, @@ -447,24 +472,25 @@ "status":null, "title":null, "updatedDate":null, - "url":"https://chatapi.qload.cn" + "url":"https://chatgpt-flutter.h7ml.cn" }, { "addedDate":null, "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":26, + "id":25, "labels":null, "lang":null, "previewUrl":null, - "reportedInvalidDate":"2023-04-04", + "reportedInvalidDate":"2023-03-22", "reportedInvalidReason":null, "score":null, "sourceInfo":null, "status":null, "title":null, "updatedDate":null, - "url":"https://chat.ninvfeng.xyz/" + "url":"https://chatapi.qload.cn" } ] \ No newline at end of file diff --git a/data/normal-websites.json b/data/normal-websites.json index ae81cfc..dd8a1de 100644 --- a/data/normal-websites.json +++ b/data/normal-websites.json @@ -1,8 +1,9 @@ [ { - "addedDate":"2023-04-20", + "addedDate":"2023-05-16", "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":1, "labels":null, @@ -15,12 +16,13 @@ "status":null, "title":null, "updatedDate":null, - "url":"https://chatbot.theb.ai/" + "url":"https://gpt4.gravityengine.cc/" }, { "addedDate":"2023-04-20", "customDescription":null, "description":null, + "extraInfo":null, "features":null, "id":2, "labels":null, @@ -33,14 +35,34 @@ "status":null, "title":null, "updatedDate":null, + "url":"https://chatbot.theb.ai/" + }, + { + "addedDate":"2023-04-20", + "customDescription":null, + "description":null, + "extraInfo":null, + "features":null, + "id":3, + "labels":null, + "lang":null, + "previewUrl":null, + "reportedInvalidDate":null, + "reportedInvalidReason":null, + "score":null, + "sourceInfo":null, + "status":null, + "title":null, + "updatedDate":null, "url":"https://www.aitianhu.com/" }, { "addedDate":"2023-04-04", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":3, + "id":4, "labels":null, "lang":null, "previewUrl":null, @@ -57,8 +79,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":4, + "id":5, "labels":null, "lang":null, "previewUrl":null, @@ -75,8 +98,9 @@ "addedDate":"2023-04-04", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":5, + "id":6, "labels":null, "lang":null, "previewUrl":null, @@ -93,8 +117,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":6, + "id":7, "labels":null, "lang":null, "previewUrl":null, @@ -111,8 +136,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":7, + "id":8, "labels":null, "lang":null, "previewUrl":null, @@ -129,8 +155,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":8, + "id":9, "labels":null, "lang":null, "previewUrl":null, @@ -147,8 +174,9 @@ "addedDate":"2023-03-26", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":9, + "id":10, "labels":null, "lang":null, "previewUrl":null, @@ -165,8 +193,9 @@ "addedDate":"2023-03-26", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":10, + "id":11, "labels":null, "lang":null, "previewUrl":null, @@ -183,8 +212,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":11, + "id":12, "labels":null, "lang":null, "previewUrl":null, @@ -201,8 +231,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":12, + "id":13, "labels":null, "lang":null, "previewUrl":null, @@ -219,8 +250,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":13, + "id":14, "labels":null, "lang":null, "previewUrl":null, @@ -237,8 +269,9 @@ "addedDate":"2023-03-28", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":14, + "id":15, "labels":null, "lang":null, "previewUrl":null, @@ -255,8 +288,9 @@ "addedDate":"2023-05-07", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":15, + "id":16, "labels":null, "lang":null, "previewUrl":null, @@ -273,8 +307,9 @@ "addedDate":"2023-04-03", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":16, + "id":17, "labels":null, "lang":null, "previewUrl":null, @@ -291,8 +326,9 @@ "addedDate":"2023-04-11", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":17, + "id":18, "labels":null, "lang":null, "previewUrl":null, @@ -309,8 +345,9 @@ "addedDate":"2023-04-10", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":18, + "id":19, "labels":null, "lang":null, "previewUrl":null, @@ -327,8 +364,9 @@ "addedDate":"2023-04-18", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":19, + "id":20, "labels":null, "lang":null, "previewUrl":null, @@ -345,8 +383,9 @@ "addedDate":"2023-04-18", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":20, + "id":21, "labels":null, "lang":null, "previewUrl":null, @@ -363,8 +402,9 @@ "addedDate":"2023-04-18", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":21, + "id":22, "labels":null, "lang":null, "previewUrl":null, @@ -381,8 +421,9 @@ "addedDate":"2023-04-19", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":22, + "id":23, "labels":null, "lang":null, "previewUrl":null, @@ -399,8 +440,9 @@ "addedDate":"2023-04-19", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":23, + "id":24, "labels":null, "lang":null, "previewUrl":null, @@ -417,8 +459,9 @@ "addedDate":"2023-04-19", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":24, + "id":25, "labels":null, "lang":null, "previewUrl":null, @@ -435,8 +478,9 @@ "addedDate":"2023-04-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":25, + "id":26, "labels":null, "lang":null, "previewUrl":null, @@ -453,8 +497,9 @@ "addedDate":"2023-04-23", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":26, + "id":27, "labels":null, "lang":null, "previewUrl":null, @@ -471,8 +516,9 @@ "addedDate":"2023-04-24", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":27, + "id":28, "labels":null, "lang":null, "previewUrl":null, @@ -489,8 +535,9 @@ "addedDate":"2023-04-24", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":28, + "id":29, "labels":null, "lang":null, "previewUrl":null, @@ -507,8 +554,9 @@ "addedDate":"2023-04-24", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":29, + "id":30, "labels":null, "lang":null, "previewUrl":null, @@ -523,10 +571,11 @@ }, { "addedDate":"2023-04-26", - "customDescription":null, + "customDescription":"密码 pub04-23Xs67AErn454\r", "description":null, + "extraInfo":null, "features":null, - "id":30, + "id":31, "labels":null, "lang":null, "previewUrl":null, @@ -543,8 +592,9 @@ "addedDate":"2023-04-27", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":31, + "id":32, "labels":null, "lang":null, "previewUrl":null, @@ -561,8 +611,9 @@ "addedDate":"2023-04-28", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":32, + "id":33, "labels":null, "lang":null, "previewUrl":null, @@ -579,8 +630,9 @@ "addedDate":"2023-04-28", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":33, + "id":34, "labels":null, "lang":null, "previewUrl":null, @@ -597,8 +649,9 @@ "addedDate":"2023-04-28", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":34, + "id":35, "labels":null, "lang":null, "previewUrl":null, @@ -615,8 +668,9 @@ "addedDate":"2023-04-30", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":35, + "id":36, "labels":null, "lang":null, "previewUrl":null, @@ -633,8 +687,9 @@ "addedDate":"2023-05-04", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":36, + "id":37, "labels":null, "lang":null, "previewUrl":null, @@ -651,8 +706,9 @@ "addedDate":"2023-05-06", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":37, + "id":38, "labels":null, "lang":null, "previewUrl":null, @@ -669,8 +725,9 @@ "addedDate":"2023-05-06", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":38, + "id":39, "labels":null, "lang":null, "previewUrl":null, @@ -687,8 +744,9 @@ "addedDate":"2023-05-06", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":39, + "id":40, "labels":null, "lang":null, "previewUrl":null, @@ -705,8 +763,9 @@ "addedDate":"2023-05-06", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":40, + "id":41, "labels":null, "lang":null, "previewUrl":null, @@ -723,8 +782,9 @@ "addedDate":"2023-05-07", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":41, + "id":42, "labels":null, "lang":null, "previewUrl":null, @@ -741,8 +801,9 @@ "addedDate":"2023-05-09", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":42, + "id":43, "labels":null, "lang":null, "previewUrl":null, @@ -759,8 +820,9 @@ "addedDate":"2023-05-09", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":43, + "id":44, "labels":null, "lang":null, "previewUrl":null, @@ -777,8 +839,9 @@ "addedDate":"2023-05-10", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":44, + "id":45, "labels":null, "lang":null, "previewUrl":null, @@ -795,8 +858,9 @@ "addedDate":"2023-05-10", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":45, + "id":46, "labels":null, "lang":null, "previewUrl":null, @@ -813,8 +877,9 @@ "addedDate":"2023-05-10", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":46, + "id":47, "labels":null, "lang":null, "previewUrl":null, @@ -831,8 +896,9 @@ "addedDate":"2023-05-11", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":47, + "id":48, "labels":null, "lang":null, "previewUrl":null, @@ -849,8 +915,9 @@ "addedDate":"2023-05-11", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":48, + "id":49, "labels":null, "lang":null, "previewUrl":null, @@ -863,12 +930,108 @@ "updatedDate":null, "url":"https://gpt.uziai.com/" }, + { + "addedDate":"2023-05-15", + "customDescription":null, + "description":null, + "extraInfo":null, + "features":null, + "id":50, + "labels":null, + "lang":null, + "previewUrl":null, + "reportedInvalidDate":null, + "reportedInvalidReason":null, + "score":null, + "sourceInfo":null, + "status":null, + "title":null, + "updatedDate":null, + "url":"https://1919abc.com" + }, + { + "addedDate":"2023-05-17", + "customDescription":null, + "description":null, + "extraInfo":null, + "features":null, + "id":51, + "labels":null, + "lang":null, + "previewUrl":null, + "reportedInvalidDate":null, + "reportedInvalidReason":null, + "score":null, + "sourceInfo":null, + "status":null, + "title":null, + "updatedDate":null, + "url":"https://aiget.cc/" + }, + { + "addedDate":"2023-05-17", + "customDescription":"GPT4 的兑换码:TRYGPT4\r", + "description":null, + "extraInfo":null, + "features":null, + "id":52, + "labels":null, + "lang":null, + "previewUrl":null, + "reportedInvalidDate":null, + "reportedInvalidReason":null, + "score":null, + "sourceInfo":null, + "status":null, + "title":null, + "updatedDate":null, + "url":"https://chat.zhenbs.com/" + }, + { + "addedDate":"2023-05-17", + "customDescription":"设置中输入访问密码 857857\r", + "description":null, + "extraInfo":null, + "features":null, + "id":53, + "labels":null, + "lang":null, + "previewUrl":null, + "reportedInvalidDate":null, + "reportedInvalidReason":null, + "score":null, + "sourceInfo":null, + "status":null, + "title":null, + "updatedDate":null, + "url":"http://chat1.manongzyg.one/" + }, + { + "addedDate":"2023-05-17", + "customDescription":null, + "description":null, + "extraInfo":null, + "features":null, + "id":54, + "labels":null, + "lang":null, + "previewUrl":null, + "reportedInvalidDate":null, + "reportedInvalidReason":null, + "score":null, + "sourceInfo":null, + "status":null, + "title":null, + "updatedDate":null, + "url":"https://aiia.chat/" + }, { "addedDate":"2023-04-28", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":49, + "id":55, "labels":null, "lang":null, "previewUrl":null, @@ -885,8 +1048,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":50, + "id":56, "labels":null, "lang":null, "previewUrl":null, @@ -903,8 +1067,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":51, + "id":57, "labels":null, "lang":null, "previewUrl":null, @@ -921,8 +1086,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":52, + "id":58, "labels":null, "lang":null, "previewUrl":null, @@ -939,8 +1105,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":53, + "id":59, "labels":null, "lang":null, "previewUrl":null, @@ -957,8 +1124,9 @@ "addedDate":"2023-04-26", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":54, + "id":60, "labels":null, "lang":null, "previewUrl":null, @@ -975,8 +1143,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":55, + "id":61, "labels":null, "lang":null, "previewUrl":null, @@ -993,8 +1162,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":56, + "id":62, "labels":null, "lang":null, "previewUrl":null, @@ -1011,8 +1181,9 @@ "addedDate":"2023-03-10", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":57, + "id":63, "labels":null, "lang":null, "previewUrl":null, @@ -1029,8 +1200,9 @@ "addedDate":"2023-04-11", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":58, + "id":64, "labels":null, "lang":null, "previewUrl":null, @@ -1047,8 +1219,9 @@ "addedDate":"2023-04-11", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":59, + "id":65, "labels":null, "lang":null, "previewUrl":null, @@ -1065,8 +1238,9 @@ "addedDate":"2023-04-11", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":60, + "id":66, "labels":null, "lang":null, "previewUrl":null, @@ -1083,8 +1257,9 @@ "addedDate":"2023-04-21", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":61, + "id":67, "labels":null, "lang":null, "previewUrl":null, @@ -1101,8 +1276,9 @@ "addedDate":"2023-04-30", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":62, + "id":68, "labels":null, "lang":null, "previewUrl":null, @@ -1119,8 +1295,9 @@ "addedDate":"2023-04-03", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":63, + "id":69, "labels":null, "lang":null, "previewUrl":null, @@ -1137,8 +1314,9 @@ "addedDate":"2023-04-01", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":64, + "id":70, "labels":null, "lang":null, "previewUrl":null, @@ -1155,8 +1333,9 @@ "addedDate":"2023-04-07", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":65, + "id":71, "labels":null, "lang":null, "previewUrl":null, @@ -1173,8 +1352,9 @@ "addedDate":"2023-04-04", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":66, + "id":72, "labels":null, "lang":null, "previewUrl":null, @@ -1191,8 +1371,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":67, + "id":73, "labels":null, "lang":null, "previewUrl":null, @@ -1209,8 +1390,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":68, + "id":74, "labels":null, "lang":null, "previewUrl":null, @@ -1227,8 +1409,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":69, + "id":75, "labels":null, "lang":null, "previewUrl":null, @@ -1245,8 +1428,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":70, + "id":76, "labels":null, "lang":null, "previewUrl":null, @@ -1263,8 +1447,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":71, + "id":77, "labels":null, "lang":null, "previewUrl":null, @@ -1281,8 +1466,9 @@ "addedDate":"2023-03-11", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":72, + "id":78, "labels":null, "lang":null, "previewUrl":null, @@ -1299,8 +1485,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":73, + "id":79, "labels":null, "lang":null, "previewUrl":null, @@ -1317,8 +1504,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":74, + "id":80, "labels":null, "lang":null, "previewUrl":null, @@ -1335,8 +1523,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":75, + "id":81, "labels":null, "lang":null, "previewUrl":null, @@ -1353,8 +1542,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":76, + "id":82, "labels":null, "lang":null, "previewUrl":null, @@ -1371,8 +1561,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":77, + "id":83, "labels":null, "lang":null, "previewUrl":null, @@ -1389,8 +1580,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":78, + "id":84, "labels":null, "lang":null, "previewUrl":null, @@ -1407,8 +1599,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":79, + "id":85, "labels":null, "lang":null, "previewUrl":null, @@ -1425,8 +1618,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":80, + "id":86, "labels":null, "lang":null, "previewUrl":null, @@ -1443,8 +1637,9 @@ "addedDate":"2023-03-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":81, + "id":87, "labels":null, "lang":null, "previewUrl":null, @@ -1461,8 +1656,9 @@ "addedDate":"2023-03-29", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":82, + "id":88, "labels":null, "lang":null, "previewUrl":null, @@ -1479,8 +1675,9 @@ "addedDate":"2023-03-29", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":83, + "id":89, "labels":null, "lang":null, "previewUrl":null, @@ -1497,8 +1694,9 @@ "addedDate":"2023-03-31", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":84, + "id":90, "labels":null, "lang":null, "previewUrl":null, @@ -1515,8 +1713,9 @@ "addedDate":"2023-03-31", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":85, + "id":91, "labels":null, "lang":null, "previewUrl":null, @@ -1533,8 +1732,9 @@ "addedDate":"2023-04-04", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":86, + "id":92, "labels":null, "lang":null, "previewUrl":null, @@ -1551,8 +1751,9 @@ "addedDate":"2023-04-13", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":87, + "id":93, "labels":null, "lang":null, "previewUrl":null, @@ -1569,8 +1770,9 @@ "addedDate":"2023-04-13", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":88, + "id":94, "labels":null, "lang":null, "previewUrl":null, @@ -1587,8 +1789,9 @@ "addedDate":"2023-04-15", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":89, + "id":95, "labels":null, "lang":null, "previewUrl":null, @@ -1605,8 +1808,9 @@ "addedDate":"2023-04-17", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":90, + "id":96, "labels":null, "lang":null, "previewUrl":null, @@ -1623,8 +1827,9 @@ "addedDate":"2023-04-18", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":91, + "id":97, "labels":null, "lang":null, "previewUrl":null, @@ -1641,8 +1846,9 @@ "addedDate":"2023-04-18", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":92, + "id":98, "labels":null, "lang":null, "previewUrl":null, @@ -1659,8 +1865,9 @@ "addedDate":"2023-04-21", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":93, + "id":99, "labels":null, "lang":null, "previewUrl":null, @@ -1677,8 +1884,9 @@ "addedDate":"2023-04-21", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":94, + "id":100, "labels":null, "lang":null, "previewUrl":null, @@ -1695,8 +1903,9 @@ "addedDate":"2023-04-22", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":95, + "id":101, "labels":null, "lang":null, "previewUrl":null, @@ -1713,8 +1922,9 @@ "addedDate":"2023-04-23", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":96, + "id":102, "labels":null, "lang":null, "previewUrl":null, @@ -1731,8 +1941,9 @@ "addedDate":"2023-04-24", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":97, + "id":103, "labels":null, "lang":null, "previewUrl":null, @@ -1749,8 +1960,9 @@ "addedDate":"2023-04-24", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":98, + "id":104, "labels":null, "lang":null, "previewUrl":null, @@ -1767,8 +1979,9 @@ "addedDate":"2023-04-25", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":99, + "id":105, "labels":null, "lang":null, "previewUrl":null, @@ -1785,8 +1998,9 @@ "addedDate":"2023-04-26", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":100, + "id":106, "labels":null, "lang":null, "previewUrl":null, @@ -1803,8 +2017,9 @@ "addedDate":"2023-05-04", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":101, + "id":107, "labels":null, "lang":null, "previewUrl":null, @@ -1821,8 +2036,9 @@ "addedDate":"2023-05-05", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":102, + "id":108, "labels":null, "lang":null, "previewUrl":null, @@ -1839,8 +2055,9 @@ "addedDate":"2023-05-05", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":103, + "id":109, "labels":null, "lang":null, "previewUrl":null, @@ -1857,8 +2074,9 @@ "addedDate":"2023-05-05", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":104, + "id":110, "labels":null, "lang":null, "previewUrl":null, @@ -1875,8 +2093,9 @@ "addedDate":"2023-05-05", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":105, + "id":111, "labels":null, "lang":null, "previewUrl":null, @@ -1893,8 +2112,9 @@ "addedDate":"2023-05-12", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":106, + "id":112, "labels":null, "lang":null, "previewUrl":null, @@ -1911,8 +2131,9 @@ "addedDate":"2023-05-12", "customDescription":null, "description":null, + "extraInfo":null, "features":null, - "id":107, + "id":113, "labels":null, "lang":null, "previewUrl":null, @@ -1924,5 +2145,24 @@ "title":null, "updatedDate":null, "url":"http://bamboochat.kebakeba.com/" + }, + { + "addedDate":"2023-05-18", + "customDescription":null, + "description":null, + "extraInfo":null, + "features":null, + "id":114, + "labels":null, + "lang":null, + "previewUrl":null, + "reportedInvalidDate":null, + "reportedInvalidReason":null, + "score":null, + "sourceInfo":null, + "status":null, + "title":null, + "updatedDate":null, + "url":"https://chat.pinkfong.cn" } ] \ No newline at end of file diff --git a/src/main/java/com.lilittlecat/freechatgpt/Build.java b/src/main/java/com.lilittlecat/freechatgpt/Build.java index 2fbf77c..79c14ef 100644 --- a/src/main/java/com.lilittlecat/freechatgpt/Build.java +++ b/src/main/java/com.lilittlecat/freechatgpt/Build.java @@ -25,6 +25,24 @@ public class Build { public static void main(String[] args) throws TemplateException, IOException { Build build = new Build(); build.init(); +// build.update(); + } + + public void update() { + String basePath = System.getProperty("user.dir"); + + File normalWebsitesJSON = new File(basePath + File.separator + "data" + File.separator + "normal-websites.json"); + String normalWebsitesJSONString = FileUtil.readString(normalWebsitesJSON, StandardCharsets.UTF_8); + List normalWebsitesJSONArray = JSON.parseArray(normalWebsitesJSONString, Website.class); + + File abnormalWebsitesJSON = new File(basePath + File.separator + "data" + File.separator + "abnormal-websites.json"); + String abnormalWebsitesJSONString = FileUtil.readString(abnormalWebsitesJSON, StandardCharsets.UTF_8); + List abnormalWebsitesJSONArray = JSON.parseArray(abnormalWebsitesJSONString, Website.class); + + + + + } public void init() throws IOException, TemplateException { @@ -39,18 +57,27 @@ public class Build { List normalWebsites = new ArrayList<>(); int normalId = 1; for (String normalSite : normalSites) { + String[] strings = normalSite.split(" - "); + if (strings.length < 2) { + continue; + } // Extract the link - String link = extractLink(normalSite); + String link = extractLink(strings[0]); // Extract the time - String time = extractTime(normalSite); + String time = extractTime(strings[1]); if (StrUtil.isNotBlank(link) && StrUtil.isNotBlank(time)) { Website website = new Website(); website.setId(normalId++); website.setUrl(link); website.setAddedDate(time); + if (strings.length > 2) { + website.setCustomDescription(strings[2]); + System.out.println(website.getId() + "." + link + " " + time + " " + strings[2]); + } else { + System.out.println(website.getId() + "." + link + " " + time); + } normalWebsites.add(website); } - System.out.println(link + " " + time); } String normalWebsitesJSONString = JSON.toJSONString(normalWebsites, SerializerFeature.WriteMapNullValue, SerializerFeature.PrettyFormat, SerializerFeature.SortField); @@ -71,9 +98,15 @@ public class Build { website.setUrl(link); website.setReportedInvalidDate(time); abnormalWebsites.add(website); + System.out.println(link + " " + time); } - System.out.println(link + " " + time); } + // sorted by reportedInvalidDate desc + abnormalWebsites.sort((o1, o2) -> { + LocalDate date1 = LocalDate.parse(o1.getReportedInvalidDate()); + LocalDate date2 = LocalDate.parse(o2.getReportedInvalidDate()); + return date2.compareTo(date1); + }); String abnormalWebsitesJSONString = JSON.toJSONString(abnormalWebsites, SerializerFeature.WriteMapNullValue, SerializerFeature.PrettyFormat, SerializerFeature.SortField); File abnormalWebsitesJSON = new File(basePath + File.separator + "data" + File.separator + "abnormal-websites.json"); diff --git a/src/main/java/com.lilittlecat/freechatgpt/Website.java b/src/main/java/com.lilittlecat/freechatgpt/Website.java index 54dc006..8b75aa7 100644 --- a/src/main/java/com.lilittlecat/freechatgpt/Website.java +++ b/src/main/java/com.lilittlecat/freechatgpt/Website.java @@ -31,4 +31,5 @@ public class Website { * 0: normal 1: abnormal */ private Integer status; + private Object extraInfo; }