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

ATresPlayer not working (authenticated video) #4700

Closed
jjarava opened this issue Jan 14, 2015 · 6 comments
Closed

ATresPlayer not working (authenticated video) #4700

jjarava opened this issue Jan 14, 2015 · 6 comments
Labels

Comments

@jjarava
Copy link

@jjarava jjarava commented Jan 14, 2015

Hi!

I'm trying to use youtube-dl to download a video from Atresplayer.com.

The URL of the video is http://www.atresplayer.com/television/series/velvet/temporada-2/capitulo-1-captulo_2014102100219.html

I can properly play the video when using the webpage, so it's not really a "permissions" issue.

The output of using the --verbose option is:

youtube-dl jjarava$ youtube-dl --verbose -u XXXXXXXXX -p XXXXXXX http://www.atresplayer.com/television/series/velvet/temporada-2/capitulo-1-captulo_2014102100219.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-u', u'PRIVATE', '-p', u'PRIVATE', 'http://www.atresplayer.com/television/series/velvet/temporada-2/capitulo-1-captulo_2014102100219.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.01.11
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[AtresPlayer] capitulo-1-captulo: Downloading webpage
[AtresPlayer] capitulo-1-captulo: Downloading timestamp
[AtresPlayer] capitulo-1-captulo: Downloading windows video JSON
ERROR: AtresPlayer returned error: El usuario no tiene permisos para ver el vídeo
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 600, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 260, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/atresplayer.py", line 76, in _real_extract
    '%s returned error: %s' % (self.IE_NAME, result), expected=True)
ExtractorError: AtresPlayer returned error: El usuario no tiene permisos para ver el v\xeddeo

Best Regards!

@dstftw dstftw added the request label Jan 14, 2015
@dstftw dstftw closed this in c8dfe36 Jan 15, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 15, 2015

AtresPlayer authentication will be supported in the next version. You'll need to pass your email and password to -u and -p options correspondingly.
Thanks for the report.

@jjarava
Copy link
Author

@jjarava jjarava commented Jan 15, 2015

Thanks for the info - when is the "next version" released?

I've just "updated" (youtube -U) and after an update, I get the message I have a new version:

youtube-dl jjarava$ youtube-dl -U
youtube-dl is up-to-date (2015.01.15)

So, thinking the release was "updated" I've tried again, but I still get the same error when trying to download a "protected" item.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 15, 2015

when is the "next version" released?

When @phihag have some time to do that. We will bump this issue when it's released.

@jjarava
Copy link
Author

@jjarava jjarava commented Jan 15, 2015

Thanks for the heads up then, I'll wait.

I've also just open another issue (#4705) that might as well be related.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 15, 2015

AtresPlayer authentication support was incorporated in youtube-dl 2015.01.15.1. Refer to our FAQ if you need help updating.

@jjarava
Copy link
Author

@jjarava jjarava commented Jan 16, 2015

I can confirm that the download is now working providing the username and password, thanks!!

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.