Changeset 346
- Timestamp:
- 03/08/10 19:17:51 (5 months ago)
- Location:
- branches/php4-imdbonly
- Files:
-
- 2 modified
-
doc/CHANGELOG (modified) (1 diff)
-
imdb.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/php4-imdbonly/doc/CHANGELOG
r340 r346 8 8 ! imdb::releaseInfo() was also partly affected by the last IMDB site changes 9 9 ! another IMDB site change broke imdb::alsoknow() 10 ! imdb::quotes() had some annoying "share this quote" added due to IMDB site changes 10 11 11 12 v1.2.4 (24.10.2010) -
branches/php4-imdbonly/imdb.class.php
r338 r346 1094 1094 if ( $this->page["Quotes"] == "" ) $this->openpage("Quotes"); 1095 1095 if ( $this->page["Quotes"] == "cannot open page" ) return array(); // no such page 1096 if (preg_match_all( "/<a name=\"qt.*?<\/a>\s*(.*?)<hr/",str_replace("\n"," ",$this->page["Quotes"]),$matches))1096 if (preg_match_all('|<a name="qt.*?</a>\s*(.*?)<p class="linksoda"|ims',str_replace("\n"," ",$this->page["Quotes"]),$matches)) 1097 1097 foreach ($matches[1] as $match) $this->moviequotes[] = str_replace('href="/name/','href="http://'.$this->imdbsite.'/name/',$match); 1098 1098 }
