Skip to content
Advertisement

How can I get the text clean with scrapy shell

I’m trying the following command on scrapy shell which returns this result:

JavaScript

The thing is, I want to extract only the word “Ajax” that is is between <strong> tags.

Advertisement

Answer

You need to add <strong> tag to your selector

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