Skip to content

zer011b/vk-top-posts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

This is vk.com walls parser, which shows top posts. Sorting can be done by likes, comments, reposts and views.

Prerequisites

pip install vk

Usage

python3 parse.py --help

There are two modes:

  1. Parse N latest posts:
python3 parse.py --count <N> --url <url> --top <M> --access-token <token> --likes
  1. Parse all posts from start date to end date
python3 parse.py --start-date <dd/mm/yyyy> --end-date <dd/mm/yyyy> --url <url> --top <M> --access-token <token> --likes

Access token can be obtained from service token of standalone app (https://vk.com/dev/service_token). To create standalone app visit https://vk.com/dev/standalone.

wall.get API can be checked at https://vk.com/dev/wall.get.

TODO

  • download attachments automatically
  • improve performance

About

vk.com top posts parser

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages