

def resolve(self, url):
    try:
        if ('google' in url):
            url = client.request(url, output='geturl')
            if ('requiressl=yes' in url):
                url = url.replace('http://', 'https://')
            else:
                url = url.replace('https://', 'http://')
        else:
            url = ('%s|User-Agent=%s' % (url, urllib.quote_plus(client.agent())))
        return url
    except:
        return

dataset/ETHPy150Open mrknow/filmkodi/plugin.video.specto/resources/lib/sources/yify_mv_null.py source.resolve/original