<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def search_artist(self, artist_name, quiet=False, limit=9):
 """Search artist by artist name. :params artist_name: artist name. :params quiet: automatically select the best one. :params limit: artist count returned by weapi. :return: a Artist object. """


        result = self.search(artist_name, search_type=100, limit=limit)

        if result['result']['artistCount'] <= 0:
            LOG.warning('Artist %s not existed!', artist_name)
            raise SearchNotFound('Artist {} not existed.'.format(artist_name))
        else:
            artists = result['result']['artists']
            if quiet:
                artist_id, artist_name = artists[0]['id'], artists[0]['name']
                artist = Artist(artist_id, artist_name)
                return artist
            else:
                return self.display.select_one_artist(artists)