Subject: | works a treat,thanks |
Summary: | Package rating comment |
Messages: | 8 |
Author: | kurse |
Date: | 2010-03-01 00:13:10 |
Update: | 2010-10-29 12:15:35 |
|
|
|
kurse rated this package as follows:
Utility: | Good |
Consistency: | Good |
Examples: | Sufficient |
|
kurse - 2010-03-01 00:13:10
works a treat,thanks
Nitesh Apte - 2010-03-01 04:45:04 - In reply to message 1 from kurse
Thanks for your review and rating.
Soon, I will upload same kind of package for watching trailer of movie from YouTube.
Nitesh Apte
kurse - 2010-03-06 00:34:28 - In reply to message 2 from Nitesh Apte
The trailer function sounds great. Would it be possible to return the idmb final movie page link ie:
imdb.com/title/tt0814255/
??
Nitesh Apte - 2010-03-06 05:03:12 - In reply to message 3 from kurse
That's easy:
if(@preg_match('~<p style="margin:0 0 0.5em 0;"><b>Media from .*?href="/title\/(.*?)".*?</p>~s', $this->page, $this->matches))
{
echo http://www.imdb.com/title/'.$this->matches[1].';
}
else if(@preg_match('~<td valign="top">.*?href="/title\/(.*?)".*?</td>~s', $this->page, $this->matches))
{
echo http://www.imdb.com/title/'.$this->matches[1].';
}
Sameer Bagga - 2010-10-28 12:45:53 - In reply to message 4 from Nitesh Apte
This too works great,but I have a request if you can help me.
I want to make a movie search engine , where user can search any movie they want.
after search I display all the relevant results and if user selects one of them I display the movie detailed information on my own website not redirect to IMDB page, basically use other movie website data.
Display all the data incl title,image,cast,director etc
I have explored few options but IMDB doesn't have API I have not got too much success.
Please help on this one too
Nitesh Apte - 2010-10-28 12:54:28 - In reply to message 5 from Sameer Bagga
Do you have any idea how can you make a torrent search engine like http://www.torrentz.com. If yes, then your problem is solved.
If possible please rate the package.
Thanks
Nitesh Apte - 2010-10-28 13:05:40 - In reply to message 5 from Sameer Bagga
I believe IMDB does provide it's API. Can you check that again and let me know.
Sameer Bagga - 2010-10-29 12:15:35 - In reply to message 7 from Nitesh Apte
No the IMDB doesn't provide an API.
I have no idea on how to make a search engine like the one you mentioned.
I know php but no XML.
|