ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.62k stars 10.05k forks source link

[youku] Not able to download complete video #16437

Open bobwang999 opened 6 years ago

bobwang999 commented 6 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.05.09. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

C:\Users\AGE>youtube-dl -v "https://v.youku.com/v_show/id_XMTU1MDcxNDIyOA==.html?spm=a2h0k.8191407.0.0"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://v.youku.com/v_show/id_XMTU1MDcxNDIyOA==.html?spm=a2h0k.8191407.0.0', '-v']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, pref cp936
[debug] youtube-dl version 2018.05.09
[debug] Python version 3.6.1 (CPython) - Windows-10-10.0.16299-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[youku] XMTU1MDcxNDIyOA: Retrieving cna info
[youku] XMTU1MDcxNDIyOA: Downloading JSON metadata
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'http://pl-ali.youku.com/playlist/m3u8?vid=XMTU1MDcxNDIyOA%3D%3D&type=hd2&ups_client_netip=1817da11&utid=801%2BE2DKkEECARgX2hHHqNkv&ccode=0590&psid=078ad985f4084e4feef0e8a3e9651c1a&duration=1241&expire=18000&drm_type=1&drm_device=10&ups_ts=1526161396&onOff=0&encr=0&ups_key=16307459ed8326dd49679a2d7b4c8294'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 58
[download] Destination: 01 镇魂街-XMTU1MDcxNDIyOA.mp4
[download] 100% of 43.86MiB in 00:51
WARNING: XMTU1MDcxNDIyOA: malformed AAC bitstream detected. Install ffmpeg or avconv to fix this automatically.

C:\Users\AGE>youtube-dl "https://v.youku.com/v_show/id_XMTU1MDcxNDIyOA==.html?spm=a2h0k.8191407.0.0" -F -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://v.youku.com/v_show/id_XMTU1MDcxNDIyOA==.html?spm=a2h0k.8191407.0.0', '-F', '-v']
[debug] Encodings: locale cp936, fs utf-8, out utf-8, pref cp936
[debug] youtube-dl version 2018.05.09
[debug] Python version 3.6.1 (CPython) - Windows-10-10.0.16299-SP0
[debug] exe versions: none
[debug] Proxy map: {}
[youku] XMTU1MDcxNDIyOA: Retrieving cna info
[youku] XMTU1MDcxNDIyOA: Downloading JSON metadata
[info] Available formats for XMTU1MDcxNDIyOA:
format code  extension  resolution note
h5           mp4        480x268    29.45MiB
1            mp4        640x360    42.44MiB
h4-0         mp4        640x360    62.05MiB
h3           mp4        960x540    72.88MiB
4            mp4        1280x720   119.21MiB
h4-1         mp4        1280x720   242.58MiB (best)

C:\Users\AGE>youtube-dl --version
2018.05.09

Description of your issue, suggested solution and other information

The actual video online is 20:41 long and from -F query we can see 242.58MB of total size. Run the default cmd and found 43.86MB being downloaded and the actual length of the downloaded file is about 10 minutes only. This happens on pretty much all long videos I tried for youku.

dutor commented 6 years ago

I encounter exactly the same problem right now. The youtube-dl version is also 2018.05.09

jkldgoefgkljefogeg commented 5 years ago

Still seeing this problem youtube-dl https://list.youku.com/show/id_zcbff9f68962411de83b1.html