Skip to content

Commit

Permalink
feat(AnimeYuzu): change to new domain (#8149)
Browse files Browse the repository at this point in the history
* feat(AnimeYuzu): change to new domain

website move to new domain

* chore: formatting & bump ver

* Update websites/A/AnimeYuzu/presence.ts

Co-authored-by: Dark_Ville <[email protected]>
Signed-off-by: Faelayis <[email protected]>

* fix: resolve issue add matching and iframe matching

---------

Signed-off-by: Faelayis <[email protected]>
Co-authored-by: Dark_Ville <[email protected]>
  • Loading branch information
Faelayis and Dark_Ville authored Mar 9, 2024
1 parent d57ab82 commit d0021e4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@
"name": "Faelayis",
"id": "328731868096888833"
},
"service": "Animekimi",
"service": "AnimeYuzu",
"description": {
"en": "Watch anime online cartoons Thai dubbed anime Thai subtitled anime latest episodes.",
"th": "ดูอนิเมะออนไลน์ การ์ตูน อนิเมะพากย์ไทย อนิเมะซับไทย ตอนใหม่ล่าสุด",
"vi_VN": "Xem những anime mới nhất trực tuyến có phụ đề và thuyết minh Tiếng Thái."
},
"url": "animekimi.com",
"version": "1.3.12",
"logo": "https://cdn.rcd.gg/PreMiD/websites/A/Animekimi/assets/logo.jpg",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/A/Animekimi/assets/thumbnail.jpg",
"url": "animeyuzu.com",
"matches": [
"*://animeyuzu.com/*"
],
"version": "1.0.0",
"logo": "https://i.imgur.com/8PVGg8d.png",
"thumbnail": "https://i.imgur.com/EpEqmNI.png",
"color": "#e67e22",
"category": "anime",
"tags": [
Expand All @@ -23,6 +26,10 @@
],
"iframe": true,
"iFrameRegExp": ".*",
"iFrameMatches": [
"*://animeyuzu.com/ep/*",
"*://animeyuzu.com/movies/*"
],
"settings": [
{
"id": "lang",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const presence = new Presence({
clientId: "870850875562819595",
clientId: "1213784073458421841",
}),
browsingTimestamp = Math.floor(Date.now() / 1000);

Expand Down Expand Up @@ -71,8 +71,7 @@ presence.on("UpdateData", async () => {
playvdo = document.querySelector("#info > h1")?.textContent ?? "?",
pathArray = document.location.toString().split("/"),
presenceData: PresenceData = {
largeImageKey:
"https://cdn.rcd.gg/PreMiD/websites/A/Animekimi/assets/logo.jpg",
largeImageKey: "https://i.imgur.com/8PVGg8d.png",
startTimestamp: browsingTimestamp,
};
if (oldLang !== newLang || !strings) {
Expand Down

0 comments on commit d0021e4

Please sign in to comment.