Giter VIP home page Giter VIP logo

stigs_art_grabr's People

Contributors

stignygaard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stigs_art_grabr's Issues

HTML5 contextMenu deprecated, and unavailable from Firefox 85

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.

greasemonkey/greasemonkey#3078

https://bugzilla.mozilla.org/show_bug.cgi?id=1372276

iTunes doesn't work

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

iTunes stopped working

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?

No longer grabbing highest quality since latest update

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.

iTunes doesn't work

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

Grabbing artwork from Spotify

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?

Changelog appended to some MusicBrainz pages

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).

screenshot

Retrieving the Actually Original iTunes Artwork by Modifying URL with Regex

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:

  1. Replace everything before (and including) "/image/thumb/" with "https://a1.mzstatic.com/us/r1000/0/"
  2. Remove everything after (and including) the last "/" (which is right after the first ".jpg" or ".png" string).
  3. Go to the resulted new URL

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.