I'm a noob to web and scrapy. Sorry for the simpleness of this question.
I've got this: item['title'] = response.css('.pt-title a ::title').extract()
And I want to get the title from this:
<a href="http://www.heresyodomain.com/" title="Here's the title!">Here's the title!</a>
I was doing this item['title'] = response.css('.pt-title a::text').extract() but I realized that I was just getting the text not in the tag.
I've tried a few iterations of what I have above, that's just the last one I left off on. A little guidance would be much appreciated.