Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Reply
Thread Tools
  #1  
Old 20th August 2011, 17:10
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default New DVD releases from moviefone.com
this is just a little something I Threw together this is not Source related.

The code is simple it well create an array of latest DVD releases
PHP Code:
$newdvds = @file_get_contents('http://www.moviefone.com/dvd');
preg_match_all('#<div class="hub-item">(.*)</div><!-- .hub-item -->#siU'$newdvds$outputPREG_SET_ORDER);
$dvds = array();
foreach(
$output as $val){
if(!
is_array($val[0])){
preg_match_all('#<a class="movieTitle" href="(.*)">#siU'$val[0], $lkPREG_SET_ORDER);
$link $lk[0][1];
preg_match_all('#<a class="movieTitle" href="' $link '">(.*)</a>#siU'$val[0], $tiPREG_SET_ORDER);
$title $ti[0][1];
preg_match_all('#<img class="thePoster" onClick="window.location=\'' $link '\'" src="(.*)"#siU'$val[0], $imPREG_SET_ORDER);
$image $im[0][1];
preg_match_all('#<div class="openingSoon">(.*)</div>#siU'$val[0], $rdPREG_SET_ORDER);
$redate $rd[0][1];
$dvds[] = array(
'TITLE'        => $title,
'LINK'        => $link,
'POSTER'    => $image,
'RELEASED'    => $redate
);
}

Now the rest is up to you
to use it you well use foreach function like so

PHP Code:
foreach($dvds as $val){
echo 
$val['TITLE'].'<br>';
echo 
$val['LINK'].'<br>';
echo 
$val['POSTER'].'<br>';
echo 
$val['RELEASED'].'<br>';
echo 
'<br><br>';

this well generate a list like so

Code:
Blitz (2010)
http://www.moviefone.com/movie/blitz/10046998/main
http://o.aolcdn.com/dims-photohub/dims/MOVS/5/125/185/75/http://www.aolcdn.com/ch_movies/no_image_125x186
August 16, 2011


The Best and the Brightest
http://www.moviefone.com/movie/the-best-and-the-brightest/10049301/main
http://o.aolcdn.com/dims-photohub/dims/MOVS/5/125/185/75/http://o.aolcdn.com/os/movies/movie_posters/10049301_p_m
August 16, 2011


The Conspirator
http://www.moviefone.com/movie/the-conspirator/10018132/main
http://o.aolcdn.com/dims-photohub/dims/MOVS/5/125/185/75/http://o.aolcdn.com/os/movies/movie_posters/10018132_p_m
August 16, 2011
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
Fynnon (20th August 2011)
  #2  
Old 20th August 2011, 18:14
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default
this is great joe but i had in mind something a little diffrent
what i think should be usefull for tracker users is a page where they can see the new scene releases

info can be pulled from diffrent sites which anounce scene releases taken from private irc, private ftp, etc
let`s say you want to announce in your tracker the next movies which will be uploaded, then you take the info form here:

http://hdrls.com/movies.html

here are a lot of othere pre-scene release sites: http://filesharefreak.com/2009/01/26/pre-database-scene-release-and-dupecheck-websites
Reply With Quote
Reply

Tags
dvd , moviefonecom , releases


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 07:53. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.