As the title says for hentai/anime based subs i created a SauceNao bot on the username SauceNaoBot!

To add it just send a message to the bot saying {community name (not displayname)}:Enable So for Paizuri Hentai, it would be paizuri:Enable both sides are caps agnostic.

Once added it will scan through your sub every minute (or so if it gets more popular) commenting on new posts with a SauceNao result!

Things it can handle: normal image posts Posts with an image embedded in the body

Things it cant handle currently: Videos arent supported by SauceNao as far as i can tell. it will work on gif’s though If its a multi image post it will only check the first one Gallery sites: Especially Reddit as i cant actually get the file names from a reddit gallery ( i cant manage to find a way to pull the file names using reddit’s api :/) if its a single file from reddit it does work though.

Anyway thanks for your time everyone, and happy modding! Update: it was down for a a little bit, turns out when the instance updated to V0.18 NSFW results were no longer returned from the API unless i sent an auth string with them. Its been adjusted and should be up again!

  • Keralewd@lemmynsfw.comM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Thanks again for working on this (and for not requiring it to be added as mod). 👍

    Any thoughts about integrating support for H-anime via trace.moe? The quotas are a lot less generous than saucenao though unless you become a sponsor.

    • Padded Person@lemmynsfw.comOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Update: looking into it theres an c# api wrapper i can use to do this, and im going to modify it to run both SauceNao, and Trace.Moe and output it in 1 comment with two sections. Although i need an api key to do that, which may take a day or two for them to send me so ill update you then!