level 1
勿忘心安之最
楼主
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)
2021年08月25日 10点08分
1
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)