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

dailymotion #23828

Closed
rbroderi opened this issue Jan 24, 2020 · 0 comments
Closed

dailymotion #23828

rbroderi opened this issue Jan 24, 2020 · 0 comments
Labels

Comments

@rbroderi
Copy link

@rbroderi rbroderi commented Jan 24, 2020

Checklist

  • [x ] I'm reporting a broken site support
  • [x ] I've verified that I'm running youtube-dl version 2020.01.24
  • [x ] I've checked that all provided URLs are alive and playable in a browser
  • [x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [ x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.dailymotion.com/video/x27vr3i']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.01.24
[debug] Python version 2.7.16 (CPython) - CYGWIN_NT-10.0-18362-3.0.7-338.x86_64-x86_64-64bit
[debug] exe versions: ffmpeg N-93562-g3e10223385, ffprobe N-93562-g3e10223385
[debug] Proxy map: {}
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/usr/lib/python2.7/site-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 2018, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/dailymotion.py", line 235, in _real_extract
    'password: "%s"' % self._downloader.params.get('videopassword') if password else None)
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/dailymotion.py", line 50, in _call_api
    cookies = self._get_dailymotion_cookies()
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/dailymotion.py", line 31, in _get_dailymotion_cookies
    return self._get_cookies('https://www.dailymotion.com/')
  File "/usr/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 2831, in _get_cookies
    return compat_cookies.SimpleCookie(req.get_header('Cookie'))
  File "/usr/lib/python2.7/Cookie.py", line 583, in __init__
    if input: self.load(input)
  File "/usr/lib/python2.7/Cookie.py", line 643, in load
    for k, v in rawdata.items():
AttributeError: 'unicode' object has no attribute 'items'

Description

Dailymotion was working until I updated to the 2020 version, There must be a regression with the latest code.

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.