Advertisement
Guest User

Untitled

a guest
Apr 6th, 2020
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. @catch_reach_max
  2.     def parse(self, response):
  3.  
  4.         _extrat = partial(extrat, response)
  5.         item = LiepinItem()
  6.         # from scrapy.shell import inspect_response
  7.         # inspect_response(response, self)
  8.         item['link'] = _extrat('//div[@class="job-info"]/h3/a/@href')
  9.         item['post_time'] = _extrat('//time/@title')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement