|
@@ -153,7 +153,7 @@ function getLikeCountFromButton() {
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
let likesStr = getLikeButton()
|
|
let likesStr = getLikeButton()
|
|
- .querySelector("button")
|
|
|
|
|
|
+ .querySelector("yt-formatted-string#text")
|
|
.getAttribute("aria-label")
|
|
.getAttribute("aria-label")
|
|
.replace(/\D/g, "");
|
|
.replace(/\D/g, "");
|
|
return likesStr.length > 0 ? parseInt(likesStr) : false;
|
|
return likesStr.length > 0 ? parseInt(likesStr) : false;
|