mirror of
https://github.com/rembo10/headphones.git
synced 2026-04-03 03:29:26 +01:00
size may be set as torznab:attr
This commit is contained in:
@@ -1353,8 +1353,10 @@ def searchTorrent(album, new=False, losslessOnly=False, albumlength=None,
|
||||
else:
|
||||
logger.info('Skipping %s, could not determine size' % title)
|
||||
continue
|
||||
else:
|
||||
elif item.size:
|
||||
size = int(item.size.string)
|
||||
else:
|
||||
size = int(item.find("torznab:attr", attrs={"name": "size"}).get('value'))
|
||||
|
||||
if all(word.lower() in title.lower() for word in term.split()):
|
||||
if size < maxsize and minimumseeders < seeders:
|
||||
|
||||
Reference in New Issue
Block a user