Answer the question
In order to leave comments, you need to log in
How to parse VK?
I use the Grab library to parse music from VK.
from grab import Grab
page = Grab(log_file = 'out.html')
page.go('https://vk.com')
page.set_input_by_id('quick_email','login')
page.set_input_by_id('quick_pass', 'passwd')
page.submit()
print(page.response.url)
page.go("https://vk.com/audiosUSER_ID")
print(page.response.url)
page.go("https://vk.com/search?c[q]=Feduk&c[section]=audio&c[performer]=1")
page.submit('button class', 'blind_label _audio_row__play_btn')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question