Page 1 of 9

IMDB Script not working

Posted: 2017-12-20 20:34:40
by spikeus7
IMDB Script not working. Doesn't import anything but year and url adress.

Posted: 2017-12-20 21:39:37
by LeMoi
Not working here too, it was working like a chram until yesterday, I suppose IMDb made some updates and changes in their websites, hope the script will be fixed soon ^^

Posted: 2017-12-20 21:46:51
by Radagast
Here too not working, only import some fields.

Posted: 2017-12-21 03:43:45
by revjoeyreed
Looks like the IMDB updates now include some great info that would be great in the database like Season and Episode information for TV shows and reasons for ratings, ie., "R for violence and strong language."

How cool would it be to filter for "drugs" or "nudity" and just watch the ones with gratuitous violence? ;)

Even if the script is just upgraded to work as it did, I will be most grateful. This is the best database I've ever used to track my collection.

Many thanks!!

Posted: 2017-12-21 08:39:24
by myersdenny
IMDB scripts definitely not working. Clearly IMDb has made some changes.
Virtually unusable.

Posted: 2017-12-21 16:14:49
by antp
Yes, the site changed, so the script will have to be updated. Maybe the changes are very minor ; I'll try to check that tomorrow if no-one else fixes it in the meantime.

Posted: 2017-12-21 19:31:09
by Radagast
antp wrote:Yes, the site changed, so the script will have to be updated. Maybe the changes are very minor ; I'll try to check that tomorrow if no-one else fixes it in the meantime.
Thanks Antoine

Posted: 2017-12-22 12:04:21
by antp
I published a new script on http://update.antp.be/amc/scripts/ as version 4.001 (time to switch from versions 3.xxx)
As usual, you can get it easily by running the script "Update scripts" at the top of the scripts list.

It seems to work with the two movies I used for the test
- it may fail on other movies, if so please report the concerned movies
- IMDb may do changes again in the next days, so maybe more updates will be needed

I only fixed main items. Some more advanced options still do not work, not sure all were working before anyway
Things to fix, or at least check:
Certification, MPAA (not sure it still exists), Trivia, Comments, Plot summaries others than the main one, Picture options other than small & large (maybe useless now), AKA titles (works maybe), ...

Now it gets the large image by changing parameters in the address of the small picture: it is experimental :D
The advantage is that you can chose the image size by changing the LargePictureHeight constant in the code (720p by default), maybe I should switch that to a script parameter rather than using an hard-coded constant but I'm not sure which older AMC versions would be supported then.

Thanks Antoine

Posted: 2017-12-22 15:55:25
by Robertg_s
I just wanted to thank you for fixing the IMDb script, Just tested it out and it is working fine for what I needed to do. You are truly a wizard when it comes to fixing promptly. It is one of the many reasons I am so glad I found this software.

Wishing you, your family and the staff as well as all the others users that frequent the forums all the best of the season. May you have a Happy New Year too.

Robert

Posted: 2017-12-22 16:04:48
by boristhecat
There is one error on this script, no idea what it is though.
HTTP/1.1 404 Not Found
Same here, this is one of the few programs I donate to. Great program and great support. Merry Christmas!

Posted: 2017-12-22 20:37:10
by kalimagdora
The actors name import is does'nt work

THX

Merry Christmas!

Posted: 2017-12-22 20:56:31
by antp
For me Actors work, so it must be depending on the settings that you have. Can you make a screen capture of the options set for the script? (on the right of the window)

Also, as said above, if you encounter problems it can help if I know what movie cause it - as it may be due to some movies not having info displayed the same way, or incomplete info.

Posted: 2017-12-22 21:53:06
by Radagast
Seems that some specials characters not are imported correctly.

http://www.imdb.com/title/tt0096685/reference

At writers field IMDB have Kôji Sawai, AntMovie imports Kôji Sawai

Posted: 2017-12-22 22:05:30
by LeMoi
Thanks for the update! I think there's still a encoding character problem, é for examples appear as é, I suppose it's some sort of Unicode/ANSI problem

Posted: 2017-12-23 07:56:58
by kalimagdora
https://drive.google.com/file/d/19wR72A ... YW8Dc/view

https://drive.google.com/file/d/1BBwgDO ... jkeG8/view

Hope it will be good, so I did not know how to paste image :)

antp wrote:For me Actors work, so it must be depending on the settings that you have. Can you make a screen capture of the options set for the script? (on the right of the window)

Also, as said above, if you encounter problems it can help if I know what movie cause it - as it may be due to some movies not having info displayed the same way, or incomplete info.

Posted: 2017-12-23 08:32:48
by antp
Thanks, I'll check that.
Indeed I didn't test with ActorsLayout=4

Posted: 2017-12-23 15:26:29
by revjoeyreed
It looks like the MPAA is still there in the source code. This is from "The Ballad of Lefty Brown," as an example.

Code: Select all

<span itemprop="contentRating">Rated R for violence and some language</span>
I really suck at scripting. Everything I've tried has resulted in errors. :-/

Posted: 2017-12-23 15:40:37
by antp
I'm working on the script, I'll get MPAA info from the certifications list (using the US certification), I guess it should work for most of the cases.

Posted: 2017-12-23 16:02:37
by antp
I posted a version 4.002 that should fix:
- actors layout
- special characters
- MPAA/Certification
- original/translated title
There may still be problems though, as again I tested only with a few entries

I modified the "AllActors" option so 0 = stars from the top of the page, as the old 0 option had no use anymore (we import all info from the "/reference" movie page and not from the main movie page)
Options 1 and 2 still take respectively all actors and first 10 actors (number configurable via a constant in the script, in case you were previously using AllActors=0 for getting the first 15 actors).

Posted: 2017-12-23 19:36:46
by kalimagdora
Everything works perfectly. Thank you very much for this is a real Christmas gift. :grinking:
Merry Christmas and a Happy New Year


antp wrote:I posted a version 4.002 that should fix:
- actors layout
- special characters
- MPAA/Certification
- original/translated title
There may still be problems though, as again I tested only with a few entries

I modified the "AllActors" option so 0 = stars from the top of the page, as the old 0 option had no use anymore (we import all info from the "/reference" movie page and not from the main movie page)
Options 1 and 2 still take respectively all actors and first 10 actors (number configurable via a constant in the script, in case you were previously using AllActors=0 for getting the first 15 actors).