docs: def get_url(song_input, auto):
      '''
      Provides user with a list of songs to choose from
      returns the url of chosen song.
      '''
      youtube_list = OrderedDict()
      num = 0  # List of songs index
  
      html = requests.get("https://www.youtube.com/results",
                          params={'search_query': song_input})
      soup = BeautifulSoup(html.text, 'html.parser')
  
      # In all Youtube Search Results
  
      for i in soup.findAll('a', {'rel': YOUTUBECLASS}):
          song_url = 'https://www.youtube.com' + (i.get('href'))
          song_title = (i.get('title'))
          # Adds title and song url to dictionary
          youtube_list.update({song_title: song_url})
  
          if not auto:
              print('(%s) %s' % (str(num + 1), song_title))  # Prints list
              num = num + 1
  
          elif auto:
              print(song_title)
              return list(youtube_list.values())[0], list(youtube_list.keys())[0]
  
      # Checks if YouTube search return no results
      if youtube_list == {}:
          log.log_error('No match found!')
          exit()
  
      # Gets the demanded song title and url
      song_url, song_title = prompt(youtube_list)
  
      return song_url, song_title