Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
How to force login for each video download #13250
Comments
|
Create new instance |
|
please give me more details. I tried the below code and is not working. Even the code above should have created new instances for each function call. def video_download(path, url, email, password, i):
Different instances, the first one is working, the next don't login again: <youtube_dl.YoutubeDL.YoutubeDL object at 0x0000000004E74C18> Terminal/Output: <youtube_dl.YoutubeDL.YoutubeDL object at 0x00000000050E4C18> |
I want to download multiple files using youtube-dl from a site the needs login.
The issue that I have is that youtube-dl is login for the first video with no issue, but doesn't login again for next video.
How do I force youtube-dl to login for each video, every time the function is called ?