Answer the question
In order to leave comments, you need to log in
How to output an attribute with a specific css or xpath word?
<img alt="Post image" class="_2_tDEnGMLxpM6uOa2kaDB3 ImageBox-image media-element _1XWObl-3b9tPy64oaG6fax" src="https://preview.redd.it/s57aenmpad251.jpg?width=640&crop=smart&auto=webp&s=7ea456a9c2ee1c83c388de79fda7583bcf8571b5" style="max-height:512px">
response.css('[src^="https://preview"]')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question