Wikidata:Requests for permissions/Bot/AddLetterboxdFilmIdBot
- 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--Ymblanter (talk) 19:00, 27 April 2023 (UTC)[reply]
AddLetterboxdFilmIdBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Carlinmack (talk • contribs • logs)
Task/s: Adding Letterboxd Film ID (P6127) statements to items which already have a TMDB Film ID (P4947)
Code: https://gitlab.com/carlinmack/addletterboxdfilmid/-/blob/main/add-letterboxd-ids.py
Function details: Letterboxd is a popular film review website which uses TMDB as its data source. You can navigate to the film page of a TMDB ID by URL, such as https://www.themoviedb.org/movie/496243 -> https://letterboxd.com/tmdb/496243. I have been creating Letterboxd lists from Wikidata and have been manually doing this redirect and adding the Letterboxd ID before creating the script above. I have so far added about 1k Letterboxd IDs, 80% using the script.
There are currently 212,505 TMDB IDs on Wikidata and 58,526 do not have a Letterboxd film ID. As such the bot will make these 58k edits, and then I will edit the script to run daily/weekly to ensure this doesn't become a problem again in the future.
Notes: My script only adds a statement where one does not currently exists and only when the film exists on Letterboxd. I haven't noticed any problems with the tagging of TMDB IDs on Wikidata. --Carlinmack (talk) 15:43, 21 April 2023 (UTC)[reply]
- can you run some samples? can you have it add a reference? BrokenSegue (talk) 16:28, 21 April 2023 (UTC)[reply]
- Yep my recent edits were made by the script. And have it Reference URL (P4656) https://letterboxd.com/tmdb/[tmdb-id]? Yep I can add that :) Carlinmack (talk) 16:54, 21 April 2023 (UTC)[reply]
- great sounds like a good bot then Support BrokenSegue (talk) 17:06, 22 April 2023 (UTC)[reply]
- Yep my recent edits were made by the script. And have it Reference URL (P4656) https://letterboxd.com/tmdb/[tmdb-id]? Yep I can add that :) Carlinmack (talk) 16:54, 21 April 2023 (UTC)[reply]