[REL] IMDB ( via API )

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Munkey
Posts: 66
Joined: 2025-06-19 04:55:29

Re: [REL] IMDB ( via API )

Post by Munkey »

Dorohedoro wrote: 2026-05-10 19:50:15 I thought that the actor image code you added right after I shared the script through Mega was the one Claude created, but from your comment I now understand (or assume) that you made it yourself from scratch. Sorry for the confusion. I’m not going to talk about it again here, since it was just a personal project anyways...
That script is AI slop... so I ended up writing the image importing myself. It only saved me the time of reading the AMC docs about extra fields. ;)
antp
Site Admin
Posts: 9898
Joined: 2002-05-30 10:13:07
Location: Brussels

Re: [REL] IMDB ( via API )

Post by antp »

Munkey wrote: 2026-05-10 19:20:33

Code: Select all

3.5.0 - (2026/05/10) - Reworked country importing.
                       Bugfix: The script failure when no country was present.
                       Change: Added a '15' option for ActorsLimit.
Thanks, updated on my server.

For the other script (actor images), there is already another thread, and indeed discussions related to it should be done there:
viewtopic.php?p=95127#p95127
raulsara01
Posts: 24
Joined: 2024-09-18 08:26:59

Re: [REL] IMDB ( via API ) in spanish

Post by raulsara01 »

Como ya estaba harto de tener que traducir la sinopsis y los comentarios de la info importada de IMDB, he modificado el script para que lance un Translate de Google y nos pase la info ya traducida. En opciones de script he añadido:

La opción principal es TranslateToSpanish:

0 = no traducir
1 = traducir solo la sinopsis (y solo si IMDb no la tiene ya en español)
2 = sinopsis + comentario (por defecto)

DescriptionLanguage1st Idioma preferido de la sinopsis.
Por defecto = 4 (Español de España). Si IMDb tiene la sinopsis en
ese idioma, la coge directa (sin pasar por Google) y solo traduce los comentarios.
DescriptionLanguage2nd Idioma de reserva si no existe el 1º.
Por defecto = 0 (Inglés). Si cae aquí (inglés) y TranslateToSpanish
es 1 ó 2, entonces sí se traduce con Google.

He probado algunas pelis y he tenido bastantes problemas con UTF8Decode en pelis tipo Danesas y nordicas por los acentos pero creo que ya funcionan, si veis cualquier cosa a mejorar me lo haceis saber.
Ahora le paso a Antonie el nuevo script
antp
Site Admin
Posts: 9898
Joined: 2002-05-30 10:13:07
Location: Brussels

Re: [REL] IMDB ( via API )

Post by antp »

Thanks, the script has been added to the server
Saephyroth
Posts: 7
Joined: 2026-03-24 07:23:57

Re: [REL] IMDB ( via API )

Post by Saephyroth »

Hello,
script is no longer working, every attempt to run it throws this error:

HTTP/1.1 403 Forbidden.


Any clue?
Munkey
Posts: 66
Joined: 2025-06-19 04:55:29

Re: [REL] IMDB ( via API )

Post by Munkey »

Saephyroth wrote: 2026-08-08 19:36:31 Hello, script is no longer working, every attempt to run it throws this error:

HTTP/1.1 403 Forbidden.

Any clue?
Describe exactly what you are doing to get the error. And check what version of the script you are using.
I don't have any issues with it.
Saephyroth
Posts: 7
Joined: 2026-03-24 07:23:57

Re: [REL] IMDB ( via API )

Post by Saephyroth »

Sorry, i was using 2.1.0 version. I updated the script and now it is working fine.

Question: is IMDB_userID the name of the user or is it the ID in the url profile page?
I get none of them working, even if my profile ratings are public.
Munkey
Posts: 66
Joined: 2025-06-19 04:55:29

Re: [REL] IMDB ( via API )

Post by Munkey »

Saephyroth wrote: 2026-08-09 15:12:44 Question: is IMDB_userID the name of the user or is it the ID in the url profile page?
I get none of them working, even if my profile ratings are public.
Works for me. Better question is: how do you get your user ID? Because now IMDB URLs don't show your ID anymore, just some long obfuscated string.
IMDB userID looks like that -> "ur12345678".
Munkey
Posts: 66
Joined: 2025-06-19 04:55:29

Re: [REL] IMDB ( via API )

Post by Munkey »

Found the way. Go to your ratings page, open Developer Tools, in DOM inspector tab, search for "authorId", there you will see your user id.
BTW, that long string in the url they call "profileId".
Saephyroth
Posts: 7
Joined: 2026-03-24 07:23:57

Re: [REL] IMDB ( via API )

Post by Saephyroth »

Thank you very much, it worked!