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.
[youku] Download geolocated videos without proxy #6377
Comments
|
Can the urls be extracted from a IP outside of China? |
|
What you mean "urls be extracted from a IP"? |
We can't reuse it's code, it's incompatible with our license.
If you run |
|
you-get can download the video without using a proxy but there is a deference you-get detect 6 parts while youtube-dl get 14 parts. |
I'll try to be more clearer. From the output:
it seems that you need a proxy to actually get the urls (even thought they work without a proxy). Is that the case, or can the urls be obtained without using a proxy?
That's probably due to the formats system it uses (#6193). |
|
it's just a warning.you-get continue to work and download the video without a proxy.
|
|
you-get used to use a proxy implicitly. However, it's broken for Youku now. If you know another way to bypass the georestriction, feel free to open a new issue. |
This error type should be warning:
./youtube-dl -g http://v.youku.com/v_show/id_XMTQ3MDcyNTYw.html
ERROR: Youku server reported error -8: 抱歉,此视频只限于中国内地播放。
Sorry, this video can only be streamed within Mainland China.; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Right way:
$ python3 you-get -u http://v.youku.com/v_show/id_XMTQ3MDcyNTYw.html
you_get: [Warning] This video can only be streamed within Mainland China!
you_get: Use '-y' to specify a proxy server for extracting stream data.
site: 优酷 (Youku)
title: 南北少林
stream:
- format: flv
container: flv
video-profile: 标清
size: 172.6 MiB (180962034 bytes)
# download-with: you-get --format=flv [URL]
Real URLs:
http://103.224.233.13/6573A58482A4A841DF62BC5932/0300020E004B057BC5E4ED010FCB249BFCB9AD-A23E-A939-26CD-D05D6880A58A.flv.ts
http://221.203.1.134/677661A78D14A83BA05D3D4B3D/0300020E014B057BC5E4ED010FCB249BFCB9AD-A23E-A939-26CD-D05D6880A58A.flv.ts
http://218.26.232.31/65757846E7C4979481E726434/0300020E024B057BC5E4ED010FCB249BFCB9AD-A23E-A939-26CD-D05D6880A58A.flv.ts
http://218.60.17.82/697A072B6144B8132008095A5C/0300020E034B057BC5E4ED010FCB249BFCB9AD-A23E-A939-26CD-D05D6880A58A.flv.ts
http://218.60.17.42/65774B08E9E317C67C65C592E/0300020E044B057BC5E4ED010FCB249BFCB9AD-A23E-A939-26CD-D05D6880A58A.flv.ts
http://218.61.211.44/697BD9EDD7248812D64EA16311/0300020E054B057BC5E4ED010FCB249BFCB9AD-A23E-A939-26CD-D05D6880A58A.flv.ts
Download outside Mainland China from real Urls works fine.