I want to get href link of website form onclick function Here is html code in which onclick function call a website
<div class="fl">
<span class="taLnk" onclick="ta.trackEventOnPage('Eatery_Listing', 'Website', 594024, 1); ta.util.cookie.setPIDCookie(15190); ta.call('ta.util.link.targetBlank', event, this, {'aHref':'LqMWJQzZYUWJQpEcYGII26XombQQoqnQQQQoqnqgoqnQQQQoqnQQQQoqnQQQQoqnqgoqnQQQQoqnQQuuuQQoqnQQQQoqnxioqnQQQQoqnQQ2EisSMVCnVcJQQoqnQQQQoqnxioqnQQQQoqnQQniaQQoqnQQQQoqnqgoqnQQQQoqnQQWJQzhYMJkH3KHVAdJJH3VVdB', 'isAsdf':true})">Website</span>
</div>
Normaly i use this code to get href link from any span or element
geturl = soup.findsoup("span", {"class": "taLnk"})
for link in geturl:
hreflink = link.get("href")
print(hreflink)
But in this case there is no way to directly call href because href exist in onclick function
Please help me what to do now