Skip to content
Advertisement

How to extract multiple job url from a jobpost using python webscrapping

I would like to make a for loop and extract this URL-link for all the jobpost

I have so far created the below code, to extract all the informations, but I cant figure out how to extract the link. I have tried with a for loop, but i get differents links. I really hope anyone can point me at the right direction.

JavaScript
JavaScript

Advertisement

Answer

You can combine an attribute = value css selector with contains * operator to target onclick attribute by a substring. Add to that selector list :has to specify element with matched onclick attribute must have immediate child b tag which restricts matches to those with the bold job title

JavaScript

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement