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

cannot download youtube-dl.exe #12537

Closed
luoyanghero opened this issue Mar 24, 2017 · 6 comments
Closed

cannot download youtube-dl.exe #12537

luoyanghero opened this issue Mar 24, 2017 · 6 comments

Comments

@luoyanghero
Copy link

@luoyanghero luoyanghero commented Mar 24, 2017

I can visit youtube page, but I cannot download youtube-dl.exe , I have tried many times. Is there some limits?

@Hrxn
Copy link

@Hrxn Hrxn commented Mar 24, 2017

Probably because of Internet in China...

@luoyanghero
Copy link
Author

@luoyanghero luoyanghero commented Mar 24, 2017

Now I have download youtube-dl.exe.
I can visit youtube page.
This is a page about jinyong https://www.youtube.com/watch?v=fHhk9fDe_MQ
But cannot download the video using youtube-dl, the error as following:

>youtube-dl.exe https://www.youtube.com/watch?v=fHhk9fDe_MQ
[youtube] fHhk9fDe_MQ: Downloading webpage
ERROR: Unable to download webpage: <urlopen error [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。> (caused by URLError(TimeoutError(10060, '由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。', None, 10060, None),))

@stdlog
Copy link

@stdlog stdlog commented Mar 24, 2017

@luoyanghero
Use proxy with youtube-dl , e.g

youtube-dl --proxy PROXY_ADDRESS https://www.youtube.com/watch?v=fHhk9fDe_MQ

If you use ss ,then proxy_address could be socks5://127.0.0.1:1080/
Proxy usage documented here: https://github.com/rg3/youtube-dl#network-options.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Mar 24, 2017

@luoyanghero Could you watch videos without proxies or VPNs in browsers? What @Hrxn said is a possible reason. AFAIK in China, YouTube is blocked and connections to GitHub are interfered. @stdlog's suggestion should be useful, too.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 24, 2017

Closing since it's most definitely not a youtube-dl issue.

@dstftw dstftw closed this Mar 24, 2017
@luoyanghero
Copy link
Author

@luoyanghero luoyanghero commented Mar 25, 2017

@stdlog yes, it needs proxy option

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
5 participants
You can’t perform that action at this time.