The following might work where you use css selectors to target the audiosrc
attribute of element with class pa-player
(part of multi-valued class)
audio = soup.select_one('.pa-player[audiosrc]')
message_link = 'Audio link not found'
if audio:
message_link = audio['audiosrc']
CLICK HERE to find out more related problems solutions.