def METHOD_NAME(self, task, entry, config):
    """Search for entries on HeBits"""
    account_info = self._fetch_account_info(self.user_profile_url, config)
    params = {
        'action': 'browse',
        'group_results': 0,
    }
    cookies = {"userid": f"{config['userid']}", "session": f"{config['session']}"}
    if 'category' in config:
        cat = HeBitsCategory[config['category']].value
        params[f'filter_cat[{cat}]'] = 1
    entries = set()
    params['order_by'] = HeBitsSort[config['order_by']].value
    params['order_way'] = 'desc' if config['order_desc'] else 'asc'
    for search_string in entry.get(
        'search_strings', [entry['title'], entry.get('original_title'), entry.get('imdb_id')]
    ):
        params['searchstr'] = search_string
        logger.debug('Using search params: {}', params)
        try:
            page = requests.get(self.search_url, cookies=cookies, params=params)
            page.raise_for_status()
            search_results_response = page.json()
        except RequestException as e:
            logger.error('HeBits request failed: {}', e)
            continue
        if search_results_response['status'] != 'success':
            logger.error('HeBits request failed: server error')
            continue
        search_results = search_results_response['response']['results']
        for result in search_results:
            torrent_id = result['torrents'][0]['torrentId']
            seeders = result['torrents'][0]['seeders']
            leechers = result['torrents'][0]['leechers']
            size = result['torrents'][0]['size']
            title = result['torrents'][0]['release']
            entry = Entry(
                torrent_seeds=seeders,
                torrent_leeches=leechers,
                torrent_availability=torrent_availability(seeders, leechers),
                content_size=size,
                title=title,
                torrent_freeleech=result['torrents'][0]['isFreeleech'],
                torrent_triple_up=result['torrents'][0]['isUploadX3'],
                torrent_double_up=result['torrents'][0]['isUploadX2'],
                url=f"{self.download_url}?action=download&id={torrent_id}&authkey={account_info['authkey']}&torrent_pass={account_info['passkey']}",
            )
            entries.add(entry)
    return entries