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

ERROR: Couldn't get video, Dailymotion says: No Preset. #1532

Closed
RealDeviil opened this issue Oct 1, 2013 · 1 comment
Closed

ERROR: Couldn't get video, Dailymotion says: No Preset. #1532

RealDeviil opened this issue Oct 1, 2013 · 1 comment

Comments

@RealDeviil
Copy link

@RealDeviil RealDeviil commented Oct 1, 2013

Hi,

I'm wondering if future support is planned for Dailymotion videos like the following?:

user@ubuntu:~$ sudo youtube-dl -f 18/5/17 -o '/home/user/public_html/youtubeTest/%(title)s-sd9f807sdf7.flv' --newline --verbose http://www.dailymotion.com/video/x149uew_katy-perry-roar-official_music
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '18/5/17', '-o', '/home/user/public_html/youtubeTest/%(title)s-sd9f807sdf7.flv', '--newline', '--verbose', 'http://www.dailymotion.com/video/x149uew_katy-perry-roar-official_music']
[debug] youtube-dl version 2013.09.29
[debug] Python version 2.7.3 - Linux-3.2.0-49-generic-pae-i686-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[dailymotion] x149uew: Downloading webpage
[dailymotion] x149uew: Extracting information
[dailymotion] x149uew: Downloading embed page
ERROR: Couldn't get video, Dailymotion says: No Preset.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 334, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 103, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/dailymotion.py", line 74, in _real_extract
raise ExtractorError(msg, expected=True)
ExtractorError: Couldn't get video, Dailymotion says: No Preset.

I see that http://www.dailymotion.com/embed/video/x149uew reveals the following output:

var info = {"id":"x149uew","error":{"title":"No Preset.","statusCode":410,"dmCode":"DM013","message":"This video is not available because it has no video stream."}},
    fields = 'id,swf_url,thumbnail_url,thumbnail_large_url,thumbnail_medium_url,stream_h264_url,stream_h264_ld_url,stream_h264_hq_url,stream_h264_hd_url,stream_h264_hd1080_url,paywall,mode,onair,audience_url,stream_live_hls_url,stream_live_rtsp_url,title,url,owner_screenname,owner_username,duration,channel,owner_url,ads,private,type,owner.type,isrc,language,available_formats,explicit,created_time,stream_hls_url,sharing_urls,vast_url_template,log_external_view_urls',
    plugins = {"hashchange":"http:\/\/static1.dmcdn.net\/js\/gen\/lib\/jquery-hashchange.js.v20ba07da116c9ddc9","gestures":"http:\/\/static1.dmcdn.net\/js\/gen\/lib\/jquery-gestures.js.v23f83a8ceafee0989","audience":"http:\/\/static1.dmcdn.net\/js\/gen\/lib\/jquery-audience.js.v0aa6828f989555bf9","related":["http:\/\/static1.dmcdn.net\/js\/gen\/widget\/pack\/player_related.js.vefed3b34902147aa9","http:\/\/static1.dmcdn.net\/css\/gen\/pack\/player_related.css.v66983c842064921a9"]},

...etc., etc...

Do you guys happen to know if some method comparable to youtube encrypted signatures is being employed here? Are you aware of any way to download these videos? Perhaps there is something hidden in the 'plugins' JS files? (But I didn't see anything...)

Thanks for all of your hard work!

@jaimeMF jaimeMF closed this in c542838 Oct 1, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 1, 2013

Fixed, thanks for the report!, they just embed the video from vevo.com, so we just download from there.

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.