Page 4 of 4

Re: [REL] IMDB ( via API )

Posted: 2026-01-27 14:37:59
by Munkey
humungus wrote: 2026-01-24 15:00:24 - retain actor tags like 'voice' and 'uncredited' (providing they're included in the API response, obviously);
Implemented:

Code: Select all

1.5.1 - (2026/01/27) - Improvement: Import attributes too when GetCharacters is enabled. [voice, uncredited, ect.]
                       Improvement: Remove escapes from tagline.
                       Improvement: Replace 'null' with 'x' if authorRating is not set in a comment.

Re: [REL] IMDB ( via API )

Posted: 2026-01-27 16:11:27
by humungus
Once again, many thanks, Munkey!

re importing Comments when there's no Trivia: I have not encountered this with the latest script, so all good.

re spoilers in Trivia: yes, that one's on me, I have no idea how I didn't see that. But there's something weird going on here.
Example: https://www.imdb.com/title/tt0055630/trivia/
This Trivia has multiple spoilers, and they're scattered all over the place. It seems Trivia items are sorted by the number of 'Helpful' votes, but spoilers aren't separated from the rest of the Trivia.
I also noticed that "Director's Trademark" is not tagged as such when it's imported. Obviously, no idea if this is so in API response.
Is this a limitation of the API you're using? The main script also uses API for Trivia, but does not have these issues.

re actors' attributes: it seems there is an issue when the actor has an attribute but not a character.
Example: https://www.imdb.com/title/tt0233232/reference/
"Benjamin Charles" (listed dead last without a character) is imported without the '(uncredited)' tag.
In comparison, https://www.imdb.com/title/tt0066868/reference/ lists several 'uncredited' actors with characters, and they're all imported properly. Both 'as' tags are also imported properly.


Question: how does this script go about retrieving translated titles?
My use case is simple: I keep the original title (so German, French etc., and transliterated for Japanese etc.) and then have, when I can get them, English-language titles (usually USA, UK and/or World-Wide on IMDb).
For this script, I checked the option to retrieve 25 titles so as to do my own picking. But I'm not sure what I'm supposed to be getting because I always get only one title.

Looking at several movies, it seems only titles that do not have a 'tag' (like "Alternative Title") are retrieved. Titles that are not linked to a country are also not retrieved.

Example 1: https://www.imdb.com/title/tt0344604/releaseinfo/
The script returns one Translated Title, and that is "Après Vous". The title "After You" is not retrieved.

Example 2: https://www.imdb.com/title/tt0069850/releaseinfo/
The script again returns only one Translated Title, "The French Sex Murders". The US dvd title is not retrieved, neither are the additional two World-wide titles.

Example 3: https://www.imdb.com/title/tt0058461/releaseinfo/
The only Translated Title retrieved is "A Fistful of Dollars". Titles "A Fist Full of Dollars", "For a Fistful of Dollars" (both USA) and "Fistful of Dollars" (World-wide) are not retrieved.

Example 4: https://www.imdb.com/title/tt0055630/releaseinfo/
The only Translated Title retrieved is "Yojimbo". "The Bodyguard" and "Yojimbo the Bodyguard" are not retrieved.

Example 5: https://www.imdb.com/title/tt2075318/releaseinfo/
The script does not return any translated/aka title.

Re: [REL] IMDB ( via API )

Posted: 2026-01-27 18:49:21
by Munkey
humungus wrote: 2026-01-27 16:11:27 This Trivia has multiple spoilers, and they're scattered all over the place. It seems Trivia items are sorted by the number of 'Helpful' votes, but spoilers aren't separated from the rest of the Trivia.
They are in helpful order. I don't think that they should be separated.
humungus wrote: 2026-01-27 16:11:27 I also noticed that "Director's Trademark" is not tagged as such when it's imported.
Is this a limitation of the API you're using? The main script also uses API for Trivia
How that tag should look like after import?
It's just ignored. The main script doesn't use the IMDb API. It's using various custom APIs for IMDb data.
humungus wrote: 2026-01-27 16:11:27 re actors' attributes: it seems there is an issue when the actor has an attribute but not a character.
Example: https://www.imdb.com/title/tt0233232/reference/
Fixed.
humungus wrote: 2026-01-27 16:11:27 Question: how does this script go about retrieving translated titles?
Nothing special, just asks for a title, I get the USA titles. I guess that's default.
I don't know if you can request the titles by country. No one requested such feature and I personally care only for the original + USA titles.
humungus wrote: 2026-01-27 16:11:27 Example 1: https://www.imdb.com/title/tt0344604/releaseinfo/
The script returns one Translated Title, and that is "Après Vous". The title "After You" is not retrieved.
"After You" is not a title in any country. It went by the original title, untranslated, just ellipsis removed. So, it's not a bug.
"Informal" title is just some random google translate nonsense.

Re: [REL] IMDB ( via API )

Posted: 2026-01-28 00:31:30
by humungus
Munkey wrote: 2026-01-27 18:49:21
humungus wrote: 2026-01-27 16:11:27 This Trivia has multiple spoilers, and they're scattered all over the place. It seems Trivia items are sorted by the number of 'Helpful' votes, but spoilers aren't separated from the rest of the Trivia.
They are in helpful order. I don't think that they should be separated.
I'm not sure it's helpful to display a major spoiler as the first item. This happens with https://www.imdb.com/title/tt31121295, for example. Yes, I know it's Sean Bean, so technically not much of a spoiler for anyone who knows his movies, but he did pledge not to play such characters anymore a few years before this movie was made, so it is a spoiler for this movie.
Munkey wrote: 2026-01-27 18:49:21
humungus wrote: 2026-01-27 16:11:27 I also noticed that "Director's Trademark" is not tagged as such when it's imported.
Is this a limitation of the API you're using? The main script also uses API for Trivia
How that tag should look like after import?
The main script formats it this way:

Code: Select all

- Director Trademark: [gimmick] Upon its initial theatrical release, "Zotz" plastic coins were given to ticket buyers.
On the page, there's also the director's name before 'gimmick', so I don't know if it's lost during import or just not in API response, but it doesn't matter much (there's usually only one director...).

