code: def _search_url_titles(self, title):
          
          # make the search
          logger.info('Searching title name for %r', title)
          r = self.session.get(self.server_url + 'subtitle/search/', params={'q': title}, timeout=10)
          r.raise_for_status()
  
          # check for redirections
          if r.history and all([h.status_code == 302 for h in r.history]):
              logger.debug('Redirected to the subtitles page')
              links = [r.url]
          else:
              # get the suggestions (if needed)
              soup = ParserBeautifulSoup(r.content, ['lxml', 'html.parser'])
              links = [link.attrs['href'] for link in soup.select('#processes div.generalWindowTop a')]
              logger.debug('Found %d suggestions', len(links))
  
          url_titles = defaultdict(list)
          for link in links:
              parts = link.split('/')
              url_titles[parts[-3]].append(parts[-2])
  
          return url_titles
docs: Search the URL titles by kind for the given `title`.
  
          :param str title: title to search for.
          :return: the URL titles by kind.
          :rtype: collections.defaultdict