From 529c1817f5ca732812294346a30eff95d1f90b84 Mon Sep 17 00:00:00 2001 From: Mitsukarenai Date: Thu, 4 Dec 2014 19:13:17 +0100 Subject: [PATCH] TPB: (oops wrong td) --- bridges/ThePirateBayBridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/ThePirateBayBridge.php b/bridges/ThePirateBayBridge.php index 1a5cdc8..9721e43 100644 --- a/bridges/ThePirateBayBridge.php +++ b/bridges/ThePirateBayBridge.php @@ -29,8 +29,8 @@ class ThePirateBayBridge extends BridgeAbstract{ $item->id = $item->uri; $item->timestamp = time(); $item->title = $element->find('a.detLink',0)->plaintext; - $item->seeders = (int)$element->find('td',3)->plaintext; - $item->leechers = (int)$element->find('td',4)->plaintext; + $item->seeders = (int)$element->find('td',2)->plaintext; + $item->leechers = (int)$element->find('td',3)->plaintext; $item->content = $element->find('font',0)->plaintext.'
seeders: '.$item->seeders.' | leechers: '.$item->leechers.'
download'; if(!empty($item->title)) $this->items[] = $item;