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

Unable to download video from dailymotion #4558

Closed
eklavyathareja opened this issue Dec 25, 2014 · 5 comments
Closed

Unable to download video from dailymotion #4558

eklavyathareja opened this issue Dec 25, 2014 · 5 comments

Comments

@eklavyathareja
Copy link

@eklavyathareja eklavyathareja commented Dec 25, 2014

I was trying to download video from dailymotion using youtube-dl 2014.12.17.2 and I got this

youtube-dl --verbose https://www.dailymotion.com/video/x12p8um_helsinki-wcotw_lifestyle
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.dailymotion.com/video/x12p8um_helsinki-wcotw_lifestyle']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.17.2
[debug] Python version 2.7.6 - Linux-3.13.0-24-generic-x86_64-with-LinuxMint-17.1-rebecca
[debug] exe versions: none
[debug] Proxy map: {}
[dailymotion] x12p8um: Downloading webpage
[dailymotion] x12p8um: Extracting information
[dailymotion] x12p8um: Downloading embed page
ERROR: Unable to extract video info; 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.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 592, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 243, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/dailymotion.py", line 119, in _real_extract
    'video info', flags=re.MULTILINE)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 489, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video info; 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.
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 25, 2014

Could you run it with --write-pages option and upload *.dump files that will be created in current directory?

@eklavyathareja
Copy link
Author

@eklavyathareja eklavyathareja commented Dec 26, 2014

There are two file created:
1)x12p8um_http_-_www.dailymotion.com_embed_video_x12p8um.dump
It contains

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html><head<title></title></head><body> <!--This is a comment. Comments are not displayed in the browser--> </body></html>

2)x12p8um_http_-_www.dailymotion.com_video_x12p8um.dump
It contains

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html><head<title></title></head><body> <!--This is a comment. Comments are not displayed in the browser--> </body></html>

Both display blank .html pages in browser.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Dec 31, 2014

Can you watch the video in your browser?

@eklavyathareja
Copy link
Author

@eklavyathareja eklavyathareja commented Jan 1, 2015

No, I am unable to watch it either. It shows error(2101). I tried it with both Chrome and Firefox. Both show the same error.

And it is true for all dailymotion videos so the problem is not in that particular video. Also, I am able to watch videos on other sites.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 1, 2015

Then it's something on your network/computer. We can't do anything if you can't watch the video in your browser.

@jaimeMF jaimeMF closed this Jan 1, 2015
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.