maxurl
maxurl copied to clipboard
deviantART redirect issue
It would seem deviantART has changed the code for its thumbnails, as before the script would take the thumbnail and redirect to the full size picture, but now it redirects to a higher quality version of the thumbnail.
Thumbnail URL: https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/d0a63360-2ddf-4ae2-a573-ae2461b050da/df2idix-0607fa56-be68-4226-9b0f-3fdaa1498d60.jpg/v1/fill/w_266,h_350,q_70,strp/elastigirl_by_foxyart_illustration_df2idix-350t.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcL2QwYTYzMzYwLTJkZGYtNGFlMi1hNTczLWFlMjQ2MWIwNTBkYVwvZGYyaWRpeC0wNjA3ZmE1Ni1iZTY4LTQyMjYtOWIwZi0zZmRhYTE0OThkNjAuanBnIiwiaGVpZ2h0IjoiPD0xNjgzIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uud2F0ZXJtYXJrIl0sIndtayI6eyJwYXRoIjoiXC93bVwvZDBhNjMzNjAtMmRkZi00YWUyLWE1NzMtYWUyNDYxYjA1MGRhXC9mb3h5YXJ0LWlsbHVzdHJhdGlvbi00LnBuZyIsIm9wYWNpdHkiOjk1LCJwcm9wb3J0aW9ucyI6MC40NSwiZ3Jhdml0eSI6ImNlbnRlciJ9fQ.VKh2kDxoCFq_CuBxaIj6T4Z_XZNx8sCjAuVpU8-aS5s
Redirected Image: https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/d0a63360-2ddf-4ae2-a573-ae2461b050da/df2idix-0607fa56-be68-4226-9b0f-3fdaa1498d60.jpg/v1/fill/w_266,h_350,q_100/elastigirl_by_foxyart_illustration_df2idix-350t.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcL2QwYTYzMzYwLTJkZGYtNGFlMi1hNTczLWFlMjQ2MWIwNTBkYVwvZGYyaWRpeC0wNjA3ZmE1Ni1iZTY4LTQyMjYtOWIwZi0zZmRhYTE0OThkNjAuanBnIiwiaGVpZ2h0IjoiPD0xNjgzIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uud2F0ZXJtYXJrIl0sIndtayI6eyJwYXRoIjoiXC93bVwvZDBhNjMzNjAtMmRkZi00YWUyLWE1NzMtYWUyNDYxYjA1MGRhXC9mb3h5YXJ0LWlsbHVzdHJhdGlvbi00LnBuZyIsIm9wYWNpdHkiOjk1LCJwcm9wb3J0aW9ucyI6MC40NSwiZ3Jhdml0eSI6ImNlbnRlciJ9fQ.VKh2kDxoCFq_CuBxaIj6T4Z_XZNx8sCjAuVpU8-aS5s
Notice how the script updates the URL so the quality is now at 100.
This is the address to the full size image as seen in the browser: https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/d0a63360-2ddf-4ae2-a573-ae2461b050da/df2idix-0607fa56-be68-4226-9b0f-3fdaa1498d60.jpg/v1/fill/w_1280,h_1683,q_75,strp/elastigirl_by_foxyart_illustration_df2idix-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcL2QwYTYzMzYwLTJkZGYtNGFlMi1hNTczLWFlMjQ2MWIwNTBkYVwvZGYyaWRpeC0wNjA3ZmE1Ni1iZTY4LTQyMjYtOWIwZi0zZmRhYTE0OThkNjAuanBnIiwiaGVpZ2h0IjoiPD0xNjgzIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uud2F0ZXJtYXJrIl0sIndtayI6eyJwYXRoIjoiXC93bVwvZDBhNjMzNjAtMmRkZi00YWUyLWE1NzMtYWUyNDYxYjA1MGRhXC9mb3h5YXJ0LWlsbHVzdHJhdGlvbi00LnBuZyIsIm9wYWNpdHkiOjk1LCJwcm9wb3J0aW9ucyI6MC40NSwiZ3Jhdml0eSI6ImNlbnRlciJ9fQ.VKh2kDxoCFq_CuBxaIj6T4Z_XZNx8sCjAuVpU8-aS5s
Redirect of the full sized image: https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/d0a63360-2ddf-4ae2-a573-ae2461b050da/df2idix-0607fa56-be68-4226-9b0f-3fdaa1498d60.jpg/v1/fill/w_1280,h_1683,q_100/elastigirl_by_foxyart_illustration_df2idix-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcL2QwYTYzMzYwLTJkZGYtNGFlMi1hNTczLWFlMjQ2MWIwNTBkYVwvZGYyaWRpeC0wNjA3ZmE1Ni1iZTY4LTQyMjYtOWIwZi0zZmRhYTE0OThkNjAuanBnIiwiaGVpZ2h0IjoiPD0xNjgzIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uud2F0ZXJtYXJrIl0sIndtayI6eyJwYXRoIjoiXC93bVwvZDBhNjMzNjAtMmRkZi00YWUyLWE1NzMtYWUyNDYxYjA1MGRhXC9mb3h5YXJ0LWlsbHVzdHJhdGlvbi00LnBuZyIsIm9wYWNpdHkiOjk1LCJwcm9wb3J0aW9ucyI6MC40NSwiZ3Jhdml0eSI6ImNlbnRlciJ9fQ.VKh2kDxoCFq_CuBxaIj6T4Z_XZNx8sCjAuVpU8-aS5s
Changing the URL to resolutions above 1280x1683 results in an error.
If the image has a download link enabled, the pop up to that shows up fine.
I suppose the only way to address this would be to take the filename (elastigirl_by_foxyart_illustration_df2idi), use the id to construct the url to the full size picture (fav.me/df2idi) and extract the correct resolution from that. Might be more trouble than it's worth.
Thanks for reporting, I'll take a look once I get a chance.
I suppose the only way to address this would be to take the filename (elastigirl_by_foxyart_illustration_df2idi), use the id to construct the url to the full size picture (fav.me/df2idi) and extract the correct resolution from that. Might be more trouble than it's worth.
This is actually exactly what the script is supposed to do already, but for some reason, as you said, it's not working with the image you provided (or a new update).
I see. I actually went back several versions of the script and none worked, so it's most certainly a change in deviantart's end.
The problems with redirecting deviantart images continue, at the moment the script just hangs not knowing what to do, won't even show the download pop up when the image has download enabled.
EDIT: This is so bizarre, it works sometimes and sometimes it hangs.
This picture redirected to 100% quality just fine. https://www.deviantart.com/yhivitheimp/art/Lolla-02-933173440
Image URL: https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/1017cc31-9809-48b0-92fe-95740f52271e/dffl58g-46233f00-dbef-4510-a051-c8ce02f100a6.jpg/v1/fill/w_1280,h_1280,q_100/lolla_02_by_yhivitheimp_dffl58g-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9MTI4MCIsInBhdGgiOiJcL2ZcLzEwMTdjYzMxLTk4MDktNDhiMC05MmZlLTk1NzQwZjUyMjcxZVwvZGZmbDU4Zy00NjIzM2YwMC1kYmVmLTQ1MTAtYTA1MS1jOGNlMDJmMTAwYTYuanBnIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uub3BlcmF0aW9ucyJdfQ.0AbJe3SpgTGKLbObgHX4kC7_BJkdLinmdqZ-z-y3YNU
But this one from the same artist gets stuck on a processing loop and never redirects: https://www.deviantart.com/yhivitheimp/art/Lolla-Bunny-933097758
Image URL: https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/1017cc31-9809-48b0-92fe-95740f52271e/dffjiu6-14b408c4-ceb5-473d-92ad-09e66f953011.jpg/v1/fill/w_1280,h_1280,q_75,strp/lolla_bunny_by_yhivitheimp_dffjiu6-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9MTI4MCIsInBhdGgiOiJcL2ZcLzEwMTdjYzMxLTk4MDktNDhiMC05MmZlLTk1NzQwZjUyMjcxZVwvZGZmaml1Ni0xNGI0MDhjNC1jZWI1LTQ3M2QtOTJhZC0wOWU2NmY5NTMwMTEuanBnIiwid2lkdGgiOiI8PTEyODAifV1dLCJhdWQiOlsidXJuOnNlcnZpY2U6aW1hZ2Uub3BlcmF0aW9ucyJdfQ.Zab98k5eiuKEG3mTpRgANAd8Tye9S_caAXw8kzuX3J4
Ok, some more info. This is using the userscript loaded with Violentmonkey in Chrome.
https://www.deviantart.com/julex93/art/Fionacoln-ESP-756805471
This picture has a download available. That image is 3000x2500 in resolution and weights 3.2 mb.
However, the pop up to download won't show up when I open the image in a new tab (I'm logged in to deviantart in the browser).
This is the URL from the thumbnail in the artist's gallery:
https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/e266c129-fb29-45e2-9a5e-37dbcd6b6711/dcikyu7-d6d43510-7ecf-4924-8a1a-37872c072263.jpg/v1/fill/w_480,h_400,q_70,strp/fionacoln__esp__by_julex93_dcikyu7-400t.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9ODU0IiwicGF0aCI6IlwvZlwvZTI2NmMxMjktZmIyOS00NWUyLTlhNWUtMzdkYmNkNmI2NzExXC9kY2lreXU3LWQ2ZDQzNTEwLTdlY2YtNDkyNC04YTFhLTM3ODcyYzA3MjI2My5qcGciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.HDBoiuu66ZdwHsCjPJe6KZBQ9rzB0dpBIeaor2MkiHE
This url is the first image that loads when I click to see the picture in the gallery:
https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/e266c129-fb29-45e2-9a5e-37dbcd6b6711/dcikyu7-d6d43510-7ecf-4924-8a1a-37872c072263.jpg/v1/fill/w_979,h_816,q_70,strp/fionacoln__esp__by_julex93_dcikyu7-pre.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9ODU0IiwicGF0aCI6IlwvZlwvZTI2NmMxMjktZmIyOS00NWUyLTlhNWUtMzdkYmNkNmI2NzExXC9kY2lreXU3LWQ2ZDQzNTEwLTdlY2YtNDkyNC04YTFhLTM3ODcyYzA3MjI2My5qcGciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.HDBoiuu66ZdwHsCjPJe6KZBQ9rzB0dpBIeaor2MkiHE
Image is 679x816 and wights 118kb.
This is the image url I get when I click on the picture to expand the image:
https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/e266c129-fb29-45e2-9a5e-37dbcd6b6711/dcikyu7-d6d43510-7ecf-4924-8a1a-37872c072263.jpg/v1/fill/w_1024,h_854,q_75,strp/fionacoln__esp__by_julex93_dcikyu7-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9ODU0IiwicGF0aCI6IlwvZlwvZTI2NmMxMjktZmIyOS00NWUyLTlhNWUtMzdkYmNkNmI2NzExXC9kY2lreXU3LWQ2ZDQzNTEwLTdlY2YtNDkyNC04YTFhLTM3ODcyYzA3MjI2My5qcGciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.HDBoiuu66ZdwHsCjPJe6KZBQ9rzB0dpBIeaor2MkiHE
Image resolution is 1024x854 and wights 134kb.
These URLs will redirect to this older style URL, but the time it takes for the script to kick in is highly inconsistent. Sometimes the redirect happens on first try, most of the time it will hang and not do anything unless I refresh the tab several times:
https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/intermediary/f/e266c129-fb29-45e2-9a5e-37dbcd6b6711/dcikyu7-d6d43510-7ecf-4924-8a1a-37872c072263.jpg
Image is 2683x2236 and weights 618kb (clearly not the original file that you can get by going to the page and downloading from deviantart).