Without the tag, as imported by your script, it's still a fun piece of Trivia, but it loses its context as one of William Castle's notorious promotional gimmicks. This may not seem like much, but then there are items like this (https://www.imdb.com/title/tt1183251):

Code: Select all

One of the characters is called Spota.
This makes no sense whatever without "Director's Trademark" tag, unfortunately.

Mind you, there's also a 'Cameo' tag, sometimes also used for major stars' pre-fame bit parts because IMDb is stupid. Main script imports it this way:

Code: Select all

- (Cameo) Louis Nye: as the death ray inventor. He and Tom Poston, along with Don Knotts, were...
With your script it looks like this:

Code: Select all

as the death ray inventor. He and Tom Poston, along with Don Knotts, were...
Munkey wrote: 2026-01-27 18:49:21
humungus wrote: 2026-01-27 16:11:27 re actors' attributes: it seems there is an issue when the actor has an attribute but not a character.
Example: https://www.imdb.com/title/tt0233232/reference/
Fixed.
Thank you. Will check this tomorrow.
Munkey wrote: 2026-01-27 18:49:21
humungus wrote: 2026-01-27 16:11:27 Question: how does this script go about retrieving translated titles?
Nothing special, just asks for a title, I get the USA titles. I guess that's default.
If you get titles, you're lucky. I get a title. One, singular. https://www.imdb.com/title/tt0051235 has two USA titles, no tags, no "informal" bull, but only one is retrieved. Unless, of course, it's actually the UK title I get (there's only one and it is the one of the two USA titles I get).
Munkey wrote: 2026-01-27 18:49:21 I don't know if you can request the titles by country. No one requested such feature and I personally care only for the original + USA titles.
I wouldn't dream of requesting such a feature because that would be ridiculous. But I am tempted to ask if the script could optionally retrieve all translated titles (there's no shortage of Italian movies with multiple USA titles...) as I'm quite happy to manually delete the titles I don't need which I already do with the main script. I'm sure you're tired of hearing that, but if I knew how to make that script only fetch Trivia and Translated Titles without bothering about IMDb's pages beforehand (and thus not work when IMDb breaks things) and use your script for the rest so as not to have to annoy you with all this, I would, but that's way over my head. :(