From c596802469ff72a63a401bee17aa9414042d7831 Mon Sep 17 00:00:00 2001 From: Benjamin Sigonneau Date: Sat, 9 Nov 2019 10:51:37 +0100 Subject: [PATCH] [indeed] Fix xpath query to retrieve a job title --- modules/indeed/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/indeed/pages.py b/modules/indeed/pages.py index 8fec0dc8cb..fec0326cc6 100644 --- a/modules/indeed/pages.py +++ b/modules/indeed/pages.py @@ -58,7 +58,7 @@ class Item(ItemElement): Attr('div[@class="title"]/a', 'title'), CleanText('span[@class="company"]')), replace=[(" ", "-"), ("/", "-")]) - obj_title = Attr('/a', 'title') + obj_title = Attr('div[@class="title"]/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