R
R
ring0za2014-07-25 10:22:07
Python
ring0za, 2014-07-25 10:22:07

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

1 answer(s)
S
Stepan, 2014-07-25
@ring0za

https://api.vk.com/method/wall.get?owner_id=1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question