[T411] Use torrent id as permalink
This way links are not broken if the torrent is renamed.
This commit is contained in:
parent
641d5880c7
commit
9df5913d6b
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class T411Bridge extends BridgeAbstract {
|
|||
usleep(500000); //So we need to wait (500ms)
|
||||
|
||||
//Retrieve data from RSS entry
|
||||
$item_uri = 'http://'.ExtractFromDelimiters($element->outertext, '<a href="//', '"');
|
||||
$item_uri = $this->getURI().'torrents/details/?id='.ExtractFromDelimiters($element->find('a.nfo', 0)->outertext, '?id=', '"');
|
||||
$item_title = ExtractFromDelimiters($element->outertext, '" title="', '"');
|
||||
$item_date = strtotime($element->find('dd', 0)->plaintext);
|
||||
|
||||
|
|
Loading…
Reference in a new issue