mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-22 00:44:00 +01:00
omgwtfnzbs fix
This commit is contained in:
@@ -534,9 +534,9 @@ def searchNZB(album, new=False, losslessOnly=False):
|
|||||||
# Parse response
|
# Parse response
|
||||||
if data:
|
if data:
|
||||||
if 'notice' in data:
|
if 'notice' in data:
|
||||||
logger.info(u"No results returned from omgwtfnzbs: %s", d['notice'])
|
logger.info(u"No results returned from omgwtfnzbs: %s" % data['notice'])
|
||||||
else:
|
else:
|
||||||
for item in d:
|
for item in data:
|
||||||
try:
|
try:
|
||||||
url = item['getnzb']
|
url = item['getnzb']
|
||||||
title = item['release']
|
title = item['release']
|
||||||
|
|||||||
Reference in New Issue
Block a user