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

how to fetch download url via proxy, then download files without proxy? #17922

Closed
retsyo opened this issue Oct 19, 2018 · 3 comments
Closed

how to fetch download url via proxy, then download files without proxy? #17922

retsyo opened this issue Oct 19, 2018 · 3 comments

Comments

@retsyo
Copy link

@retsyo retsyo commented Oct 19, 2018

As the title says, I can't visit some video site directly, but if I visit it via proxy in firefox, then I can get the video file's url via Video DownloadHelper addon. Then the video file's url can be used by download application( for example, Internet Download Manager) without proxy

My proxy is not so fast and has bandwidth limitation, so my question is can we fetch download url via proxy, then download files without proxy?

thanks

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 19, 2018

By using --geo-verification-proxy. Of course particular extractor must support this.

@dstftw dstftw closed this Oct 19, 2018
@retsyo
Copy link
Author

@retsyo retsyo commented Oct 20, 2018

In fact, I have read the document and known there is an option --geo-verification-proxy.

But I think I misunderstand in 2 ways before:

  1. --geo-verification-proxy is used for breaking region restriction,
  2. all download (including real url from page source file, and data file from real url) use `--proxy'

and now it is clear that --geo-verification-proxy is used for

  1. breaking region restriction
  2. downloading real url from page source file

`--proxy' for data file from real url

@retsyo
Copy link
Author

@retsyo retsyo commented Oct 21, 2018

So bad, my proxy is still valid to visit the video site and to play the video in Firefox. The video file's url can be found via Video DownloadHelper addon, and can be download by Internet Download Manager without proxy

but for youtube-dl, the --geo-verification-proxy option failed:

ERROR: Unable to download webpage: <urlopen error [WinError 10060] A connection attempt failed because the connected  party did not properly respond after a period of time, or established connection failed because connected host has failed to respond> (caused by URLError(TimeoutError(10060, 'A connection attempt failed because the connected party did not properly respond after a period of time, or established connectio n failed because connected host has failed to respond', None, 10060, None),))
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.