import scrapy
class FirstSpider(scrapy.Spider):
name = 'first'
# allowed_domains = ['careers.tencent.com']
start_urls = ['https://careers.tencent.com/search.html?pcid=40001']
def parse(self, response):
r = response.xpath('//div[@class="correlation-degree"]/div').extract()
print(r)
class FirstSpider(scrapy.Spider):
name = 'first'
# allowed_domains = ['careers.tencent.com']
start_urls = ['https://careers.tencent.com/search.html?pcid=40001']
def parse(self, response):
r = response.xpath('//div[@class="correlation-degree"]/div').extract()
print(r)