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.com: login download not work. #14773

Closed
wallebot1 opened this issue Nov 16, 2017 · 1 comment
Closed

Atresplayer.com: login download not work. #14773

wallebot1 opened this issue Nov 16, 2017 · 1 comment

Comments

@wallebot1
Copy link

@wallebot1 wallebot1 commented Nov 16, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.11.15. 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 2017.11.15

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the 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

I cannot download from
http://www.atresplayer.com/television/programas/hormiguero/temporada-7/capitulo-31-elsa-pataky_2017110100832.html
If need login.
I can see from web.

I try to login with curl and get cookie. Curl download cookie, but youtube-dl --cookie cucu overwrite with a empty one.

In log you can see credentials, I repeat here
user:mitest.20.testgit@neverbox.org
pass:Supertest

I hope all data are OK

Thanks in advance.

Log of commands

$ cat cucu

Netscape HTTP Cookie File # http://curl.haxx.se/docs/http-cookies.html # This file was generated by libcurl! Edit at your own risk. #HttpOnly_servicios.atresplayer.com FALSE / TRUE 0 JSESSIONID 4373B47104F3F35BCFC04933F2B30012-n1

$ youtube-dl --verbose -u mitest.20.testgit@neverbox.org -p Supertest -a link_pataky.txt
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'-a', u'link_pataky.txt']
[debug] Batch file urls: [u'http://www.atresplayer.com/television/programas/hormiguero/temporada-7/capitulo-31-elsa-pataky_2017110100832.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2017.11.15
[debug] Python version 2.7.13 - Linux-4.4.0-98-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu0.16.04.1, ffprobe 2.8.11-0ubuntu0.16.04.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
ERROR: Unable to download JSON metadata: HTTP Error 500: Internal Server Error (caused by HTTPError()); 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.
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 506, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2196, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

[AtresPlayer] Logging in [AtresPlayer] capitulo-31-elsa-pataky: Downloading webpage [AtresPlayer] 20171101-EPISODE-01239-false: Downloading player JSON [AtresPlayer] capitulo-31-elsa-pataky: Downloading timestamp [AtresPlayer] capitulo-31-elsa-pataky: Downloading windows video JSON
$ cat link_pataky.txt
http://www.atresplayer.com/television/programas/hormiguero/temporada-7/capitulo-31-elsa-pataky_2017110100832.html
$ cat cucu

Netscape HTTP Cookie File # http://curl.haxx.se/docs/http-cookies.html # This file was generated by libcurl! Edit at your own risk. #HttpOnly_servicios.atresplayer.com FALSE / TRUE 0 JSESSIONID 4373B47104F3F35BCFC04933F2B30012-n1

$ curl -c cucu cat dpass2.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: cat curl: (6) Could not resolve host: dpass2.txt

$ cat cucu

Netscape HTTP Cookie File # http://curl.haxx.se/docs/http-cookies.html # This file was generated by libcurl! Edit at your own risk. #HttpOnly_servicios.atresplayer.com FALSE / TRUE 0 JSESSIONID 4373B47104F3F35BCFC04933F2B30012-n1

$ cat dpass2.txt
https://servicios.atresplayer.com/j_spring_security_check?spring-security-redirect%3Dhttp%3A%2F%2Fwww.atresplayer.com%2Ftelevision%2Fprogramas%2Fhormiguero%2Ftemporada-7%2Fcapitulo-31-elsa-pataky_2017110100832.html%26j_username%3Dmitest.20.testgit%40neverbox.org%26j_password%3DSupertest
$ youtube-dl --cookie cucu --verbose -a link_pataky.txt
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--cookie', u'cucu', u'--verbose', u'-a', u'link_pataky.txt']
[debug] Batch file urls: [u'http://www.atresplayer.com/television/programas/hormiguero/temporada-7/capitulo-31-elsa-pataky_2017110100832.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2017.11.15
[debug] Python version 2.7.13 - Linux-4.4.0-98-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.11-0ubuntu0.16.04.1, ffprobe 2.8.11-0ubuntu0.16.04.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
ERROR: Unable to download JSON metadata: HTTP Error 500: Internal Server Error (caused by HTTPError()); 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.
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 506, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2196, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

[AtresPlayer] capitulo-31-elsa-pataky: Downloading webpage [AtresPlayer] 20171101-EPISODE-01239-false: Downloading player JSON [AtresPlayer] capitulo-31-elsa-pataky: Downloading timestamp [AtresPlayer] capitulo-31-elsa-pataky: Downloading windows video JSON
$ cat link_pataky.txt
http://www.atresplayer.com/television/programas/hormiguero/temporada-7/capitulo-31-elsa-pataky_2017110100832.html

@wallebot1
Copy link
Author

@wallebot1 wallebot1 commented Jan 19, 2018

Thanks for youtube-dl, is great job :)

I write this only for remember this issue.
I test time in time this problem, an now I test with version youtube-dl version 2018.01.18
I think don`t work
I have a script to test it, and i used a newer link.

Many thanks. :)

@remitamine remitamine closed this Oct 16, 2019
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.