def METHOD_NAME(self, task, entry):
    """URL rewrite torrentz domain url with infohash to any torrent cache"""
    thash = REGEXP.match(entry['url']).group(2)
    torrent_cache = plugin.get('torrent_cache', self)
    urls = torrent_cache.infohash_urls(thash)
    # default to first shuffled url
    entry['url'] = urls[0]
    entry['urls'] = urls
    entry['torrent_info_hash'] = thash