Cannot download from dailymotion

Bug #1354760 reported by Richard Sellam
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Undecided
Unassigned
youtube-dl (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Trusty by Jackson Doak

Bug Description

Trying to download a video from dailymotion doesn't work. A crash and traceback are thrown to the user:
[dailymotion] x22ydb0: Downloading webpage
[dailymotion] x22ydb0: Extracting information
[dailymotion] x22ydb0: Downloading embed page
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 6, in <module>
    youtube_dl.main()
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 804, in main
    _real_main(argv)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 794, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 982, in download
    self.extract_info(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 158, in extract
    return self._real_extract(url)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/dailymotion.py", line 154, in _real_extract
    'uploader': info['owner_screenname'],
KeyError: 'owner_screenname'

I have up to date youtube-dl version (2014.02.17-1 on trusty)
This is already reported in the youtube-dl github bug list : https://github.com/rg3/youtube-dl/issues/3157
Fix is to upgrade youtube-dl to version >=2014.06.25.

Revision history for this message
Jackson Doak (noskcaj) wrote :

This is fixed in utopic, so someone will need to SRU the fix to trusty

tags: added: bitesize
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in youtube-dl (Ubuntu):
status: New → Confirmed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Closing as fixed for the development release and leaving open for trusty SRU.

Changed in youtube-dl (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

I suspect the problem lies with the age restriction and confirmation wall that dailymotion puts up for this particular video. My guess would be that other videos from that site work fine.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Works fine for me, btw, in trusty, not only in utopic.

youtube-dl http://www.dailymotion.com/video/x22ydb0_downblouse-nippon_creation
[dailymotion] x22ydb0: Downloading webpage
[dailymotion] x22ydb0: Extracting information
[dailymotion] x22ydb0: Downloading embed page
[download] Destination: Downblouse Nippon-x22ydb0.mp4
[download] 7.8% of 19.76MiB at 27.09KiB/s ETA 11:29

Revision history for this message
Paul White (paulw2u) wrote :

Closing Papercuts task as issue resolved.

Changed in hundredpapercuts:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.