from bs4 import BeautifulSoup
test = '''
<a class =" rubricator-list-item-link-12kOm "data-category-id =" 32 "data-category-mc-id =" 285 "data-marker =" category [1000285] / link "href = "/ volgograd / audio_i_video / mp3-pleery-ASgBAgICAUSIArIJ? cd = 1" title = "MP3 players">
MP3 players
</a> "
'''
soup = BeautifulSoup(test, 'html.parser')
a = soup.find('a')
print(a['href'])
print(a['title'])
PS. Is it possible to somehow get the exhaust by the class name if it is not fully known?
I’m not sure what you mean by this.