Skip to main content

Simple audio address decoder

Project description

PyPI - License GitHub issues PyPI

Maintainability Test Coverage


pip install vaud

Decode urls:

import vaud

uid = 1
url = ''
decoded_url = vaud.decode(uid, url)  # One track
import vaud

uid = 1
urls = [
decoder = vaud.Decoder(uid)  # Multiple tracks
decoded_urls = []
for url in urls:

Get all audio (not auto-decode):

import vaud

my_vk = MyVkClass()  # Own class for
cookies = my_vk.cookies # Get site cookies. dict()
uid = my_vk.uid  # User id

audio_parser = vaud.AlAudio(uid, cookies)
urls = audio_parser.main()  [{'ur': 'Encoded url', 'track': 'Track title', 'author': 'Author', 'id': 'VK Track id'}, ...]
urls = audio_parser.main(True)  [('Encoded url', 'Track title', 'Author', 'VK Track id'), ...]

decoded_urls = []  # Look before examples

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for vaud, version 0.4.3
Filename, size File type Python version Upload date Hashes
Filename, size vaud-0.4.3.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page