-implement GETCHILD from a tag like <strong>sdfsafd</strong>

This commit is contained in:
2024-07-18 13:30:20 +02:00
parent 4ede40c37c
commit e3701c44ae
2 changed files with 17 additions and 6 deletions

View File

@@ -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)