IMDB Script not working

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.
Post Reply
spikeus7
Posts: 4
Joined: 2013-08-07 15:46:32

IMDB Script not working

Post by spikeus7 »

IMDB Script not working. Doesn't import anything but year and url adress.
LeMoi
Posts: 171
Joined: 2006-04-09 11:26:43

Post 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 ^^
Radagast
Posts: 16
Joined: 2016-04-22 16:07:15

Post by Radagast »

Here too not working, only import some fields.
revjoeyreed
Posts: 5
Joined: 2017-11-13 21:09:46

Post 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!!
myersdenny
Posts: 1
Joined: 2017-12-21 08:37:05
Location: Retired

Post by myersdenny »

IMDB scripts definitely not working. Clearly IMDb has made some changes.
Virtually unusable.
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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.
Radagast
Posts: 16
Joined: 2016-04-22 16:07:15

Post 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
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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.
Robertg_s
Posts: 9
Joined: 2016-09-14 03:01:24
Location: Nanaimo, British Columbia Canada

Thanks Antoine

Post 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
boristhecat
Posts: 68
Joined: 2015-06-30 22:25:21

Post 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!
kalimagdora
Posts: 63
Joined: 2009-03-11 14:36:10
Location: Hungary

Post by kalimagdora »

The actors name import is does'nt work

THX

Merry Christmas!
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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.
Radagast
Posts: 16
Joined: 2016-04-22 16:07:15

Post 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
LeMoi
Posts: 171
Joined: 2006-04-09 11:26:43

Post 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
kalimagdora
Posts: 63
Joined: 2009-03-11 14:36:10
Location: Hungary

Post 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.
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Thanks, I'll check that.
Indeed I didn't test with ActorsLayout=4
revjoeyreed
Posts: 5
Joined: 2017-11-13 21:09:46

Post 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. :-/
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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.
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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).
kalimagdora
Posts: 63
Joined: 2009-03-11 14:36:10
Location: Hungary

Post 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).
Post Reply