We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
start Radio
1 parent 5faeddb commit cceb453Copy full SHA for cceb453
plugins/downloader/front.js
@@ -40,9 +40,9 @@ const baseUrl = defaultConfig.url;
40
global.download = () => {
41
let metadata;
42
let videoUrl = getSongMenu()
43
- .querySelector("ytmusic-menu-navigation-item-renderer")
44
- .querySelector("#navigation-endpoint")
45
- .getAttribute("href");
+ ?.querySelector('ytmusic-menu-navigation-item-renderer.iron-selected[tabindex="0"]')
+ ?.querySelector("#navigation-endpoint")
+ ?.getAttribute("href");
46
if (videoUrl) {
47
videoUrl = baseUrl + "/" + videoUrl;
48
metadata = null;
0 commit comments