diff --git a/modules/indeed/pages.py b/modules/indeed/pages.py index 00efd00786b44f4b61b359cdebf47c841d57b639..8fec0dc8cb313f5e66d1a08831150b4937499a31 100644 --- a/modules/indeed/pages.py +++ b/modules/indeed/pages.py @@ -55,10 +55,10 @@ class Item(ItemElement): obj_id = CleanText(Format('%s#%s#%s', Regexp(Attr('.', 'id'), '^..(.*)'), - Attr('h2/a', 'title'), + Attr('div[@class="title"]/a', 'title'), CleanText('span[@class="company"]')), replace=[(" ", "-"), ("/", "-")]) - obj_title = Attr('h2/a', 'title') + obj_title = Attr('/a', 'title') obj_society_name = CleanText('span[@class="company"]') obj_place = CleanText('span/span[@class="location"]') obj_publication_date = IndeedDate(CleanText('table/tr/td/span[@class="date"]'))