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 support seems broken #11438

Closed
RomainBoulay opened this issue Dec 13, 2016 · 8 comments
Closed

Dailymotion support seems broken #11438

RomainBoulay opened this issue Dec 13, 2016 · 8 comments

Comments

@RomainBoulay
Copy link

@RomainBoulay RomainBoulay commented Dec 13, 2016

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.12. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.12.12

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple

$ youtube-dl -v http://www.dailymotion.com/video/x55kf8p_miss-france-miss-mayotte-elue-mis-gamelle-avec-une-chute-spectaculaire-en-gros-plan_tv
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.dailymotion.com/video/x55kf8p_miss-france-miss-mayotte-elue-mis-gamelle-avec-une-chute-spectaculaire-en-gros-plan_tv']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.18
[debug] Python version 2.7.10 - Darwin-16.1.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[dailymotion] x55kf8p: Downloading webpage
WARNING: unable to extract comment count; 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.
[dailymotion] x55kf8p: Downloading m3u8 information
[dailymotion] x55kf8p: Downloading m3u8 information
[dailymotion] x55kf8p: Downloading m3u8 information
[dailymotion] x55kf8p: Downloading m3u8 information
[debug] Invoking downloader on u'https://www.dailymotion.com/cdn/H264-512x384/video/x55kf8p.mp4?auth=1482266618-2562-bkpla9gw-00148b4de354a1ba8484c11a9094a281'
ERROR: unable to download video data: HTTP Error 403: Forbidden
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1699, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1641, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 353, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 61, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 403: Forbidden
...
<end of log>

Description of your issue, suggested solution and other information

The downloading for any Dailymotion video seems broken, got HTTP Error 403 even though the videos were public. I believe you can reproduce the error with any link, regardless of the command line flags too.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 13, 2016

Carefully read new issue template and provide all requested information.

@dstftw dstftw closed this Dec 13, 2016
@RomainBoulay
Copy link
Author

@RomainBoulay RomainBoulay commented Dec 18, 2016

Hey @dstftw,

I've reformatted my post, the bug still exists and I hope I gave all the needed info.

Cheers.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 18, 2016

You are using an outdated version of youtube-dl. Read this FAQ entry if you have troubles updating.

@dstftw dstftw added the invalid label Dec 18, 2016
@RomainBoulay
Copy link
Author

@RomainBoulay RomainBoulay commented Dec 18, 2016

My bad. I've upgraded the software and updated this PR's description as the issues persist

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Dec 19, 2016

Works for me.

$ youtube-dl -v "http://www.dailymotion.com/video/x55kf8p_miss-france-miss-mayotte-elue-mis-gamelle-avec-une-chute-spectaculaire-en-gros-plan_tv"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.dailymotion.com/video/x55kf8p_miss-france-miss-mayotte-elue-mis-gamelle-avec-une-chute-spectaculaire-en-gros-plan_tv']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.18
[debug] Git HEAD: 954529c10
[debug] Python version 2.7.12 - Linux-4.8.13-1-ARCH-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 3.2.2, ffprobe 3.2.2, rtmpdump 2.4
[debug] Proxy map: {}
[dailymotion] x55kf8p: Downloading webpage
WARNING: unable to extract comment count; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[dailymotion] x55kf8p: Downloading m3u8 information
[dailymotion] x55kf8p: Downloading m3u8 information
[dailymotion] x55kf8p: Downloading m3u8 information
[dailymotion] x55kf8p: Downloading m3u8 information
[debug] Invoking downloader on u'https://www.dailymotion.com/cdn/H264-512x384/video/x55kf8p.mp4?auth=1482293200-2562-yqnwls4j-07e7e9d4f70e50c4644fead3cd05e6d1'
[download] Destination: Miss France - Miss Mayotte élue... Mis Gamelle avec une chute spectaculaire en gros plan  !-x55kf8p.mp4
[download] 100% of 845.58KiB in 00:00
@yan12125 yan12125 added cant-reproduce and removed invalid labels Dec 19, 2016
@RomainBoulay
Copy link
Author

@RomainBoulay RomainBoulay commented Dec 19, 2016

Ok I think I understood the issue. When a client is downloading several dailymotion videos, the website presents a login page that prevents youtube-dl to work normally.

I tried to workaround the issue using --username ... --password ... but that does not solve the issue. Any idea how one could make it work?

cheers

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Dec 19, 2016

Dailymotion authentication are not supported yet. You may want to open a new issue for that.

@RomainBoulay RomainBoulay mentioned this issue Dec 19, 2016
4 of 8 tasks complete
@RomainBoulay
Copy link
Author

@RomainBoulay RomainBoulay commented Dec 19, 2016

Thanks. I created another issue here: #11491

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.