Changeset 328

Show
Ignore:
Timestamp:
02/23/10 20:40:41 (5 months ago)
Author:
izzy
Message:

! imdb::color() has been broken by IMDB changes - also fixed (see ticket #121)

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/CHANGELOG

    r326 r328  
    2222+ *_person::movies_writer() added to get writers filmography 
    2323! imdb_person::born() and died() have been broken by IMDB changes again - fixed. 
     24! imdb::color() has been broken by IMDB changes - also fixed. 
    2425 
    2526v1.9.8 (02.12.2009) 
  • trunk/imdb.class.php

    r319 r328  
    326326    if (empty($this->moviecolors)) { 
    327327      if ($this->page["Title"] == "") $this->openpage ("Title"); 
    328       if (preg_match_all("/\/List\?color-info.*?>\s*(.*?)</",$this->page["Title"],$matches)) 
     328      if (preg_match_all("|/search/title\?colors=.*?>\s*(.*?)<|",$this->page["Title"],$matches)) 
    329329        $this->moviecolors = $matches[1]; 
    330330    }