stignygaard / stigs_art_grabr Goto Github PK
View Code? Open in Web Editor NEWStig's Art Grabr is a userscript for grabbing high resolution album cover-art from various sites - Can also be used as a bookmarklet/favelet.
License: MIT License
Stig's Art Grabr is a userscript for grabbing high resolution album cover-art from various sites - Can also be used as a bookmarklet/favelet.
License: MIT License
HTML5 menus which has been available in Firefox and has been used by Grabr on Firefox, are no more available from Firefox version 85.
GreaseMonkey 4+ currently don't have the same dropdown menu support (registerMenuCommand) as f.ex. TamperMonkey or earlier GreaseMonkey versions have/had. Hopefully problem will be solved in GM before long, but otherwise I need to replace the HTML5 menus with something else for GM4+ users.
Firefox 85 is scheduled for release 2021-01-26.
Hi! It's me again
Something happened so that script does not work for releases' image on iTunes page. At the same time script still works on suggested releases (image attached)
https://ibb.co/L0ZzndR
Could you please take look at it?
Thanks in advance!
CK
Hi,
you've mentioned on the script page you wouldn't mind to be informed if something happens, so...
iTunes changed its layout completely (good thing is 500x500 images can be downloaded on right-click, bad thing is script stopped working)
Also side question - would it be possible to make this script work on spotify or is that not an option?
Some changes in Deezer HTML may have broken the grabber.
a few days ago, amazon switched from their old pages to embed the bloated "Amazon Music" interface in album pages
Since the update that fixed iTunes it only seems to be grabbing low resolution images. On iTunes it only grabs 500x500 (URL should be 99999x99999 to automatically fetch the highest quality) but it's also occurring on other sites. Soundcloud for example is only fetching 200x200 images now.
Hello,
something must have been changed on itunes' side again, because script doesn't work there :(
Maybe it has something to do with the fact, it's .webp instead of jpg now
Hi, I've already posted here about iTunes issue.. You've mentioned that if someone finds pattern, then you'd look into it. i don't know, maybe it's too good to be true, but:
I've felt adventurous today checked few random spotify releases for low and high-res covers and:
https://i.scdn.co/image/ab67616d00001e0226d0e7dcdb9154b1cee461a8
https://i.scdn.co/image/ab67616d0000b27326d0e7dcdb9154b1cee461a8
https://i.scdn.co/image/ab67616d00001e02a627aa9d60427b172e960264
https://i.scdn.co/image/ab67616d0000b273a627aa9d60427b172e960264
https://i.scdn.co/image/ab67616d00001e025b8249aba05ec65a7c47d8fc
https://i.scdn.co/image/ab67616d0000b2735b8249aba05ec65a7c47d8fc
https://i.scdn.co/image/ab67616d00001e028863bc11d2aa12b54f5aeb36
https://i.scdn.co/image/ab67616d0000b2738863bc11d2aa12b54f5aeb36
https://i.scdn.co/image/ab67616d00001e026105bf671731aa08830e9a86
https://i.scdn.co/image/ab67616d0000b2736105bf671731aa08830e9a86
First of two is always low-res, and second is high res. Apparently, if 1e02 gets replace with b273, then we get image 640x640 instead of regular 300x300
Is it maybe what you needed?
Hi Stig,
The Art Grabr changelog is displayed at the end of some MusicBrainz pages for me (see screenshot).
The issue /may/ be triggered by the presence of open text fields (as I can see it when editing my profile, sending an email to a user or reporting a user, which all have at least one of those).
The script on Greasy Fork was really useful, but it has just one issue, it retrieves the converted artwork instead of the original artwork.
For example:
For the following Apple Music page:
https://music.apple.com/us/album/the-grenade-sessions-ep/416696996
Stig's Art Grabr gives URL:
https://is2-ssl.mzstatic.com/image/thumb/Features124/v4/dd/8a/24/dd8a2401-492c-77b3-b13c-b6d51f711527/dj.wkeljoft.jpg/999999x999999bb-100.jpg
(Note that "999999x999999bb-100.jpg" is a converted image instead of the original image, the lossy conversion unnecessarily increase the file size, and also reduces the actual quality of image (due to jpg's lossy conversion), which are less than ideal.)
And the original image (without conversion) is at the following URL:
https://a1.mzstatic.com/us/r1000/0/Features124/v4/dd/8a/24/dd8a2401-492c-77b3-b13c-b6d51f711527/dj.wkeljoft.jpg
As you can see, to convert the URL to retrieve the original image:
I suppose you could use regex for the operations above.
To be more consistent, you could also use "a1.mzstatic.com" when the original url uses "is1-ssl.mzstatic.com", "a2.mzstatic.com" when the original url uses "is2-ssl.mzstatic.com", etc. (the number tops at 5).
This change can allow users to always download the original image without the unnecessary lossy conversion.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.