Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to scrape data using X-path in Scrapy?

$
0
0

@premsheth wrote:

Hi,

I am trying to scrape job description data from following page:

https://jobs.theguardian.com/job/6747209/cruk-icep-research-associate-senior-research-associate-in-cancer-bioinformatics-mrc-integrative-epid/?LinkSource=PremiumListing

We can see there is class called: “block fix-text job-description”
I tried following methods:

  1. ‘//*[@class=“job-description”]’
  2. //[@id=“main”]/div/div/div[1]/div[1]/div/div[2]/div[2]//text()
  3. ‘//[@id=“main”]//div[@class=“job-description”]/
  4. //div[@class=“job-description”]/p/text()

Can anyone please tell me how to scrape Job description because its under so many p tags?
Thank you so much in advance

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles