forked from blallo/rss-bridge
TPB: (oops wrong td)
This commit is contained in:
parent
f566981470
commit
529c1817f5
1 changed files with 2 additions and 2 deletions
|
@ -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.'<br>seeders: '.$item->seeders.' | leechers: '.$item->leechers.'<br><a href="'.$element->find('a',3)->href.'">download</a>';
|
||||
if(!empty($item->title))
|
||||
$this->items[] = $item;
|
||||
|
|
Loading…
Reference in a new issue