mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-16 23:40:32 +08:00
parent
9e3bc6db8c
commit
94b07b51d6
@ -26,7 +26,7 @@ const DEFAULT_UNLOCK_ITEM_NAMES: [&str; 13] = [
|
|||||||
"ChatGPT Web",
|
"ChatGPT Web",
|
||||||
"Claude",
|
"Claude",
|
||||||
"Gemini",
|
"Gemini",
|
||||||
"Youtube Premium",
|
"YouTube Premium",
|
||||||
"Bahamut Anime",
|
"Bahamut Anime",
|
||||||
"Netflix",
|
"Netflix",
|
||||||
"Disney+",
|
"Disney+",
|
||||||
|
|||||||
@ -42,14 +42,14 @@ pub(super) async fn check_youtube_premium(client: &Client) -> UnlockItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
UnlockItem {
|
UnlockItem {
|
||||||
name: "Youtube Premium".to_string(),
|
name: "YouTube Premium".to_string(),
|
||||||
status: status.to_string(),
|
status: status.to_string(),
|
||||||
region,
|
region,
|
||||||
check_time: Some(get_local_date_string()),
|
check_time: Some(get_local_date_string()),
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
UnlockItem {
|
UnlockItem {
|
||||||
name: "Youtube Premium".to_string(),
|
name: "YouTube Premium".to_string(),
|
||||||
status: "Failed".to_string(),
|
status: "Failed".to_string(),
|
||||||
region: None,
|
region: None,
|
||||||
check_time: Some(get_local_date_string()),
|
check_time: Some(get_local_date_string()),
|
||||||
@ -57,7 +57,7 @@ pub(super) async fn check_youtube_premium(client: &Client) -> UnlockItem {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(_) => UnlockItem {
|
Err(_) => UnlockItem {
|
||||||
name: "Youtube Premium".to_string(),
|
name: "YouTube Premium".to_string(),
|
||||||
status: "Failed".to_string(),
|
status: "Failed".to_string(),
|
||||||
region: None,
|
region: None,
|
||||||
check_time: Some(get_local_date_string()),
|
check_time: Some(get_local_date_string()),
|
||||||
|
|||||||
@ -62,7 +62,7 @@ const DEFAULT_TEST_LIST = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
uid: nanoid(),
|
uid: nanoid(),
|
||||||
name: "Youtube",
|
name: "YouTube",
|
||||||
url: "https://www.youtube.com",
|
url: "https://www.youtube.com",
|
||||||
icon: youtube,
|
icon: youtube,
|
||||||
},
|
},
|
||||||
|
|||||||
@ -62,7 +62,7 @@ const TestPage = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
uid: nanoid(),
|
uid: nanoid(),
|
||||||
name: "Youtube",
|
name: "YouTube",
|
||||||
url: "https://www.youtube.com",
|
url: "https://www.youtube.com",
|
||||||
icon: youtube,
|
icon: youtube,
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user