Hello!

I was wondering if lemmy.world has any bot restrictions / throttling behavior? I have a bot (ported from reddit) that is performing the same activities on lemmy.world and fanaticus.social, but I’m seeing different behavior: on LW posts aren’t being featured correctly and comments aren’t being added. I’m not seeing any significant configuration differences, and they are running the same code - Is there a server side explanation for this?

If you have any other suggestions for good bot lemmetiquette, I’d definitely like to hear them!

  • cerevant@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’ve been debugging and log crawling, but the live nature of my input data makes it difficult. The existing codebase doesn’t really have support for simulating inputs, so a lot of testing can only be done when games are running. The logs aren’t showing any post / edit errors, so I’m a bit baffled. I know that the bots were causing some hassle when the websockets issue was still present, so I wanted to check to see if we were throttled.

    The code is up here which is a WIP fork of the reddit bot. It has been adapted for other sports, but not for racing that I’m aware of.

    • PriorProject@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Does it support setting a proxy? An intercepting proxy with debugger features might give you the details you’re missing. https://mitmproxy.org/ is one popular/free option, though there are many others.

      Mitmproxy even supports a transparent mode, though that requires more network shenanigans to set up. If an explicit proxy is supported in redball, that’s definitely easiest to configure.