I'm trying to scrape details from this page using Scrapy: link
This is the command I am using to pull the Title but it is throwing an error:
response.css('#intitule > div.nom_fugitif::text').extract_first()
This is the error:
AttributeError Traceback (most recent call last) in ()
----> 1 response.css('#intitule > div.nom_fugitif::text').extract_first()
AttributeError: 'NoneType' object has no attribute 'css'
It says the div has no CSS but I'm not sure what that means because it does have a CSS class.