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

failed downloading a youku.com video #4281

Closed
edwinyzh opened this issue Nov 23, 2014 · 4 comments
Closed

failed downloading a youku.com video #4281

edwinyzh opened this issue Nov 23, 2014 · 4 comments

Comments

@edwinyzh
Copy link

@edwinyzh edwinyzh commented Nov 23, 2014

My first try:

F:\Downloads 2>youtube-dl http://v.youku.com/v_show/id_XODI2ODM1MjEy.html?from=y
1.2-3-98.3.12-2.1-4-1-11
[Youku] XODI2ODM1MjEy: Downloading JSON metadata
WARNING: Extractor Youku returned a compat_list result. It needs to be updated.
ERROR: unable to download video data: HTTP Error 404: Not Found

Thanks.

@phihag
Copy link
Contributor

@phihag phihag commented Nov 23, 2014

Thank you for the report. We'll look into it. Looks like we correctly fetch http://v.youku.com/player/getPlayList/VideoIDS/XODI2ODM1MjEy/timezone/+01/version/5/source/video?password=&ran=6226&n=3&ev=1&ctype=10 , but fail to get the actual correct final URL.

@ghost
Copy link

@ghost ghost commented Apr 18, 2015

If it helps, using the same link as reference, youtube-dl's log show that the file is being fetched from

http://k.youku.com/player/getFlvPath/sid/142935187410414327863_00/st/flv/fileid/03000201005466555069C100D332D6EA7A131F-D5C3-A44B-3B65-40C295721737?k=c257a6b3db25a8e4282a689f

http://savevideo.me/ managed to grab the video for me and the URL is

http://k.youku.com/player/getFlvPath/sid/642935199812051ede1b3_01/st/flv/fileid/03000201005466555069C100D332D6EA7A131F-D5C3-A44B-3B65-40C295721737?K=c257a6b3db25a8e4282a689f&hd=0&ts=72&ctype=51&token=4866&ev=1&oip=528743450&ep=11IjkVXF1YYJmh2nBeKnOCLM3WGYBJqyz3Ufq3WlqjT5ii5AGTIV8mDfzTgAxoj8q9ovTZZWZ9Ilj7MPJVRv2dtyzpx1W6Sfc8g7F2%2Fq7r8aHCcrvj%2FHGi6nGjGUkA7M

Also, there's an option to get a MP4 instead of a FLV file

http://k.youku.com/player/getFlvPath/sid/642935199812051ede1b3_01/st/mp4/fileid/03002001005466389E69C100D332D6EA7A131F-D5C3-A44B-3B65-40C295721737?K=9dfb1be8595f4b37261e4abb&hd=0&ts=72&ctype=51&token=4866&ev=1&oip=528743450&ep=11IjkVXF1YYJmh2nBeKnOCLM3WGYBJqyRvVG9Y8PHv%2Ba%2FJkBBD5gGWDfzTgAxoj8q9ovTZZWZ9Ilj7MPJVRv2dtyzpx1W6Sfc8g7F2%2Fq7r8aHCcrvj%2FHGi6nGjGUkA7M
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Apr 18, 2015

The most tough part is the ep parameter. More discussions can be found in soimort/you-get#331 (Warning: some of texts there are in Chinese)

This problem had been solved in you-get, but due to licensing (you-get uses MIT and youtube-dl uses UNLICENSE), we can't borrow the codes directly.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jun 15, 2015

Thanks to @PeterDing's work (#5833), this video will be supported in the next version.

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