[英]Scrapy: scraping multiple data
I'm scraping a data from https://www.healthcaresource.com/hhcs/index.cfm?fuseaction=search.jobDetails&template=dsp_job_details.cfm&cJobId=149237
but I always get this multiple data being scraped 我正在从https://www.healthcaresource.com/hhcs/index.cfm?fuseaction=search.jobDetails&template=dsp_job_details.cfm&cJobId=149237
抓取数据,但我总是会抓取这多个数据
Phillips Barber Family Health Center,Part-time,Day shift,8 Hrs a week/ Sunday- Saturday with Evening Rotation,- Licensure Required,,
I only wanted to get the Phillips Barber Family Health Center
what should I do? 我只想去Phillips Barber Family Health Center
该怎么办? I planned of using temp2 = re.search("'^.*?(?=,)'", link).group(1) but this gives me an error.. 我计划使用temp2 = re.search(“'^。*?(?=,)'”,link).group(1),但这给我一个错误。
我通过做来工作
["code"] = loc_Con.select('text()').extract()[0].strip()
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.