fix torrentleech、tnode
This commit is contained in:
@ -83,7 +83,6 @@ class TNodeSpider:
|
||||
results = res.json().get('data', {}).get("torrents") or []
|
||||
for result in results:
|
||||
torrent = {
|
||||
'site': self._indexerid,
|
||||
'title': result.get('title'),
|
||||
'description': result.get('subtitle'),
|
||||
'enclosure': self._downloadurl % (self._domain, result.get('id')),
|
||||
|
@ -47,7 +47,6 @@ class TorrentLeech:
|
||||
results = res.json().get('torrentList') or []
|
||||
for result in results:
|
||||
torrent = {
|
||||
'indexer': self._indexer.get('id'),
|
||||
'title': result.get('name'),
|
||||
'enclosure': self._downloadurl % (self._indexer.get('domain'), result.get('fid'), result.get('filename')),
|
||||
'pubdate': StringUtils.format_timestamp(result.get('addedTimestamp')),
|
||||
|
Reference in New Issue
Block a user