From 3640a2e79f81d36ce9127a32f5ff97bd6993048b Mon Sep 17 00:00:00 2001 From: Bezleputh Date: Fri, 19 Apr 2019 11:25:34 +0200 Subject: [PATCH] [indeed] fix module website got updated --- modules/indeed/pages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/indeed/pages.py b/modules/indeed/pages.py index 00efd00786..8fec0dc8cb 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"]')) -- GitLab