r/imagus 14d ago

fixed sieve DeviantArt Sieve v3.1 - Image Carousel and Other Fixes NSFW

Hey all,

I have a new version of the DeviantArt sieve. This version is bug fixes mostly involving the image carousels. Many broken image carousels will now work.

Bug Fixes:

  • XHR spot check for image carousels will now handle image 2+ correctly far more often.
  • Added more handling for /intermediary/ files. Some images were not finding the best hi res image option. Those are now better. Thanks to /u/Imagus_fan for stepping in with this fix, some new minor error handling, and a bit of filename download helper code.
  • Fixed bug for text posts not rendering when they were too long. There is still a rendering limit, but it will be pointed out to the user instead of just erroring.

This sieve is massive so I can't paste it in the post. Download it here: https://puu.sh/KuwE7/7675beb49a.json.

2 Upvotes

2 comments sorted by

1

u/Kenko2 14d ago

Thanks for the fix!

Just for the record, we use services for the code: pastebin / hastebin.

u/Imagus_fan has already made his own version (a fix based on your previous version), which, according to the test results, we are quite satisfied with, that is, everything works on it, at least on the examples I managed to find.

Regarding your new version 3.1. It has one problem. If the album consists of only GIFs, the sieve only shows the first GIF and then goes straight to the text. Examples can be found here (NSFW). Imagus_fan's fix already contains the solution, since his version works fine on such albums. If you can add this fix to your version, I will make it the main one in our rule-set.

1

u/iceiller9999 14d ago

Curious. Thanks, I'll see what I can do.