How to get resume list and resume details at the same time by scrapy

to crawl the website: https://hr.tencent.com/positi.

clipboard.png

:

clipboard.png

how to write the middle code? no idea, solve

Mar.18,2021

parse is used to parse list pages.
in the parse method, use yield scrapy.Request (url,callback=self.parse) to queue a new page of URL.

now you need to parse the details page, which is different from the list page, so you need to define a second parsing function to parse the details page.

def parse_detail(self,response):
    pass
    -sharp parse
    -sharp yield item

get the link to each position in the list, and then use this callback function to parse.
if only all the data are obtained in this method, the information on the details page must be richer than that in the list.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e575-2c421.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e575-2c421.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?