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

age-restricted dailymotion videos fail to download #1688

Closed
phihag opened this issue Oct 30, 2013 · 1 comment
Closed

age-restricted dailymotion videos fail to download #1688

phihag opened this issue Oct 30, 2013 · 1 comment
Assignees

Comments

@phihag
Copy link
Contributor

@phihag phihag commented Oct 30, 2013

Reported on IRC:

$ youtube-dl http://www.dailymotion.com/video/xyh2zz_leanna-decker-cyber-girl-of-the-year-desires-nude-playboy-plus_redband -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.dailymotion.com/video/xyh2zz_leanna-decker-cyber-girl-of-the-year-desires-nude-playboy-plus_redband', '-v']
[debug] youtube-dl version 2013.10.30
[debug] Git HEAD: 33b1d95
[debug] Python version 2.7.5+ - Linux-3.4-trunk-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[dailymotion] xyh2zz: Downloading webpage
[dailymotion] xyh2zz: Extracting information
ERROR: Unable to extract video uploader; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "youtube_dl/YoutubeDL.py", line 342, in extract_info
    ie_result = ie.extract(url)
  File "youtube_dl/extractor/common.py", line 122, in extract
    return self._real_extract(url)
  File "youtube_dl/extractor/dailymotion.py", line 93, in _real_extract
    webpage, 'video uploader')
  File "youtube_dl/extractor/common.py", line 267, in _search_regex
    raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video uploader; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

Additionally, all the information is wrong. We should mark uploader as non-fatal, test for age_limit: 18, and make sure that everything works.

@ghost ghost assigned phihag Oct 30, 2013
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 30, 2013

Setting the ff cookie to off seems to fix the issue, but I haven't checked with other age-restricted videos, maybe they have just changed the name of the cookie.
When fixing it we also have to add a test video, so that we know when it breaks.

@phihag phihag closed this in 9f1109a Oct 30, 2013
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.