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.
Using: 2019.01.30.1 on Ubuntu 18.04†
Reproduce the problem:
Expected:
As you can see, youtube-dl correctly followed the link to Vimeo, but assumed that the same username and password supplied in the commandline should be used to login to vimeo. In reality this is unlikely what the user has wanted. Given that allowing credential to be supplied for each possible redirect target (viemo) is too big a change to the commandline parameter structure, I propose not logging in at all after a redirect, to reduce the security exposure of passing a password to the site that shouldn't learn it.
(P.S. don't be distracted by vimeo reporting 404 - It's the problem of this specific test link. I couldn't find a better test link.)
† Linux 4.15.0-44-generic #47-Ubuntu SMP Mon Jan 14 11:26:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux