by lar282 on Tue Dec 21, 2010 2:20 pm
paste into dvd - imdb.com.txt
and put the file into spiders dir.
From here---------------------------
url=http://www.imdb.com/find?q=%searchstring%;tt=1
results=<a href="(?<url>/title/.*?/).*?">(?<display>.*?)</a>
id="img_primary">.*?<img src="(?<coverart>.*?)"
//title & year
//<div id="tn15title"><h1>(?<title>.*?)<span>\(<a href="/Sections/Years/.*?">(?<year>.*?)\)</span></h1>
<h1 class="header">(?<title>.*?)<span>.*?<a href="/year/.*?">(?<year>.*?)</a>
//store contents to variable....next regex uses that variable!!!
//<h5>Directors:</h5>(?<variable>.*?)<h5>Writers:</h5>
//<a href="/name/.*?".*?>(?<director>.*?)</a>
<h4 class="inline">.*?Director:.*?</h4>(?<variable>.*?)</div>
<a href="/name/.*?".*?>(?<director>.*?)</a>
//<a href="/Sections/Genres/.*?">(?<genre>.*?)</a>
<h4 class="inline">Genres:</h4>(?<genre>.*?)</div>
//<a href="/List.certificates.USA.(?<rating>.*?)&&heading=14
//USA:(?<rating>.*?)</a>
//<img width="18" alt="R" src="http://i.media-imdb.com/images/SFe18791ef3ed9f039376bc190ac0597cd/certificates/us/r.png" class="absmiddle" title="R" height="15"> 112 min - <a onclick="(new Image()).src='/rg/title-overview/genre/images/b.gif?link=%2Fgenre%2FAction';" href="/genre/Action" >Action</a> <span>|</span> <a onclick="(new Image()).src='/rg/title-overview/genre/images/b.gif?link=%2Fgenre%2FDrama';" href="/genre/Drama" >Drama</a> <span>|</span> <a onclick="(new Image()).src='/rg/title-overview/genre/images/b.gif?link=%2Fgenre%2FSci-Fi';" href="/genre/Sci-Fi" >Sci-Fi</a>
<img width="18" alt="(?<rating>.*?)"
//<h5>Runtime:</h5>(?<runtime>.*?)</div>
<h4 class="inline">Runtime:</h4>(?<runtime>.*?)</div>
//<table class="cast">.*?(?<variable><tr.*?>.*?</tr><tr.*?>.*?</tr><tr.*?>.*?</tr><tr.*?>.*?</tr><tr.*?>.*?</tr>).*?</table>
//<td class="nm"><a href="/name/.*?">(?<actors>.*?)</a></td>
<table class="cast_list">(?<variable>.*?)</table>
<a href="/name/.*?">(?<actors>.*?)</a>
//find imdb rating
//<b>User Rating:</b>.*?<b>(?<IMDB_rating>.*)</b>.*?<small>\(<a href="ratings">
<span class="rating-rating">(?<IMDB_rating>.*)<span>/10</span></span>
//watch the ( ) they must have the escape character!!! ---> \
//<a class="tn15more inline" href="/rg/title-tease/plotsummary(?<url>/title/.*?/plotsummary)">more</a></div>
//plotsummary/images/b.gif.link=(?<url>/title.*?/plotsummary)'
//<p class="plotpar">(?<plot>.*?)</p>
<h2>Storyline</h2><p>(?<plot>.*?)</p>
To here----------------------------------------