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.
Separate extractor proxy and download proxy #3391
Comments
|
Why can't you use the same proxy for extraction and download? |
|
I have some extra modifications based on #5077 at yan12125/youtube-dl@a6d3627. Below are my test results.
As shown above, some China proxies are somewhat unstable and/or slow. This approach can minimize the proxy usage. Proxies are used only when needed. Otherwise, use direct connection for faster and more stable downloading. |
|
It's implemented in 91410c9. Closing. |
Some china video sharing sites such as Youku and Sohu limit some of their vidoes available only in Mainland China. In such cases, I need a proxy in China to get the video. For instance, proxy.uku.im:8888, the proxy used by a popular browser plugin Unblock Youku. However, this proxy allow only addresses for checking China IP. Take Sohu as example, hot.vrs.letv.com is allowed while tv.sohu.com not. Is it possible to use two different proxies, one for extracting video info and the other for real downloading? A similar project named you-get [1] has this ability.
[1] https://github.com/soimort/you-get