[Monsters] fix bug
This commit is contained in:
parent
4a44e6b79e
commit
040824ff9f
1 changed files with 4 additions and 1 deletions
|
|
@ -94,6 +94,9 @@ class AdvertPage(BasePage):
|
|||
if len(formation) != 0:
|
||||
advert.formation = u'%s' % formation[0].text
|
||||
|
||||
advert.experience = u'%s' % self.parser.select(jobsummary, 'dl/dd/span[@itemprop="qualifications"]', 1, method='xpath').text
|
||||
experience = u'%s' % self.parser.select(jobsummary, 'dl/dd/span[@itemprop="qualifications"]', method='xpath')
|
||||
if len(experience) != 0:
|
||||
advert.experience = experience
|
||||
|
||||
advert.url = url
|
||||
return advert
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue