Skip to content

Commit

Permalink
Update presence.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Slowlife01 authored Feb 21, 2021
1 parent 680f350 commit 5515c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websites/I/iQIYI/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ presence.on("UpdateData", async () => {
}
} else if (document.location.pathname.includes("/intl-common")){
const video = document.querySelector("video"),
title = document.querySelector("title").textContent.match(/.+?(?=[1-9]|-| )/)[0];
title = document.querySelector("title").textContent.match(/.+?(?=[1-9]|-|{2})/)[0];

if (video){
const timestamps = presence.getTimestampsfromMedia(video);
Expand Down

0 comments on commit 5515c52

Please sign in to comment.