From 66becf2642b2b82a9a71a86425e6e46eeed8307f Mon Sep 17 00:00:00 2001 From: rembo10 Date: Tue, 8 Apr 2014 15:26:38 -0700 Subject: [PATCH] Skip to the next result if only magnet link: --- headphones/searcher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/headphones/searcher.py b/headphones/searcher.py index b2dcc003..21115f19 100644 --- a/headphones/searcher.py +++ b/headphones/searcher.py @@ -1172,6 +1172,7 @@ def searchTorrent(album, new=False, losslessOnly=False): url = item.findAll("a")[3]['href'] else: logger.info('"%s" only has a magnet link, skipping' % title) + continue else: url = item.findAll("a")[3]['href'] formatted_size = re.search('Size (.*),', unicode(item)).group(1).replace(u'\xa0', ' ')