All movie guide script doesn't work

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.
Lemaireus
Posts: 76
Joined: 2014-02-14 10:18:14

Post by Lemaireus »

Raoul, here is what I suspect to be another little bug: try searching for the 2013 movie "The Double," directed by Richard Ayoade. The movie is there on All Movie Guide with a synopsis, review and all the other details, but it doesn't show in the results that we're getting in the AMG script.

The 2011 film with the same name, directed by Michael Brandt, is certainly a more popular movie but the 2013 entry should at least show in the results. Any guesses what is going wrong here?
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

All Movie Guide V 0.8.1

Post by Raoul_Volfoni »

Lemaireus wrote:One little bug has crept in: in movies with more than one director, the names are now separated by a [ / ] rather than a [ , ]. This has happened for the first time in the AMG script for the director's field: We should go back from the slash to the comma as the latter is the correct option. Comma has the sense of 'and', where as a slash has other connotations.
It's because I changed the method to retrieve the director and I have kept the original separation used on the site. 0.8.1 version should put everything back in order.

All Movie Guide 0.8.1
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Post by Raoul_Volfoni »

Lemaireus wrote:Raoul, here is what I suspect to be another little bug: try searching for the 2013 movie "The Double," directed by Richard Ayoade. The movie is there on All Movie Guide with a synopsis, review and all the other details, but it doesn't show in the results that we're getting in the AMG script.

The 2011 film with the same name, directed by Michael Brandt, is certainly a more popular movie but the 2013 entry should at least show in the results. Any guesses what is going wrong here?
Basically because the site has a weird search engine. If I get the site search page with the film 'The Double', one is listed first and the second one is listed in 38th position !!. For a strange reason the script retrieves only the first 20 results. I'll watch it when I have some time.
Meanwhile, you can copy the address of the film on the site, paste it into AMC URL field and use the script in batch mode. It should work for this kind of weird and not accurate response of the AMG search engine, until I find a solution.

[edit]
I had a look and it appears that the structure of the html page of the site only show the first 20 results, that's why the script retrieves only 20 results.
Following results displayed uses javascript which unfortunately amc script did not have access, I don't see a solution to this.
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

All Movie Guide V 0.8.2

Post by Raoul_Volfoni »

I have slightly modified the script. When the script asks for the name of the movie, now you can paste the url of the movie instead. My best option at this time for these cases.

All Movie Guide 0.8.2
kalimagdora
Posts: 63
Joined: 2009-03-11 14:36:10
Location: Hungary

Post by kalimagdora »

I don't even find the words, it is very cool and you are the best. :grinking:
You can always count on you, you're also helping us the last time.

IMDB script also works paste the url of the movie instead and I use it some times.

If someone does not read this forum, It should make it available to this script in the "update scripts" option. Then many people will actually use.

:) Have a nice day, and get some rest :)
Lemaireus
Posts: 76
Joined: 2014-02-14 10:18:14

Post by Lemaireus »

Thank you, Raoul, that is the perfect workaround until one comes up with a solution. URL works perfectly well for the odd cases where the title doesn't turn up in the first twenty results. Ingenuity is the soul of invention :)
Lemaireus
Posts: 76
Joined: 2014-02-14 10:18:14

Post by Lemaireus »

Hi Raoul, I ran into another little issue while importing information for the movie 'American Sniper' ( http://www.allmovie.com/movie/american-sniper-v581791 ). On the AMG website the plot synopsis is one paragraph, but the script breaks the text up into three sections while importing it. The following snapshot illustrates the breaks:

Image

I guess this might have to do with text formatting issues but you would know better. I should add that thus far I am getting this issue only in the 'American Sniper' title. I tried importing information for 'You've Got Mail'--another title with a long synopsis--just to check but did not run into any issue with that title. So this may not really be a bug, just a random issue with the aforementioned title.
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Post by Raoul_Volfoni »

Hi,

Like you said it's probably just a random issue. I can probably remove all line breaks in synopsis, question is, all amg synopsis are in one block ? there are no formatted synopsis at all ?
Lemaireus
Posts: 76
Joined: 2014-02-14 10:18:14

Post by Lemaireus »

Almost all the synopses I have seen thus far are single paragraph units, but there may well be some that run into two paragraphs or more. As of now I have noticed the issue with only one title mentioned above so no need really to change anything for now. I'll post a message if the same issue crops up in more titles.
Post Reply