MKULTRA GAMING NEWS: Brought to You By PythonFollow me via: Today, I’m feeling a bit under-the-weather. I’ve got the aches, the pains, and the coughing fits. Never-the-less, I wanted to do something, regardless, and I thought to myself, “You know, there are a few gaming news related bots on the fediverse, and most of them kinda suck, because they have no regard for people’s timelines.” In that, I mean, a lot of bots I’ve seen will pump a handful of rounds of feed items into a shotgun, and blast them all over your timeline in extremely short time spans. This sucks, because attempting to read your timeline while a bot spams it, is annoying! So, I solved the problem. What sparked me wanting to do this, was me, suddenly remembering how I asked one of the gaming news bot curators if he could … you know, put some kind of limit or interval on posts that his bot shares, or curate it in a way that it doesn’t share the same news ten times in five minutes. I remember him saying something like, “Well, I don’t know how to do that.” Being me, and knowing how to use a cronjob, I did it myself, with my own Python code, and my own bot. You can follow that bot here, from my Mastodon instance. Here’s how it’s done. Here are your requirements: And here’s a cronjob using a shell script so that it can activate an environment, execute the script, and then close the environment. Shell script: Cronjob: And you’re good to go! This shares once an hour, from a feed, at random, and has retry logic just in case a feed doesn’t work, or blocks scripts, or whatever. Voila.
mkultra.monster is independent, in that it is written, developed, and maintained by one person. Written, developed, and maintained, not for scrapers, bots, scammers, algorithms, or grifters: But for people to follow and read, just like the way it used to be, back in the golden age of the internet.
mkultra.monster is independent, in that it is written, developed, and maintained by one person. Written, developed, and maintained, not for scrapers, bots, scammers, algorithms, or grifters: But for people to follow and read, just like the way it used to be, back in the golden age of the internet.
|

RESPONSES & WEBMENTIONS
Replies, mentions, likes, reposts, and bridged responses connected to this post.
Send a response
Paste the public URL of your reply, mention, or response page and I will send it to
webmention.iofor verification.Loading responses...
Signal reactions
0 likes, 0 reposts
This post has not picked up any replies or mentions yet. Be the first to link to it from your own site, or reply from the Fediverse or Bluesky.
Unable to load webmentions right now.