mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-23 15:06:53 +00:00
Article link is the magnet link
It is usefull for some BitTorrent clients if the main link of an article is pointing directly on a torrent file or magnet link. With this difference, you can use the feed to automatically download new files based on a particular PB pattern.
This commit is contained in:
parent
6456d145a0
commit
c184f9f307
@ -63,8 +63,8 @@ class ThePirateBayBridge extends BridgeAbstract{
|
||||
|
||||
foreach($html->find('tr') as $element) {
|
||||
$item = new \Item();
|
||||
$item->uri = 'https://thepiratebay.vg/'.$element->find('a.detLink',0)->href;
|
||||
$item->id = $item->uri;
|
||||
$item->id = 'https://thepiratebay.vg'.$element->find('a.detLink',0)->href;
|
||||
$item->uri = $element->find('a',3)->href;
|
||||
$item->timestamp = parseDateTimestamp($element);
|
||||
$item->title = $element->find('a.detLink',0)->plaintext;
|
||||
$item->seeders = (int)$element->find('td',2)->plaintext;
|
||||
|
Loading…
Reference in New Issue
Block a user