Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloader protocol needs to be changed for few sites when https is needed #18011

Closed
ndas1971 opened this issue Oct 29, 2018 · 2 comments
Closed

Downloader protocol needs to be changed for few sites when https is needed #18011

ndas1971 opened this issue Oct 29, 2018 · 2 comments

Comments

@ndas1971
Copy link

@ndas1971 ndas1971 commented Oct 29, 2018

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

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 29, 2018

> py -3.4 .\youtube_dl\__main__.py http://www.xvideos.com/video4588838/biker_takes_his_girl
[XVideos] 4588838: Downloading webpage
[XVideos] 4588838: Downloading m3u8 information
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 11
[download] Destination: Biker Takes his Girl-4588838.mp4
[download]   4.2% of ~11.90MiB at  1.04MiB/s ETA 00:19
ERROR: Interrupted by user
@ndas1971
Copy link
Author

@ndas1971 ndas1971 commented Oct 30, 2018

Thanks, but Looks like we are not on the same page even though the description says 'https'
Could you please execute below and check the result

py -3.4 .\youtube_dl_main_.py https://www.xvideos.com/video40743585/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.