def METHOD_NAME(self, languages, imdb_id):
    subtitles = []
    logger.info('Searching subtitle %r', imdb_id)
    response = self.session.get(urljoin(self.server_url, f'/movie-imdb/{imdb_id}'),
                                allow_redirects=False, timeout=10,
                                headers={'Referer': self.server_url})
    # 404 is returned if the imdb_id was not found
    if response.status_code != 404:
        response.raise_for_status()
    if response.status_code != 200:
        logger.debug('No subtitles found')
        return subtitles
    soup = BeautifulSoup(response.content, 'lxml')
    tbl = soup.find('table', {'class': 'other-subs'})
    tbl_body = tbl.find('tbody') if tbl else None
    rows = tbl_body.findAll('tr') if tbl_body else []
    for row in rows:
        try:
            subtitles = subtitles + self._parse_row(row, languages, self.server_url)
        except Exception as e:
            pass
    subtitles.sort(key=lambda x: x.rating, reverse=True)
    return subtitles