Commit c5968024 authored by Benjamin Sigonneau's avatar Benjamin Sigonneau Committed by Vincent A

[indeed] Fix xpath query to retrieve a job title

parent a86b4989
......@@ -58,7 +58,7 @@ class SearchPage(HTMLPage):
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"]'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment