7
« : 28.06.20 - klo:18.18 »
Kun yritän ladata konelle yle areenasta videoita saan tämän virhe-ilmoituksen.
pertti@pertti-SG3-250SC:~/Videot/ylevideot$ yle-dl https://areena.yle.fi/1-50409253
yle-dl 20181103: Download media files from Yle Areena and Elävä Arkisto
Copyright (C) 2009-2018 Antti Ajanki <antti.ajanki@iki.fi>, license: GPLv3
ERROR: Can't read https://player.yle.fi/api/v1/programs.jsonp?id=1-50409253&callback=yleEmbed.programJsonpCallback
Traceback (most recent call last):
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
conn.connect()
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connection.py", line 301, in connect
conn = self._new_conn()
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f5e59b710>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pertti/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 667, in urlopen
**response_kw)
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 667, in urlopen
**response_kw)
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 667, in urlopen
**response_kw)
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/pertti/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='player.yle.fi', port=443): Max retries exceeded with url: /api/v1/programs.jsonp?id=1-50409253&callback=yleEmbed.programJsonpCallback (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f5e59b710>: Failed to establish a new connection: [Errno -2] Name or service not known',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pertti/.local/lib/python3.6/site-packages/yledl/http.py", line 85, in get
r = self._session.get(url, headers=headers)
File "/home/pertti/.local/lib/python3.6/site-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/home/pertti/.local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/home/pertti/.local/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/home/pertti/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='player.yle.fi', port=443): Max retries exceeded with url: /api/v1/programs.jsonp?id=1-50409253&callback=yleEmbed.programJsonpCallback (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f5e59b710>: Failed to establish a new connection: [Errno -2] Name or service not known',))
ERROR: Unsupported stream: Media not found
Sama on toistunut jo muutamana päivinä ja olen kokeilut useita eri videoita.
Käyttis on Ubuntu Mate 18.04.4