Changeset 389

Show
Ignore:
Timestamp:
06/03/10 14:19:02 (3 months ago)
Author:
izzy
Message:

! imdb::prodNotes: lastUpdate was broken due to a site change (see ticket:151)

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/doc/CHANGELOG

    r388 r389  
    66v2.0.2 
    77------------------- 
    8 ! some search results missed the year (if it was consisting of more than a plain 
     8! imdbsearch: some search results missed the year (if it was consisting of more than a plain 
    99  year, e.g. something like "2001/II") 
     10! imdb::prodNotes: lastUpdate was broken due to a site change 
    1011 
    1112v2.0.1 (23.05.2010) 
  • trunk/imdb.class.php

    r385 r389  
    658658    preg_match('!<h5>Status:</h5>\s*<div class="info-content">\s*(.*?)\|(.*?)</div>!ims',$match[1],$tmp); 
    659659    $status = trim($tmp[1]); $statnote = trim($tmp[2]); 
    660     preg_match('!<h5>Status Updated:</h5>\s*(\d+)\s*(\D+)\s+(\d{4})!ims',$match[1],$tmp); 
     660    preg_match('!<h5>Status Updated:</h5>\s*<div.+?>\s*(\d+)\s*(\D+)\s+(\d{4})!ims',$match[1],$tmp); 
    661661    $update = array("day"=>$tmp[1],"month"=>$tmp[2],"mon"=>$this->monthNo($tmp[2]),"year"=>$tmp[3]); 
    662662    preg_match('!<h5>More Info:</h5>\s*<div class="info-content">\s*(.*?)</div!ims',$match[1],$tmp);