Open kjetilho opened 4 years ago
Thanks for letting me know! I've added support for the site you linked, but I agree, it would be useful to have a generic rule for this kind of thing, though I believe it should be optional.
The blocker for this is the same as https://github.com/qsniyg/maxurl/issues/306, which is just to restructure the code so that It is now accessible! Just need to get around to implementing it.looks_like_valid_link
is accessible from bigimage
(I'm not particularly good at naming things :p).
it is rather common to use a scaling API which is passed the original URL. this example is from the Norwegian social network Underskog: https://images.underskog.no/620x/https://underskog.no/image/get/972480
notice the parameter to the service is not passed as a URI parameter. the 620x endpoint simply scales down to 620 pixel width.
(in this case the original file is 640 pixels wide, so it's not a huge improvement - but we like our files as pristine as possible :) )