Answer the question
In order to leave comments, you need to log in
Why doesn't Scrapy extract text from vk posts?
I'm using Scrapy shell to check if the xpath I'm using is correct for scraping text.
Also tried to use it together with response.css(). The fact is that the content between certain tags is much more interesting (obviously) than the entire body. But I could not understand the reason why both .css() and .xpath() return empty [] and 0 for individual tags.
For example, there is one <div class="wall_post_text">...</div>
with the necessary content. response.css('.wall_post_text')
returns []
I think I'm doing something wrong.
For your profile.
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