Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @catch_reach_max
- def parse(self, response):
- _extrat = partial(extrat, response)
- item = LiepinItem()
- # from scrapy.shell import inspect_response
- # inspect_response(response, self)
- item['link'] = _extrat('//div[@class="job-info"]/h3/a/@href')
- item['post_time'] = _extrat('//time/@title')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement