fnic-lemmy / bestofbot

A bot posting weekly "best of" posts to Lemmy
https://lemmy.dbzer0.com/c/lemmydirectory
1 stars 0 forks source link

Find alternative hosting for backup posts #46

Open M4rtineski opened 4 months ago

M4rtineski commented 4 months ago

I deleted the 3 first posts and I was lucky to visit modarator feed right before the sleep and notice it in under 10 minutes since posting. I wonder if the bot itself decided to post 4 times or if it got rate blocked somehow.

chris-y commented 4 months ago

For some reason it looks like it couldn't get the gist:

Task #0, Attempt #1 failed: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/gists/gists#get-a-gist", "status": "404"}
chris-y commented 4 months ago

Seems to be something wrong with gist, as I'm getting 404 trying to access it, even though it was previously working, and even setting it full public isn't helping.

M4rtineski commented 4 months ago

Can you implement some fail proof code as well to prevent similar situations in the future? Bot posting the post a bunch of times isn't good...

chris-y commented 4 months ago

Yeah, that's done, need to fix the gist issue though.

chris-y commented 4 months ago

OK, fnic-bot has been soft-blocked and I think the (probably Anime) posts to the gist breached the AUP. I've requested it to be unrestricted as it's stopping the PRs working. We'll need to find somewhere else to store those backups.

M4rtineski commented 4 months ago

Well, this sucks. So they scan the image links and verify it with ai?

chris-y commented 4 months ago

I don't know, I'm just guessing that was the reason.

fnic-bot commented 3 months ago

Test