def get_rtorrent_connection(url):
    try:
        return rtorrent.RTorrent(url)
    except:
        return None
def get_rtorrent_connection(url):
    try:
        return rtorrent.RTorrent(url)
    except:
        return None