Idea for a New Spider! (ATTN: LASSE)

Help each other out

Idea for a New Spider! (ATTN: LASSE)

Postby bsteed on Sat Jan 31, 2009 4:46 am

Hello all! You couldn't imagine the amount of times I go to this site to reference movies. Whether it be for reviews, plots, release dates, etc. Even their cover art, although a little small in dimensions, is better than most sites.

rottentomatoes.com

Lasse, mah man... you gotta get one rolling for this! I would love to learn how to do it, and once I get my new skin finished, it's what I will learn next.

One thing about it though, is that I don't see a rating. I don't know how big of a deal that is, but everything else is nice. They even have movies that are still in theaters.
bsteed
 
Posts: 23
Joined: Thu Jan 29, 2009 11:12 am

Re: Idea for a New Spider! (ATTN: LASSE)

Postby lar282 on Sat Jan 31, 2009 2:40 pm

i'll look at it later. to hungover today!
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Re: Idea for a New Spider! (ATTN: LASSE)

Postby bsteed on Sat Jan 31, 2009 4:38 pm

Just thought you'd like to take a peek. Whenever bud. Drink water!
bsteed
 
Posts: 23
Joined: Thu Jan 29, 2009 11:12 am

Re: Idea for a New Spider! (ATTN: LASSE)

Postby lar282 on Mon Feb 02, 2009 3:37 pm

url=http://www.rottentomatoes.com/search/full_search.php?search=%searchstring%
// http://www.rottentomatoes.com/search/full_search.php?search=eagle+eye

results=<td class="firstCol title".*?<a href="(?<url>/m/.*?/).*?">(?<display>.*?)</a>

//title & year
// <h1 class="movie_title clearfix">Eagle Eye (2008)</h1>
movie_title clearfix">(?<title>.*?)\((?<year>.*?)\)</h1>

// GENRE
// class="content"><a href="/movie/browser.php?genre=200001">Action/Adventure</a></span></p>
//Genre:</span> <span class="content"><a href="/movie/browser.php?genre=.*?">(?<genre>.*?)</a></span></p>


//<a href="/List.certificates.USA.(?<rating>.*?)&&heading=14

//<h5>Runtime:</h5>(?<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>



// PLOT
<span id="movie_synopsis_all" style="display: none;">(?<plot>.*?)</span>
// <a href="#" id="movie_synopsis_link">[

// Cover Art
// <a href="/m/eagle_eye/"><img src="http://images.rottentomatoes.com/images/movie/custom/59/1192059.jpg" width="144" height="225"
<a href="/m/eagle_eye/"><img src="(?<coverart>.*?)" width="
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Re: Idea for a New Spider! (ATTN: LASSE)

Postby slaman on Mon Feb 02, 2009 4:56 pm

I didn't realize that we had another regex guru other than tswhite. lar282, can you take a look at the impawards.com spider for coverart? There isn't another site on the net with such great posters!
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: Idea for a New Spider! (ATTN: LASSE)

Postby bsteed on Mon Feb 02, 2009 5:55 pm

Thanks LASSE! I knew you could nail it. You are the man!!!! I'll let everyone know how I make out with it as soon as I test it.
bsteed
 
Posts: 23
Joined: Thu Jan 29, 2009 11:12 am

Re: Idea for a New Spider! (ATTN: LASSE)

Postby lar282 on Mon Feb 02, 2009 6:31 pm

slaman wrote:I didn't realize that we had another regex guru other than tswhite. !



we don't. I am just a hangaround

I still need his help cause I can't get the GENRE to work.


//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Re: Idea for a New Spider! (ATTN: LASSE)

Postby lar282 on Tue Feb 03, 2009 7:33 am

the spider still needs works. u don't have to test it yet........

I'll see what I can do tonite.
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Re: Idea for a New Spider! (ATTN: LASSE)

Postby slaman on Tue Feb 03, 2009 4:40 pm

lar282 wrote:the spider still needs works. u don't have to test it yet........

I'll see what I can do tonite.


lar282, maybe you might have an idea for a post I made earlier:

Is there anyway to "merge" two variables?

For example, the <url> tag has something like http://www.impawards.com/2003/21grams.html
and the coverart has a tag of "posters/21grams.jpg"

Is there a way to concatenate the <url> tag up until after the date and add on the coverart tag?
slaman
 
Posts: 145
Joined: Sat Oct 14, 2006 10:30 pm

Re: Idea for a New Spider! (ATTN: LASSE)

Postby lar282 on Tue Feb 03, 2009 7:57 pm

slaman wrote:
lar282 wrote:the spider still needs works. u don't have to test it yet........

I'll see what I can do tonite.


lar282, maybe you might have an idea for a post I made earlier:

Is there anyway to "merge" two variables?

For example, the <url> tag has something like http://www.impawards.com/2003/21grams.html
and the coverart has a tag of "posters/21grams.jpg"

Is there a way to concatenate the <url> tag up until after the date and add on the coverart tag?

Sorry, but I can't even figure out the rottentomatoes. Gonna try som more but prolly will call for help from the REAL regex guru.

//Lasse
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Re: Idea for a New Spider! (ATTN: LASSE)

Postby lar282 on Wed Feb 04, 2009 3:19 pm

below works for
Plot
Year
Cover


url=http://www.rottentomatoes.com/search/full_search.php?search=%searchstring%
// http://www.rottentomatoes.com/search/full_search.php?search=eagle+eye

results=<td class="firstCol title".*?<a href="(?<url>/m/.*?/).*?">(?<display>.*?)</a>

//title & year
// <h1 class="movie_title clearfix">Eagle Eye (2008)</h1>
movie_title clearfix">(?<title>.*?)\((?<year>.*?)\)</h1>

// GENRE
// class="content"><a href="/movie/browser.php?genre=200001">Action/Adventure</a></span></p>
<a href="/movie/browser.php?genre=.*?">(?<genre>.*?)</a>



//<a href="/List.certificates.USA.(?<rating>.*?)&&heading=14

//<h5>Runtime:</h5>(?<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>



// PLOT
<span id="movie_synopsis_all" style="display: none;">(?<plot>.*?)</span>
// <a href="#" id="movie_synopsis_link">[

// Cover Art
// <a href="/m/eagle_eye/"><img src="http://images.rottentomatoes.com/images/movie/custom/59/1192059.jpg" width="144" height="225"
// http://images.rottentomatoes.com/images/movie/custom/59/1192059.jpg
<a href="/m/.*?"><img src="(?<coverart>.*?)" width=".*?" height=".*?"
lar282
 
Posts: 1624
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden