IMDB script

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
adler
Posts: 11
Joined: 2008-12-27 20:47:51

Post by adler »

I re-downloaded the script. Still no luck even with different settings.

I keep getting an error message HTTP/1.1 404 Not Found.

I'm not script savvy and have no idea what this message means.

Please help...Thanks in advance.
mattroby
Posts: 2
Joined: 2009-06-04 00:06:24

Script appears to be working fine now.

Post by mattroby »

I haven't run across a movie yet where I get the same error.

Thanks for your help!

:grinking:
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

adler wrote:I keep getting an error message HTTP/1.1 404 Not Found.

I'm not script savvy and have no idea what this message means.
It means script couldn't open or find a specific page. As I cannot reproduce this behaviour yet, please check (even if you downloaded again) that on scripting window the "information" frame (on the bottom of the scripts list) shows latest version 3.48 when you choose the IMDb script. Maybe there's a problem with virtual folders from Vista or Win7.

If it is 3.48, could you please post your settings from the "script options" frame on the right side for the IMDb script ? There you'll see "ActorsLayout", "AllActors", etc., just post the settings (numbers) from the top to bottom (should be 23 numbers then). I'll recheck then, maybe it's just a detailspage that couldn't be found or something.
anglo_bosnian
Posts: 1
Joined: 2009-08-28 14:29:29

Post by anglo_bosnian »

I have the same problem with error message HTTP/1.1 404 Not Found . I have script version 3.48, and my script options are: 4, 1, 1, 1, 0, 1, 1, 2, 0, 0, 0, 5, 1, 1, 1, 1, 1, 1, 1, 3, 0, 0, 0. Error usually appears when adding user comments, trivia, awards and some others. Actors, description and some others are appearing regularly. I have also noticed that url field from IMDB doesn't contain numbers after tt (http://imdb.com/title/tt), previously there were numbers (http://imdb.com/title/tt0121766). I hope it will soon be fixed.
adler
Posts: 11
Joined: 2008-12-27 20:47:51

Post by adler »

bad4u wrote:
It means script couldn't open or find a specific page. As I cannot reproduce this behaviour yet, please check (even if you downloaded again) that on scripting window the "information" frame (on the bottom of the scripts list) shows latest version 3.48 when you choose the IMDb script. Maybe there's a problem with virtual folders from Vista or Win7.

If it is 3.48, could you please post your settings from the "script options" frame on the right side for the IMDb script ? There you'll see "ActorsLayout", "AllActors", etc., just post the settings (numbers) from the top to bottom (should be 23 numbers then). I'll recheck then, maybe it's just a detailspage that couldn't be found or something.
I have IMDB script version 3.48. Checked it again. I cannot download trivia or awards. I have no problem with any of the other settings.

My script options are 2, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 4, 0, 0, 0, 0, 3, 1, 1, 4, 0, 0, 0

Thanks for your continued help...
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

Ok, thanks. It's the "AllActors" and "Producer" settings. As I don't use IMDb for myself, I run it at random settings and could not see this error. The first fix was correct, it just needs an additional one. A.s.a.p. ;)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

Line

Code: Select all

    MovieNumber := TextBetween(PageText, '<input type="hidden" name="auto" value="legacy/title/tt', '/combined"><input');
needs to be changed to

Code: Select all

    MovieNumber := TextBetween(PageText, '<input type="hidden" name="auto" value="legacy/title/tt', '/combined"><');
It's the same change I did on previous update, but for /combined pages this time (as these are loaded for some AllActors and Producer settings). Sorry, I did oversee that. I think that's all now, but please let me know if you still find any problems for specific settings.
GnomesRUs
Posts: 41
Joined: 2005-08-30 18:10:10
Location: U.S.A.

Post by GnomesRUs »

Thank You so much, bad4u, for fixing our script in such a timely manner! :)
adler
Posts: 11
Joined: 2008-12-27 20:47:51

Post by adler »

Thank-you for your efforts.
They are greatly appreciated.
donnyp
Posts: 6
Joined: 2009-02-24 05:11:51

Post by donnyp »

