Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Atresplayer.com: login download not work. #14773
Comments
|
Thanks for youtube-dl, is great job :) I write this only for remember this issue. Many thanks. :) |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.11.15. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
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