根据歌名获取歌曲id

def get_song_id(self, song_title):
        """
        根据歌名获取歌曲id
        """
        song = self.search(song_title)

        if song.get('hMusic', None):
            return song['hMusic']['dfsId'], song['hMusic']['bitrate']
        elif song.get('mMusic', None):
            return song['mMusic']['dfsId'], song['mMusic']['bitrate']
        elif song.get('lMusic', None):
            return song['lMusic']['dfsId'], song['lMusic']['bitrate']
        return None