Changeset 346 for branches/php4-imdbonly/imdb.class.php
- Timestamp:
- 03/08/10 19:17:51 (6 months ago)
- Files:
-
- 1 modified
-
branches/php4-imdbonly/imdb.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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 }
