>>> b=BeautifulSoup('<h1 class="ently_title">\n<a href="https://hoge.com"; title=" hage記事">\nturuturu</a></h1>')
>>> b.a['href']
'https://hoge.com'
>>> b.find_all('a')[0]['href']
'https://hoge.com'