I suppose you have Python 3.6+ and some kind of Unix Terminal installed.
python3 -m venv spider
cd spider
source bin/activate
pip3 install -r requirements.txt-
Create your VK application here. You need a Standalone app. Get your
APP_IDin the app's settings. -
Create
execute stored proceduresin your app. Find in the app's settingsStored procedures. Create new procedureexecute.singleLeader:
var user = API.users.get({"user_ids": [Args.user], "fields": ["photo_id", "verified", "sex", "bdate", "city", "country", "home_town", "has_photo", "photo_50", "photo_100", "photo_200_orig", "photo_200", "photo_400_orig", "photo_max", "photo_max_orig", "online", "domain", "has_mobile", "contacts", "site", "education", "universities", "schools", "status", "last_seen", "followers_count", "common_count", "occupation", "nickname", "relatives", "relation", "personal", "connections", "exports", "activities", "interests", "music", "movies", "tv", "books", "games", "about", "quotes", "can_post", "can_see_all_posts", "can_see_audio", "can_write_private_message", "can_send_friend_request", "is_favorite", "is_hidden_from_feed", "timezone", "screen_name", "maiden_name", "crop_photo", "is_friend", "friend_status", "career", "military", "blacklisted", "blacklisted_by_me", "can_be_invited_group"]});
var groups = API.groups.get({"user_id": Args.user, "extended": 1});
var wall = API.wall.get({"owner_id": Args.user, "count": 100, "extended": 1});
return [user, groups, wall];-
Make sure you've downloaded
users.csvfile -
python3 spider.pyand follow the input instructions.