[YGGTorrentBridge] Add URI to feed items

References #931
This commit is contained in:
logmanoriginal 2018-11-18 09:14:20 +01:00
parent c4550be812
commit 41d02554f3

View file

@ -115,6 +115,7 @@ class YGGTorrentBridge extends BridgeAbstract {
$item = array(); $item = array();
$item['timestamp'] = $row->find('.hidden', 1)->plaintext; $item['timestamp'] = $row->find('.hidden', 1)->plaintext;
$item['title'] = $row->find('a', 1)->plaintext; $item['title'] = $row->find('a', 1)->plaintext;
$item['uri'] = $row->find('a', 1)->href;
$torrentData = $this->collectTorrentData($row->find('a', 1)->href); $torrentData = $this->collectTorrentData($row->find('a', 1)->href);
$item['author'] = $torrentData['author']; $item['author'] = $torrentData['author'];
$item['content'] = $torrentData['content']; $item['content'] = $torrentData['content'];