I am very new to "scrapy", i am scrapping a website and in that i had some 
anchor tags which consists of href attributes with 
href="javascript:submitAction_win0(document.win0,'SCH_JOB_TITLE_LINK$0') 
functions. When i clicked that javascript function a page is opening from 
which i need to fetch data.I used Xpath and found href for particular 
anchor tags but unable to execute that href attribute that contains 
javascript function. Can anyone tell me how to execute 
href="javascript:submitAction_win0(document.win0,'SCH_JOB_TITLE_LINK$0') of 
anchor tags in scrapy python.My HTML code is



<td id="tdHRS_AGNT_RSLT_I$0#3" class="PSLEVEL1GRIDODDROW" width="166" 
align="left" style="background-color: rgb(212, 219, 217);">
<div id="win0divSCH_JOB_TITLE_LINK$0" style="width:166px;">
<span class="PSHYPERLINK">
<a id="SCH_JOB_TITLE_LINK$0" class="PSHYPERLINK"* 
href="javascript:submitAction_win0(document.win0,'SCH_JOB_TITLE_LINK$0');*" 
tabindex="332" ptlinktgt="pt_peoplecode" 
name="SCH_JOB_TITLE_LINK$0">Exercise Physiologist, Cardiac Rehab, 
Resource</a>
</span>
</div>
</td>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to