When I run the code for webscraping it gives me an error:
published_date = job.find_next('span', class_='cm-post-date').text.strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'
New contributor
Nosihle Gcaleka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2