Help with movie spiders

Help each other out

Help with movie spiders

Postby slaman on Mon May 28, 2007 1:02 am

Hi guys,

I've been using tswhite's IMDB spider for the longest time, and now I'm noticing that IMDB's actor listing sucks. It's not the main stars, but instead, all the cast listed in alphabetical order. I just care about the main actors. I have been looking for suitable sources, and I figure Yahoo would work.

The first two lines of the spider should be:
url=http://movies.yahoo.com/mv/search?p=%searchstring%
results=<td><a href=".*?/movies/search/movie/title/*(?<url>.*?/info).*?">(?<display>.*?)</a><br>

but then I'm having a problem grabbing the actors information.

Can anyone help me out?

Why is this not working?

// Actors
<td valign=top align=right nowrap><font face=arial size=-1>Starring:</font></td>
<td><font face=arial size=-1>
(?<variable>.*?)
</td></tr>
<a*?>(?<actors>.*?)</a>
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm