Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Response.css not working from an existing article on the site

$
0
0

@VyomK3 wrote:

This is regarding this guide (https://www.analyticsvidhya.com/blog/2017/07/web-scraping-in-python-using-scrapy/) which teaches how to use scrapy to scrap data from Reddit. I can follow the commands given in the article, until the following command, which doesn’t seem to work:

response.css(".title::text").extract()

The command gives me no output or error, and falls back to the prompt.

Here is the result I get:
In [45]: response.css(".title::text").extract()
Out[45]: []

Please help.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles