Wikidata:Requests for permissions/Bot/NicereddyBot 4
The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved --Lymantria (talk) 09:50, 1 November 2020 (UTC)[reply]
NicereddyBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Nicereddy (talk • contribs • logs)
Task/s: Adding AniList anime ID (P8729) and AniList manga ID (P8731) statements to anime and manga items respectively, based on their MyAnimeList identifiers.
Code: anilist_anime_import.rb and anilist_manga_import.rb
Function details: Essentially, AniList is a database of Japanese anime and manga. We already have a bunch of MyAnimeList IDs (1500ish for anime, a little over 1300 for manga), and AniList's API provides the corresponding MAL IDs for most anime and manga in its database. I've written scripts to get all the anime and manga items from AniList's API with their MAL IDs, then match the MAL IDs to Wikidata items and add the AniList anime ID or AniList manga ID to the Wikidata item if one has a MAL ID listed by AniList. Should have a very low error rate (especially since most of AniList's original content catalogue was imported _from_ MyAnimeList, so they should be 1:1 matches).
I've already run a test of both scripts on my bot (https://www.wikidata.org/wiki/Special:Contributions/NicereddyBot), its most recent edits are from the two scripts. Anime import was tested at 2:53 - 3:01 on October 25th, manga import was tested at 4:46 - 4:51 on October 25th.
Thanks :) --Nicereddy (talk) 04:55, 25 October 2020 (UTC)[reply]
- I will approve this request in a couple of days, provided that no objections will be raised. Lymantria (talk) 05:34, 28 October 2020 (UTC)[reply]