feat: update files

pull/206/head
LiLittleCat 2 years ago
parent 3220c9f4df
commit 4f753a03a8
  1. 0
      data/abnormal-websites.json
  2. 11
      data/features.json
  3. 0
      data/normal-websites.json
  4. 6
      data/websites.json
  5. 25
      pom.xml
  6. 6
      src/main/java/com.lilittlecat/freechatgpt/Feature.java
  7. 23
      src/main/java/com.lilittlecat/freechatgpt/Website.java

@ -1,11 +0,0 @@
{
"free": 2,
"free_quota": 1,
"gpt4_supported": 1,
"more_than_chat": 0.5,
"login_required": -1,
"vpn_required": -1,
"api_key_required": -1,
"follow_on_wechat_required": -1,
"community_recommendation": 0.5
}

@ -1,6 +0,0 @@
{
"websites": {
"normal": [],
"abnormal": []
}
}

@ -31,16 +31,16 @@
<version>1.18.20</version>
<scope>provided</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.seleniumhq.selenium</groupId>-->
<!-- <artifactId>selenium-java</artifactId>-->
<!-- <version>4.9.0</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.seleniumhq.selenium</groupId>-->
<!-- <artifactId>selenium-grid</artifactId>-->
<!-- <version>4.9.0</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.seleniumhq.selenium</groupId>-->
<!-- <artifactId>selenium-java</artifactId>-->
<!-- <version>4.9.0</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.seleniumhq.selenium</groupId>-->
<!-- <artifactId>selenium-grid</artifactId>-->
<!-- <version>4.9.0</version>-->
<!-- </dependency>-->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
@ -62,6 +62,11 @@
<artifactId>hutool-all</artifactId>
<version>5.8.11</version>
</dependency>
<dependency>
<groupId>com.konghq</groupId>
<artifactId>unirest-java</artifactId>
<version>3.14.1</version>
</dependency>
</dependencies>
<build>
<plugins>

@ -7,11 +7,11 @@ import lombok.Getter;
* @since 2023/5/7
*/
@Getter
public enum Features {
public enum Feature {
FREE("free", "🎁", 2f),
FREE_QUOTA("free_quota", "🔓", 1f),
GPT4_SUPPORTED("gpt4_supported", "💪", 1f),
MORE_THAN_CHAT("more_than_chat", "🎶", 0.5f),
MORE_THAN_CHAT("more_than_chat", "🧰", 0.5f),
LOGIN_REQUIRED("login_required", "🔒", -1f),
VPN_REQUIRED("vpn_required", "🌎", -1f),
API_KEY_REQUIRED("api_key_required", "🔑", -1f),
@ -22,7 +22,7 @@ public enum Features {
private final String label;
private final Float score;
Features(String value, String label, Float score) {
Feature(String value, String label, Float score) {
this.value = value;
this.label = label;
this.score = score;

@ -0,0 +1,23 @@
package com.lilittlecat.freechatgpt;
import lombok.Data;
import java.time.LocalDate;
import java.util.List;
/**
* @author <a href="https://github.com/LiLittleCat">LiLittleCat</a>
* @since 2023/5/16
*/
@Data
public class Website {
private String url;
private String title;
private String description;
private List<Feature> features;
private Double score;
private LocalDate addedDate;
private LocalDate updatedDate;
private LocalDate reportedInvalidDate;
private String labels;
}
Loading…
Cancel
Save