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.
Supplying per-site login credentials in config file #26256
Comments
|
I tested it with private videos of mine following what you linked but to no avail. my .netrc file:
YouTube:
BitChute
While BitChute throws a 404 error while not logged in, it's just a private video: I also tried changing the username to email but the result is the same. |
|
logging in to youtube is definetely broken currently (#26196). bitchute extractor has never supported logging in. |
|
Thanks for the heads up. |

Checklist
Description
I'm using youtube-dl in tandem with SMPlayer to watch videos from multiple websites (YouTube, BitChute, mgtow.tv, dlive etc.) but since my login credentials aren't the same on all sites simply putting -u USERNAME -p PASSWORD in the config file will not work. SMPlayer itself lacks the feature to provide login/password to youtube-dl on its own, and just passing the password as a command line parameter is a security risk anyway cause it's visible with
ps aux. Using a cookies.txt is also not an option because only YouTube has "permanent" login cookies so I'd have to re-generate it way too frequently. This feature would help with age restrictions, private videos etc.