Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
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 .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question