-implement GETCHILD from a tag like <strong>sdfsafd</strong>
This commit is contained in:
@@ -48,10 +48,9 @@ def scrap_jobs(url,entry,session):
|
||||
location_class = "P-sc-hyu5hk-0 Text__p2-sc-1lu7urs-10 Span-sc-1ybanni-0 Text__span-sc-1lu7urs-12 Text-sc-1lu7urs-13 jZCxUn"
|
||||
location = item("p",location_class,0)
|
||||
ar_location = finder(results,location,LOCATION_CLEANUP=1)
|
||||
|
||||
company_class = "P-sc-hyu5hk-0 Text__p2-sc-1lu7urs-10 Span-sc-1ybanni-0 Text__span-sc-1lu7urs-12 Text-sc-1lu7urs-13 jZCxUn"
|
||||
company = item("p",company_class,3)
|
||||
ar_company = finder(results,company,DEFAULT=1)
|
||||
company = item("p",company_class,0)
|
||||
ar_company = finder(results,company,DEFAULT=1,GETCHILDREN='strong')
|
||||
|
||||
title = item("span","jlFpCz",0,"TITLE!!")
|
||||
ar_title = finder(results,title,DEFAULT=1)
|
||||
|
||||
Reference in New Issue
Block a user