S
S
Sergey2016-04-20 16:36:15
In contact with
Sergey, 2016-04-20 16:36:15

How to download a video for registered users from VK using the youtube-dl script?

I'm trying to download a video and I get this message:
I want to watch a video from a disk with a normal player. Why you need to download the video to Winch. I am using youtube-dl.
In the command line of the script, I set --username [email account] --password [password]
Output to the console:

[vk] Downloading login page
[vk] Logging in as [email protected]
[vk] 356065542_456239041: Downloading webpage
[youtube] Downloading login page
[youtube] Logging in
ERROR: Please use your account password and a two-factor code instead of an application-specific password.

At what yesterday the same scheme worked for downloading, and then it stopped with such an error.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dstftw, 2016-04-20
@Diversant616

The video at vk.com/video356065542_456239041 is a YouTube video embed. youtube-dl uses the supplied username/password to both login to vk and then to login to YouTube, which fails as expected.
This video is available without authentication, so username/password is not required to download it.
In the next version, a failed YouTube login will display a more obvious error message.
Also, the problem with authentication can be solved using authentication through .netrc , by setting the credentials for all the services used separately.
The issue with setting credentials from the command line has been posted to upstream .

G
googlamen007, 2018-10-01
@googlamen007

You can use the bot: https://t.me/VkDownloadVideoBot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question