If they don't block AMC's user agent, it is technically possible, but I rarely have time to work on the few scripts I support, so someone else has to do it.Yoan wrote:By the way, is it possible to update the script for www.tv.com or write a new one? This site is really useful for TV shows.
IMDB script
Simple question.
Hi!
I just want to know if it is possible to get the movie info from imdb.pt using this script.
In the script editor I've changed the country location to Brazil, but all info comes in english.
I need all info in Portuguese. So i just want to know if it is possible. Or if there is another way to do that.
Thanks!
I just want to know if it is possible to get the movie info from imdb.pt using this script.
In the script editor I've changed the country location to Brazil, but all info comes in english.
I need all info in Portuguese. So i just want to know if it is possible. Or if there is another way to do that.
Thanks!
Re: Simple question.
The layout of the site looks quite similar, so maybe it's possible to adapt the imdb.com script easily. Try changing all imdb.com in the script to imdb.pt, maybe they use the same CMS. I'd recommend doing step by step and testing between each steps if the script still works or what the results are.cranico wrote:Hi!
I just want to know if it is possible to get the movie info from imdb.pt using this script.
In the script editor I've changed the country location to Brazil, but all info comes in english.
I need all info in Portuguese. So i just want to know if it is possible. Or if there is another way to do that.
Thanks!
Though when the html code should differ too much, it would need more changes on script code, so that some more detailed scripting knowledge might be neccessary.
But maybe just give it a try
Re: Simple question.
I guess it'll need more changes on script code... =(bad4u wrote:The layout of the site looks quite similar, so maybe it's possible to adapt the imdb.com script easily. Try changing all imdb.com in the script to imdb.pt, maybe they use the same CMS. I'd recommend doing step by step and testing between each steps if the script still works or what the results are.
Though when the html code should differ too much, it would need more changes on script code, so that some more detailed scripting knowledge might be neccessary.
But maybe just give it a try
I tried to change imdb.com to imdb.pt. And changing only 1 line the script stops working.
Anyway, i'll try to make it work.
Thanks for your answer!
Re: Simple question.
I had some time today while waiting for re-building my raid array, and I had a closer look on the code. I'll release a rough adaption of current imdb script that basically works with the imdb.pt site, means it will import most important data, but at least needs some finetuning on some import functions and/or layout, maybe some translations, and not all options might be working (I only tested for my default settings). You might be able to use it as is or use it as a starting point for your own modifications to enhance it and release for others then. It should be a lot easier to learn modifying the script when basic functions like search etc work.cranico wrote:I guess it'll need more changes on script code... =(bad4u wrote:The layout of the site looks quite similar, so maybe it's possible to adapt the imdb.com script easily. Try changing all imdb.com in the script to imdb.pt, maybe they use the same CMS. I'd recommend doing step by step and testing between each steps if the script still works or what the results are.
Though when the html code should differ too much, it would need more changes on script code, so that some more detailed scripting knowledge might be neccessary.
But maybe just give it a try
I tried to change imdb.com to imdb.pt. And changing only 1 line the script stops working.
Anyway, i'll try to make it work.
Thanks for your answer!
Please understand that I won't spend more time on the script (though I will try to help if you have specific questions working on it) and someone will have to update it when imdb updates their html code, too. So it might be good to learn some scripting basics at least for fixing simple bugs sooner or later..
It seems that www.tv.com blocks AMC user agent judging by the message “To get the most out of TV.com, please, upgrade to the latest version of Firefox, Safari, Chrome, or Internet Explorer”. I get this every time when I try to use the existing script. Pity, because the site is good.
There is another change in the IMDB code – this time regarding the movie awards data. Instead of plain description, now the awards data is assembled in a table which leads to awful text formatting after the import (a lot of unnecessary tabs, spaces and comas). To be honest, the new view of the awards data is not bad at all, but I guess it will require a lot of changes to be adopted in the AMC itself (introduction of new field or splitting the “Comments” field in two parts – “Comments” and “Awards”).
There is another change in the IMDB code – this time regarding the movie awards data. Instead of plain description, now the awards data is assembled in a table which leads to awful text formatting after the import (a lot of unnecessary tabs, spaces and comas). To be honest, the new view of the awards data is not bad at all, but I guess it will require a lot of changes to be adopted in the AMC itself (introduction of new field or splitting the “Comments” field in two parts – “Comments” and “Awards”).
Thanks for reporting. An updated script (v.3.66) is available from http://update.antp.be/amc/scripts/IMDB.ifs or via script [Update Scripts].Yoan wrote:There is another change in the IMDB code – this time regarding the movie awards data. Instead of plain description, now the awards data is assembled in a table which leads to awful text formatting after the import (a lot of unnecessary tabs, spaces and comas). To be honest, the new view of the awards data is not bad at all, but I guess it will require a lot of changes to be adopted in the AMC itself (introduction of new field or splitting the “Comments” field in two parts – “Comments” and “Awards”).
Re: Simple question.
See viewtopic.php?p=31107#31107 for a basic script to work with IMDB.pt.cranico wrote:I guess it'll need more changes on script code... =(bad4u wrote:The layout of the site looks quite similar, so maybe it's possible to adapt the imdb.com script easily. Try changing all imdb.com in the script to imdb.pt, maybe they use the same CMS. I'd recommend doing step by step and testing between each steps if the script still works or what the results are.
Though when the html code should differ too much, it would need more changes on script code, so that some more detailed scripting knowledge might be neccessary.
But maybe just give it a try
I tried to change imdb.com to imdb.pt. And changing only 1 line the script stops working.
Anyway, i'll try to make it work.
Thanks for your answer!
Re: Simple question.
bad4u, you are the best! THANK YOU!bad4u wrote:See viewtopic.php?p=31107#31107 for a basic script to work with IMDB.pt.cranico wrote:I guess it'll need more changes on script code... =(bad4u wrote:The layout of the site looks quite similar, so maybe it's possible to adapt the imdb.com script easily. Try changing all imdb.com in the script to imdb.pt, maybe they use the same CMS. I'd recommend doing step by step and testing between each steps if the script still works or what the results are.
Though when the html code should differ too much, it would need more changes on script code, so that some more detailed scripting knowledge might be neccessary.
But maybe just give it a try
I tried to change imdb.com to imdb.pt. And changing only 1 line the script stops working.
Anyway, i'll try to make it work.
Thanks for your answer!
I'll take a look ASAP!
Script version 3.66 seems to work properly for me. Please check your current script version, when you select it on the scripting window you can see current version on the info frame below the scripts list.starf wrote:For Your Info:
Description is Broken/Not fetched
Thanks for all the hard work
If you still have a problem please give an example movie, as it might be on specific movies only.
Hi
I've not used Ant Movie Catalog for some time but after updating it (exe and script). I can't get it to:
1) Display the full url (it saves: "http://imdb.com/title/tt").
When importing (F6) I can select "view page" under "movie selection window" open and display the page. So it clearly getting the info for import but not saving it?
2) Import the image.
It's just blank but can be viewed @ imdb. On old titles in my catalog when re-importing (f6) it displays "old" and "new" values side by side and I can see that it won't import some of the values.
Any ideas?
Thanks
---------------------------
Information
---------------------------
MovieCatalog.exe: version 3.5.1.2 (created on 01/02/2009 19:15:52)
AMCExchange.dll: version 1.1.0.1 (created on 22/09/2007 11:47:56)
AMCReport.exe: version 1.0.2.2 (created on 15/01/2005 17:13:58)
MediaInfo.dll: version 0.7.35 (created on 06/09/2010 11:34:02)
(press Ctrl+C if you want to copy these information to clipboard)
---------------------------
OK
---------------------------
I've not used Ant Movie Catalog for some time but after updating it (exe and script). I can't get it to:
1) Display the full url (it saves: "http://imdb.com/title/tt").
When importing (F6) I can select "view page" under "movie selection window" open and display the page. So it clearly getting the info for import but not saving it?
2) Import the image.
It's just blank but can be viewed @ imdb. On old titles in my catalog when re-importing (f6) it displays "old" and "new" values side by side and I can see that it won't import some of the values.
Any ideas?
Thanks
---------------------------
Information
---------------------------
MovieCatalog.exe: version 3.5.1.2 (created on 01/02/2009 19:15:52)
AMCExchange.dll: version 1.1.0.1 (created on 22/09/2007 11:47:56)
AMCReport.exe: version 1.0.2.2 (created on 15/01/2005 17:13:58)
MediaInfo.dll: version 0.7.35 (created on 06/09/2010 11:34:02)
(press Ctrl+C if you want to copy these information to clipboard)
---------------------------
OK
---------------------------
Please update IMDB script to latest version 3.66 , I did test some movies and it worked without problems here.
How to check script version:
- open scripting window (the list with scripts)
- select imdb script (so that it is marked blue)
- look the information frame below the scripting window now, there is an info field "Script version", it must show 3.66
For updating the script you can run the script [Update Scripts], it will give you the possibility to download and install the new version automatically.
How to check script version:
- open scripting window (the list with scripts)
- select imdb script (so that it is marked blue)
- look the information frame below the scripting window now, there is an info field "Script version", it must show 3.66
For updating the script you can run the script [Update Scripts], it will give you the possibility to download and install the new version automatically.
IMDB script broken
I haven't used the IMDB script for a month or so, but when I tried today, on 2 different movies, it produced a list of matches to my search as usual, but choked after I selected the one I wanted and hit OK. It looked like it was downloading something from the site, but after a few seconds it stopped, and I got an error message saying "HTTP 1.1 404 Not Found", which looks to me like it is requesting something that is no longer available at the location it is looking. It sure would be nice if IMDB would just stop fiddling with things for a while, so that all the people that access them via web scrapers wouldn't need to keep rewriting them.
Thanks for the quick reply. Please see attached screen shot (3.66 installed):bad4u wrote:Please update IMDB script to latest version 3.66 , I did test some movies and it worked without problems here.
How to check script version:
- open scripting window (the list with scripts)
- select imdb script (so that it is marked blue)
- look the information frame below the scripting window now, there is an info field "Script version", it must show 3.66
For updating the script you can run the script [Update Scripts], it will give you the possibility to download and install the new version automatically.
Ah, okay, this bug depends on script option settings for "AllActors". I'll have a look into it tomorrow, now it's just too late here.
In the meantime simply set "AllActors" (in the script options on the right side of scripting window) to "1" ("Import all possible actors"), it should work again then.
In the meantime simply set "AllActors" (in the script options on the right side of scripting window) to "1" ("Import all possible actors"), it should work again then.
Re: IMDB script broken
[quote="Spacecase"]I haven't used the IMDB script for a month or so, but when I tried today, on 2 different movies, it produced a list of matches to my search as usual, but choked after I selected the one I wanted and hit OK. It looked like it was downloading something from the site, but after a few seconds it stopped, and I got an error message saying "HTTP 1.1 404 Not Found", which looks to me like it is requesting something that is no longer available at the location it is looking. It sure would be nice if IMDB would just stop fiddling with things for a while, so that all the people that access them via web scrapers wouldn't need to keep rewriting them.[/quote]
I have encountered the same error (HTTP 1.1 404 Not Found) when trying to download information for "From Paris With Love". The only information downloaded is the Country and Comments fields.
However, I have no problem downloading all information for "In the Line of Fire", "Fast and Furious", or "Speed Racer" as examples.
I am using script 3.66 and my script settings are 2,1,0,1,0,0,1,1,0,0,0,4,0,0,0,0,3,1,1,4,0,0,0.
Any help would be appreciated...
I have encountered the same error (HTTP 1.1 404 Not Found) when trying to download information for "From Paris With Love". The only information downloaded is the Country and Comments fields.
However, I have no problem downloading all information for "In the Line of Fire", "Fast and Furious", or "Speed Racer" as examples.
I am using script 3.66 and my script settings are 2,1,0,1,0,0,1,1,0,0,0,4,0,0,0,0,3,1,1,4,0,0,0.
Any help would be appreciated...
[FR : dysfonctionnement importation des scripts]
Cela ne marche toujours pas, même avec "AllActors" ! Merci de votre aide..