Update rarbg (#145)
This commit is contained in:
parent
4897c77738
commit
be0715d099
|
|
@ -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'],
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue