Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Closed Thread
  #1  
Old 7th January 2010, 10:03
proba10 proba10 is offline
Member
 
Join Date: Dec 2008
Choose
Posts: 7
Default Dead IMDB rating
07.10.2010 dead persons!

the tsse and fast IMDB ordering died probable the script was exchanged on IMDB website.
They are out of order!!
0.0/10

1.)

dead

TSSE IMDB mod

2.)

dead

PHP Code:
function getMovieRating($imdb_website)
    {
        if (
preg_match('/<b>([0-9]{1,2}\.[0-9]{1,2})\/10<\/b> \(.+ votes\)/'$imdb_website$hit)) 

        {
            return 
$hit[1];
        }
        else
        {
            return 
FALSE;
        }
   } 
3.)

dead

PHP Code:
function imdb_rating($link)
{
    
$page file_get_contents($link);

    
preg_match_all("/<div class=\"meta\">\n<b>(.+?)\/10<\/b>/"$page$matches);

    return 
$matches[1][0];

Help me please, is for somebody working?

update:
I solved it already thank you. beautiful day

Last edited by proba10; 7th January 2010 at 11:18.
  #2  
Old 7th January 2010, 13:39
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
Would you like the share with others how you fixed it?

p
  #3  
Old 7th January 2010, 15:24
proba10 proba10 is offline
Member
 
Join Date: Dec 2008
Choose
Posts: 7
Default
Quote:
Originally Posted by phogo View Post
Would you like the share with others how you fixed it?

p
ok

tsse 4.3 - 5.6

include/ts_imdb.php

search

PHP Code:
  $regex '#<b>User Rating:</b>(.*)</small>#U';
  
preg_match_all ($regex$text$ratingPREG_SET_ORDER); 
replace

PHP Code:
  $regex '#<b>(\d\.\d/10)</b>#Uis';
  
preg_match_all ($regex$text$ratingPREG_SET_ORDER); 
finish;
The Following User Says Thank You to proba10 For This Useful Post:
Phogo (8th January 2010)
Closed Thread

Tags
dead , imdb , rating

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show Rating in browse lovebeer TBDev 3 31st May 2010 23:54
Rating in Comments Fynnon Mods & Themes 6 5th May 2010 06:27
Why all torrents are dead danscarlat Template Shares 0 14th April 2010 16:07
Torrent dead bug lovebeer Yuna Scatari Edition (YSE) 2 20th September 2009 14:25
Dead torrents trilious TBDev 4 14th August 2008 13:33



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