Enable middle click download on subscriptions as well
This commit is contained in:
@@ -63,7 +63,7 @@ function hookVideo(videoElement) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const videosContainer = await waitForElement(document, "div#contents.style-scope.ytd-rich-grid-renderer");
|
const videosContainer = await waitForElement(document, "ytd-rich-grid-renderer > div#contents");
|
||||||
|
|
||||||
for (const video of videosContainer.querySelectorAll("ytd-rich-item-renderer")) {
|
for (const video of videosContainer.querySelectorAll("ytd-rich-item-renderer")) {
|
||||||
parseVideo(video);
|
parseVideo(video);
|
||||||
|
Reference in New Issue
Block a user