English > Scripts and Templates

MyMovies.it script for movies and people

<< < (7/7)

Ivek23:

--- Quote ---Example: 8-Mile has only a thumbinail, not a real poster. The transporter has only the english poster.
--- End quote ---

A little look at this two mymovies_mod and mymovies_NotFound_mod script because these scripts is download a poster for this movie.

goddert:

--- Quote ---A little look at this two mymovies_mod and mymovies_NotFound_mod script because these scripts is download a poster for this movie.
--- End quote ---

It's the thumbnail (from the main page) which is downloaded. Not a poster.

If anyone wants really this thumbnail (as fallback). One has to follow this way:

if exists <td class="rec_link_disattivo"> with a poster section (or look for the link "locandina". If it exists it points to the poster section)  then take the first poster of the poster section
else take the thumbnail of the main page.

You can't take the title attribute to locate the "locandina italiana" because sometimes they call it poster (although it is the "locandina italiana" - e.g. Baciami piccina) and sometimes they call it "locandina italiana".

In the end you can't really distinguish between foreign and Italian posters. I would take the first poster you find in the poster section (if exists an Italian poster 95% it is the first poster in the poster section). Otherwise take that thumbnail.

Personally I'd prefer to use another script to get a real poster if there is only a thumbnail.

By the way the page is a mess. They mix the mobile page (pad.mymovies.it) with the normal page (www.mymovies.it) which makes parsing a difficult.

Thiezar:
goddert got the point on this script.
I really don't want to download a thumbinail. So I did as goddert says: download the first poster (if exists) because it's 95% italian. In my last update the script downloads the first two posters (95% an italian and an alternative foreign poster).
The page is really a mess. There aren't HTTP elements identification or a standard structure so the script has to check a lot of conditions.
Not to mention the search engine: a nightmare. I'm in trouble with the mymovies peoples script right now because of it.

Ivek23:

--- Quote from: Thiezar on January 20, 2012, 05:25:30 pm ---Done. Try this update.

--- End quote ---

Now is better, but I have a suggestion:
this
--- Code: ---AddSearchResult(Title+' ['+Director+']', '', Year, URL, '');
--- End code ---
maybe the replaced by this
--- Code: ---AddSearchResult(Title+' ('+Year+') '+'   '+Director, '', '', URL, '');
--- End code ---
  is more evident in the search results.

Ivek23:
He made a small cosmetic correction (better appearance for the download section).

Script is attached, is also available  via the program's auto-update system.

[attachment deleted by admin]

Navigation

[0] Message Index

[*] Previous page

Go to full version