diff --git a/bridges/ThePirateBayBridge.php b/bridges/ThePirateBayBridge.php index c0ce493..1a5cdc8 100644 --- a/bridges/ThePirateBayBridge.php +++ b/bridges/ThePirateBayBridge.php @@ -29,7 +29,9 @@ class ThePirateBayBridge extends BridgeAbstract{ $item->id = $item->uri; $item->timestamp = time(); $item->title = $element->find('a.detLink',0)->plaintext; - $item->content = $element->find('font',0)->plaintext.'
download'; + $item->seeders = (int)$element->find('td',3)->plaintext; + $item->leechers = (int)$element->find('td',4)->plaintext; + $item->content = $element->find('font',0)->plaintext.'
seeders: '.$item->seeders.' | leechers: '.$item->leechers.'
download'; if(!empty($item->title)) $this->items[] = $item; }