im still getting the same http/1.1 404 not found error. I changed the lines that bad4u said to change and im still getting this error.

I need to update some of my movies in my collection and I cant as of right now.

anyone help?
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

donnyp wrote:im still getting the same http/1.1 404 not found error. I changed the lines that bad4u said to change and im still getting this error.
Please download latest version from http://update.antp.be/amc/scripts/ or use script [UPDATE_SCRIPTS]. Before you run IMDb script, mark the script on the list and look on the information on the bottom of the scripting window, to be sure it is version 3.49 then.

If you still have the error on this version, please give few examples for which movies and maybe your script option settings (see few posts above for a how-to).
donnyp
Posts: 6
Joined: 2009-02-24 05:11:51

Post by donnyp »

alright, thanks bad4u. Sorry if I gave lack of information, not use to posting on these forums.

AMC has worked flawlessly so far.

Also the movies I'm getting the http/1.1 404 error on are "The Killing Room" and "The Third Nail"
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

donnyp wrote:Also the movies I'm getting the http/1.1 404 error on are "The Killing Room" and "The Third Nail"
These movies work correct with latest script version 3.49. I did some tests with different script option settings and could not get any http error.

If you are using Vista or Win7 with User Account Control (UAC) you might be editing/updating the wrong script version while AMC uses another script from virtual folders. Make sure that IMDb script shows 3.49 on scripting window after updating! But it's just a guess..
donnyp
Posts: 6
Joined: 2009-02-24 05:11:51

Post by donnyp »

works fine now! thanks! Im using version 3.49.

Reason it didnt work before is because i went to the update scripts but IMDB wasnt listed, so I had to change my options to view ALL scripts, then it showed up along with an update for dvd empire.

After i updated all scripts and choose the other few that I wanted, i restarted AMC and all was fine again.

Thanks bad4u!
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

donnyp wrote:Reason it didnt work before is because i went to the update scripts but IMDB wasnt listed, so I had to change my options to view ALL scripts, then it showed up along with an update for dvd empire.
This happens if you edit a script after a new script is available from the update server. The update script compares filedate to see if the file on your harddisk is older, but if you edited it the filedate might be wrong. If you often edit scripts, you should keep the autodetection for new scripts turned off - or save edited scripts to another filename.
LeMoi
Posts: 171
Joined: 2006-04-09 11:26:43

Post by LeMoi »

With movies with part of the title between brackets (like 'LOL (Laughing Out Loud) ®') some of the title infos are missing.

When there is more than one director, their name are not separated with coma (eg The Tale of Despereaux)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

IMDB script version 3.50: http://www.bad4u.741.com/full/IMDB.ifs (do NOT click, copy link into a NEW browser window !)

This version fixes both issues mentioned on previous post.
LeMoi
Posts: 171
Joined: 2006-04-09 11:26:43

Post by LeMoi »

Thanks for the fix :)
ouafouaf
Posts: 8
Joined: 2008-03-27 12:45:42

Post by ouafouaf »

Hello !

First of all, thanks for your work on this script :)

Now a small question:
Is it possible to import specific aka titles for films ? In the options, I only see the "HideAkaTitles" option. When set to 0, it imports only a few akas.
I'd like to auto import French aka title(s) only (in addition to the working titles, or dvd titles already auto imported). Is that possible ?

Thanks :)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

ouafouaf wrote:Is it possible to import specific aka titles for films ? In the options, I only see the "HideAkaTitles" option. When set to 0, it imports only a few akas.
I'd like to auto import French aka title(s) only (in addition to the working titles, or dvd titles already auto imported). Is that possible ?
Technically it is possible to add such function to the script. The option "HideAkaTitles" is for results list only, it does not affect the import to your database.

Currently the script always imports the partial list of aka titles from IMDB's default movie details page. Full list doesn't make sense, as all reults must fit into a single line. To import a country specific aka title, the script additionally would have to load /releaseinfo page, which is currently not downloaded.

I agree that it might be a "nice to have" feature, but as my free time is very limited at the moment, I concentrate on bugfixes only. Maybe someone else wants to write additional code for that. ;)
Post Reply