

def resolve(url):
    try:
        (user, password) = getCredentials()
        url = ('http://api.premiumize.me/pm-api/v1.php?method=directdownloadlink&params[login]=%s&params[pass]=%s&params[link]=%s' % (user, user, urllib.quote_plus(url)))
        url = url.replace('filefactory.com/stream/', 'filefactory.com/file/')
        result = client.request(url, close=False)
        url = json.loads(result)['result']['location']
        return url
    except:
        return

dataset/ETHPy150Open mrknow/filmkodi/plugin.video.specto/resources/lib/resolvers/premiumize.py resolve/VarMisuse@32/81 `password`->`user`