I have written a bot for Wikidata that links the page IDs of TMDb to the respective elements of Wikidata, looping through all existing pages. I was now dealing with collections but I noticed that as long as a collection exists (.../collection/119) then there is no problem but if the collection does not exist (.../collection/120) then the URL redirects to the same movie ID (.../movie/120). Is there a URL that specifically shows only collections without redirects?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Shei
on April 26, 2024 at 7:47 AM
This sounds like a use case where you would be better off using the daily ID exports. These will only list the valid IDs for each data type. https://developer.themoviedb.org/docs/daily-id-exports