diff --git a/nova3/engines/rarbg.py b/nova3/engines/rarbg.py index c0af213..c274298 100644 --- a/nova3/engines/rarbg.py +++ b/nova3/engines/rarbg.py @@ -1,4 +1,4 @@ -#VERSION: 2.12 +#VERSION: 2.13 # AUTHORS: b0nk # CONTRIBUTORS: Diego de las Heras (ngosang@hotmail.es) @@ -78,6 +78,10 @@ class rarbg(object): response = retrieve_url(base_url % params) j = json.loads(response) + # check empty response + if 'torrent_results' not in j: + return + # parse results for result in j['torrent_results']: res = {'link': result['download'], diff --git a/nova3/engines/versions.txt b/nova3/engines/versions.txt index edf5111..b26958d 100644 --- a/nova3/engines/versions.txt +++ b/nova3/engines/versions.txt @@ -4,7 +4,7 @@ leetx: 2.2 legittorrents: 2.4 limetorrents: 4.5 piratebay: 2.20 -rarbg: 2.12 +rarbg: 2.13 torlock: 2.1 torrentscsv: 1.0 zooqle: 1.13