I have web scraping using python that gets this code from the site:
<a href="javascript:document.frmMain.action.value='display_physician_info';document.frmMain.PhysicianID.value=1234567;document.frmMain.submit();" title="For more information, click here.">JOHN, DOE</a>
I want to parse the specific value of href like the value of PhysicianID which is 1234567 inside "document.frmMain.PhysicianID.value"
Currently I'm getting the whole href text something like this:
for i in soup.select('.data'):
name = i.find('a', attrs = {'title': 'For more information, click here.'})
Any idea? Thanks in advance.