def rpDict():
    try:
        if '' in credentials()['rpnet'].values(): raise Exception()
        url = 'http://premium.rpnet.biz/hoster2.json'
        result = cache.get(client.request, 24, url)
        result = json.loads(result)
        hosts = result['supported']
        hosts = [i.lower() for i in hosts]
        return hosts
    except:
        return []
dataset/ETHPy150Open mrknow/filmkodi/plugin.video.specto/resources/lib/resolvers/realdebrid.py/rpDict/original