Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ecau): new provider musiccircle #746

Open
Dr-Blank opened this issue Feb 13, 2024 · 0 comments
Open

feat(ecau): new provider musiccircle #746

Dr-Blank opened this issue Feb 13, 2024 · 0 comments

Comments

@Dr-Blank
Copy link

example release on musicbrainz and its corresponding seed

i do not know much about how this userscript works, here is the most that I can work out

images links are inside div.slick-track>div.productView-img-container>div.media>img

let divs = document.querySelectorAll('div.media');
let imgLinks = [];

for (let div of divs) {
    let imgNodes = div.querySelectorAll('img');
    for (let img of imgNodes) {
        let src = img.getAttribute('src');
        imgLinks.push(src);
    }
}

console.log(imgLinks);

this code outputs the links of the images on the page pertaining to the release

i can understand if this provider is not supported since its potentially niche

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants