From 2c245a5a5c9bd6d2448a125135d966fef2267177 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Fri, 22 Dec 2017 11:47:28 +0100 Subject: [PATCH] Removed unused and commented code. --- torrentSearch/search.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/torrentSearch/search.py b/torrentSearch/search.py index cb422ef..e0c54c2 100755 --- a/torrentSearch/search.py +++ b/torrentSearch/search.py @@ -138,21 +138,6 @@ def searchTorrentSite(config, query, site, print_result): print(jsonList) return jsonList - # THIS BELOW IS IF WE ONLY WANT TO SEARCH FOR HQ CONTENT - # candidates = chooseCandidate(torrents_found) - # print(json.dumps(candidates)) - - - - # print('Length full: {}'.format(len(candidates))) - # print('Length movies: {}'.format(len(movie_candidates))) - # torrents_found = pirate.next_page() - # pprint(torrents_found) - # candidates = chooseCandidate(torrents_found) - - # Can autocall to next_page in a looped way to get more if nothing is found - # and there is more pages to be looked at - def signal_handler(signal, frame): """ Handle exit by Keyboardinterrupt