IMDB Script not working
IMDB Script not working
IMDB Script not working. Doesn't import anything but year and url adress.
-
- Posts: 5
- Joined: 2017-11-13 21:09:46
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!!
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!!
-
- Posts: 1
- Joined: 2017-12-21 08:37:05
- Location: Retired
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
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.
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
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
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
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
-
- Posts: 68
- Joined: 2015-06-30 22:25:21
-
- Posts: 63
- Joined: 2009-03-11 14:36:10
- Location: Hungary
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.
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.
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
http://www.imdb.com/title/tt0096685/reference
At writers field IMDB have Kôji Sawai, AntMovie imports Kôji Sawai
-
- Posts: 63
- Joined: 2009-03-11 14:36:10
- Location: Hungary
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
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.
-
- Posts: 5
- Joined: 2017-11-13 21:09:46
It looks like the MPAA is still there in the source code. This is from "The Ballad of Lefty Brown," as an example.
I really suck at scripting. Everything I've tried has resulted in errors. :-/
Code: Select all
<span itemprop="contentRating">Rated R for violence and some language</span>
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).
- 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).
-
- Posts: 63
- Joined: 2009-03-11 14:36:10
- Location: Hungary
Everything works perfectly. Thank you very much for this is a real Christmas gift.
Merry Christmas and a Happy New Year
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).