improve deep search in popolemploi
This commit is contained in:
parent
46b5bb2097
commit
a63dcdfa8e
3 changed files with 361 additions and 148 deletions
|
|
@ -58,7 +58,6 @@ class AdvertPage(BasePage):
|
|||
_id = self.parser.select(content, 'ul/li/ul/li/div[@class="value"]/span', 1, method='xpath').text
|
||||
advert = PopolemploiJobAdvert(_id)
|
||||
|
||||
print url
|
||||
advert.title = u'%s' % self.parser.select(content, 'h4', 1, method='xpath').text.strip()
|
||||
advert.job_name = u'%s' % self.parser.select(content, 'h4', 1, method='xpath').text.strip()
|
||||
advert.description = u'%s' % self.parser.select(content, 'p[@itemprop="description"]', 1, method='xpath').text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue