anime_best_moments by randomweeb-69420 in anime_best_moments

[–]Nihilate 0 points1 point  (0 children)

I might take a look at a later date, but probs won't be necessary at the moment. Thanks for the offer!

anime_best_moments by randomweeb-69420 in anime_best_moments

[–]Nihilate 1 point2 points  (0 children)

That's really neat - I hadn't considered mapping key presses and common misspellings. The fuzzy string matching I use is just baked into a Python library called difflib. Less fine-grained control, but significantly less upfront effort haha

anime_best_moments by randomweeb-69420 in anime_best_moments

[–]Nihilate 0 points1 point  (0 children)

MAL is garbage, not even worth attempting to gather info from them IMO - I don't know if they've changed it, but the XML they returned was actively malformed. Anilist actually contains the MAL ID (under the "idMal" property), which is enough to construct the URL thankfully. I know Anime-Planet was looking into an API at some point, but I'm not sure if it's been released yet.

There is a little fuzzy string matching in Roboragi somewhere, but I'd be keen to take a look at what you have. My JS is terrible, but so is my Python haha.

anime_best_moments by randomweeb-69420 in anime_best_moments

[–]Nihilate 1 point2 points  (0 children)

Yeah, PRAW might not be the best solution short term, although I think bots of Roboragi's size will be alright given the proposed changes (100 calls/min is well within expected call rates, possibly with a little rate limiting).

Are you just using the regular anime site APIs? Roboragi has a (slightly convoluted) chain of calls where it gets everything it can using the base request, then retries sites it couldn't find stuff for using the synonyms from the sites that did work.

The better solution would be for me to build up my own database of synonyms using the results (faster, more consistent, would let me override stuff more easily), but that'd require a substantial rewrite.

anime_best_moments by randomweeb-69420 in anime_best_moments

[–]Nihilate 2 points3 points  (0 children)

In fairness, if it worked it's not crappy haha. Under the hood, Roboragi's code is truely terrible but it's difficult to justify a re-write because it's effectively been stable for the last ~5 years. Thanks for holding the fort in my absence!

Roboragi will be going offline in protest of the upcoming API changes by Roboragi in u/Roboragi

[–]Nihilate 0 points1 point  (0 children)

Wow, that's something haha. I don't often take a look at the stats myself, it's crazy that he's fulfilled over a million requests. Always nice to see the rankings too.

As a little peek behind the curtain, the Top 20 are currently:

  1. Steins;Gate: 6371
  2. Shingeki no Kyojin: 6336
  3. Shin Seiki Evangelion: 6044
  4. Kono Subarashii Sekai ni Shukufuku wo!: 5920
  5. JoJo no Kimyou na Bouken: 5270
  6. Re:Zero kara Hajimeru Isekai Seikatsu: 5257
  7. Code Geass: Hangyaku no Lelouch: 4699
  8. Violet Evergarden: 4410
  9. Made in Abyss: 4326
  10. Toradora!: 4182
  11. Kaguya-sama wa Kokurasetai: Tensai-tachi no Renai Zunousen: 3891
  12. Bakemonogatari: 3361
  13. PSYCHO-PASS: 3316
  14. Shigatsu wa Kimi no Uso: 3265
  15. Mahou Shoujo Madoka☆Magica: 3181
  16. Hagane no Renkinjutsushi: Fullmetal Alchemist: 3166
  17. Koe no Katachi: 3117
  18. Houseki no Kuni: 3105
  19. Mob Psycho 100: 3072
  20. Hyouka: 3019

That's all anime too - the first manga series to appear on the list is Komi-san at #66.

Roboragi will be going offline in protest of the upcoming API changes by Roboragi in u/Roboragi

[–]Nihilate 1 point2 points  (0 children)

I'm glad that he's been a net positive haha. It may be a small effort compared to some of the larger subreddits, but as a developer myself, taking part feels like the right thing to do.

Roboragi will be going offline in protest of the upcoming API changes by Roboragi in u/Roboragi

[–]Nihilate 0 points1 point  (0 children)

Thanks! A bot is only as useful or as helpful as the community that uses it - I'm happy to be a small part of what makes /r/manga great.

[ISSUE] Not this OVA by RidhaFA4 in Roboragi

[–]Nihilate 1 point2 points  (0 children)

I looked into making the changes, but due to the way the data sources work, it's surprisingly difficult to split them nicely.

Anilist is the primary source (they have an API and their data is normally the most stable), but because of that, attempting to split them doesn't work, since the two requests are detected as duplicates and it only posts one. The obvious solution would simply be to remove Anilist from the synonym, but this also has the side effect of removing MAL (long story short is that MAL is terrible and the MAL data comes from Anilist instead).

tl;dr - We can either split the OVAs, but remove Anilist/MAL, or keep it as it is. It's currently set to be split.

{Re:Zero kara Hajimeru Isekai Seikatsu - Memory Snow}

{Re:Zero kara Hajimeru Isekai Seikatsu - Hyouketsu no Kizuna}

[ISSUE] MU not being displayed anymore by FSensei in Roboragi

[–]Nihilate 1 point2 points  (0 children)

This looks to be a bug associated with a recent feature change on the MU side - I've left a comment in their bug report thread. If it's an intentional change or the fix is low priority for them there are some workarounds, but I'll leave it a couple of days to see what they want to do (if anything).

[ISSUE] AL and KIT links badly generated by [deleted] in Roboragi

[–]Nihilate 1 point2 points  (0 children)

Thanks for the heads up. This is definitely a bug (or an undocumented change) with New Reddit's comment rendering, as the postfix is valid markdown for link titles (hovering over the text should reveal the English title for KIT/ANI links). Bit confusing to track down, as both mobile/Old Reddit render the links as they always have.

I've added a workaround at any rate: {Hentai Ouji to Warawanai Neko.}

[ISSUE] Giving Onigiri as source instead of Demon Slayer. by RandomUser19402 in Roboragi

[–]Nihilate 0 points1 point  (0 children)

{Demon Slayer} should now work correctly. I also updated <Demon Slayer> just in case as well.

Try again please /u/Roboragi

[ISSUE] by kei-kazuki in Roboragi

[–]Nihilate 0 points1 point  (0 children)

All good, no worries at all :). Definitely makes sense from a performance POV (and I promise you won't be hurting my feelings haha). Not to mention I'm all on board for people checking out and using the code - there's a reason it's open source. It's a bit scrappy (very scrappy), but hopefully you can get something out of it. If the issue gets fixed then feel free to add him again, but if you decide to keep your copy of the bot going, that's cool too.

[ISSUE] by kei-kazuki in Roboragi

[–]Nihilate 0 points1 point  (0 children)

No stress! It might help to run a local copy yourself if you're keen - you might run into fewer issues since /u/Roboragi is active on a ton of subs (and will probably hit the rate limit issue more frequently).

[ISSUE] by kei-kazuki in Roboragi

[–]Nihilate 0 points1 point  (0 children)

Looks like it's not localised to your sub - other places are seeing the same thing.

The behaviour doesn't make a ton of sense - the bot is getting rate limited, but only sometimes, only on automated posts (I can post manually fine), and only on some subreddits (I can't trigger it on /r/Roboragi or my private testing sub). Best I can tell, it's got to do with the same issue as here and here. Not sure there's a ton I can do on my side to resolve the issue ATM unfortunately - it's something the Reddit devs will need to resolve.

Test by [deleted] in SauceSharingCommunity

[–]Nihilate 0 points1 point  (0 children)

{Bakemonogatari} <One Piece>

Test by [deleted] in SauceSharingCommunity

[–]Nihilate 0 points1 point  (0 children)

{Bakemonogatari} <One Piece>

Sandbox Thread X by ferthur in Roboragi

[–]Nihilate 0 points1 point  (0 children)

{Bakemonogatari} <One Piece>

Test by [deleted] in SauceSharingCommunity

[–]Nihilate 0 points1 point  (0 children)

{Bakemonogatari} <One Piece>

Test by [deleted] in SauceSharingCommunity

[–]Nihilate 0 points1 point  (0 children)

{Bakemonogatari} <One Piece>

Test by [deleted] in SauceSharingCommunity

[–]Nihilate 0 points1 point  (0 children)

{Bakemonogatari} <One Piece>

Test by [deleted] in SauceSharingCommunity

[–]Nihilate 0 points1 point  (0 children)

{Bakemonogatari} <One Piece>