Skip to content

Commit

Permalink
fix: deepscan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeraa committed Jan 11, 2025
1 parent 2ea31a9 commit 3bc92fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websites/D/Disney+/presence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ presence.on("UpdateData", async () => {
const parts = document
.querySelector(".subtitle-field")
?.textContent.match(/S(\d+):E(\d+) /);
if (parts.length > 2)
if (parts?.length > 2)
presenceData.largeImageText = `Season ${parts[1]}, Episode ${parts[2]}`;

presenceData.state = document
Expand Down

0 comments on commit 3bc92fd

Please sign in to comment.