IMDB plot\summary scrape broken (2 Viewers)

pgjensen

Portal Pro
May 1, 2008
186
7
sure you chose imdb_com and didn't have any others available? I scanned hundreds of movies and it all worked except for what i posted above as examples. All plot/summary's were pulled afaik.
 

cheetah05

Portal Pro
April 9, 2006
328
5
London
Home Country
United Kingdom United Kingdom
EDIT: didn't read the whole thread, so the information is probably useless now :p


Hi there,

This may help whoever is developing it.

I think the way IMDB shows the plots has changed.

In a script i made (not for MP specifically - but in general), here is the working function i use to get the Plot, may give you some ideas:

Code:
//html = html code of the imdb page.

        private string IMDBPlotOutline(string html)
        {
            GroupCollection regMatch = Regex.Match(html, @"<h5>(?:Plot Outline:|Plot Summary:|Plot:)</h5>\s*(.*?)\s*<").Groups;

            if (regMatch.Count > 1)
            {
                return regMatch[1].Value.ToString();
            }
            else
            {
                return string.Empty;
            }
        }
 

Spaldo

MP Donator
  • Premium Supporter
  • May 7, 2008
    495
    12
    FlashFXP Development Team
    Home Country
    Hello,

    I am running the RC2 of MP 1.0 and am having problems with the IMDB scan as stated above.

    The majority of my movies are showing 'unknown' as the plot... In the database editor they are showing the plot under the summary (bottom) part, but not in the plot.

    Is there a solution for this? The posts above look like something is in the works or a SVN build, but I am still getting to work out the lingo/processes for this program.

    Thanks
     

    Users who are viewing this thread

    Top Bottom