Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

Python script for uploading photos to a VK group album using the VK API. A badly written, but working one

License

Notifications You must be signed in to change notification settings

VeryEvilHumna/vkPhotosToAlbumUploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Group Album Photo Uploader for Vkontakte

Tested with Python 3.11.0

This Python script is designed to upload photos from a specified directory to a VK album using the VK API.

Requirements

You need to have a VK account and a group with an album to upload the photos to.

Usage

  1. Install requirements using this command:

    pip install -r requirements.txt
    
  2. Configure the config.py file with your VK API access token, group and album ID, and the directory path where the photos are located on your system.

  3. Run the script using this command:

    python main.py
    

Configuration

  • TOKEN: Your user VK API access token. (you can get it from https://vkhost.github.io/)
  • GROUP_ID: The ID of the group you want to upload the photos to.
  • ALBUM_ID: The ID of the album in the specified group to upload the photos to.
  • PHOTOS_DIR: The directory path where the photos are located on your system.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

Python script for uploading photos to a VK group album using the VK API. A badly written, but working one

Topics

Resources

License

Stars

Watchers

Forks

Languages