S
S
strongmonkey2018-12-03 12:39:49
Perl
strongmonkey, 2018-12-03 12:39:49

Parsing vk pages to perl?

Good day!
I am writing a parsing of the vk site for one study as a laboratory work at a university, in particular, I am interested in the wall in VK. I wrote a Bot::VK package that can perfectly log in and get an html page, then it's a matter of technology. Well, the catch is that in the output the data is not of the entire wall, when I am on the page in VK and scroll through the feed, the data is loaded as necessary. The question is whether it is possible to program such behavior in a perl program.

use Bot::VK;
my $vk = Bot::VK(login => 'login', password => 'password',  security => 'code' );
$vk->get(HTTP_VK_ID);
# возвращает html. данные можно распарсить.
say->{mech}->content;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2018-12-03
@sergiks

Why not get the posts of the wall like a human, through the API?
wall.get()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question