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.
Downloader protocol needs to be changed for few sites when https is needed #18011
Comments
|
|
Thanks, but Looks like we are not on the same page even though the description says 'https'
|
youtube-dl fails with below error(generated from module requests) if there is protocol mismatch
[WinError 10054] An existing connection was forcibly closed by the remote host
Currently, it is written with http eg for xvideos , extractor is written with http, but currently site uses https , hence changing to https works
Above can be generalized in main downloader code or in specific extractor which can catch this exception and try again with https