fix torrentleech、tnode

This commit is contained in:
jxxghp
2023-08-11 13:39:51 +08:00
parent 263c9042c0
commit d05f1f8991
2 changed files with 0 additions and 2 deletions

View File

@ -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')),

View File

@ -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')),