Moi, tämmöistä tykittelee yrittäessä ladata ohjelmaa. Pythoniin tuo ongelma vaikuttaa liittyvän, mutta oma osaaminen valitettavasti loppuu kesken itse asiassa.
~$ yle-dl https://areena.yle.fi/1-50461316
yle-dl 20181221: 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-50461316&callback=yleEmbed.programJsonpCallback
Traceback (most recent call last):
File "/home/enra/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/home/enra/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 828, in urlopen
**response_kw
File "/home/enra/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 828, in urlopen
**response_kw
File "/home/enra/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 828, in urlopen
**response_kw
File "/home/enra/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 805, in urlopen
retries = retries.increment(method, url, response=response, _pool=self)
File "/home/enra/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 439, 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-50461316&callback=yleEmbed.programJsonpCallback (Caused by ResponseError('too many 503 error responses',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/enra/.local/lib/python3.6/site-packages/yledl/http.py", line 85, in get
r = self._session.get(url, headers=headers)
File "/home/enra/.local/lib/python3.6/site-packages/requests/sessions.py", line 543, in get
return self.request('GET', url, **kwargs)
File "/home/enra/.local/lib/python3.6/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/home/enra/.local/lib/python3.6/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/home/enra/.local/lib/python3.6/site-packages/requests/adapters.py", line 507, in send
raise RetryError(e, request=request)
requests.exceptions.RetryError: HTTPSConnectionPool(host='player.yle.fi', port=443): Max retries exceeded with url: /api/v1/programs.jsonp?id=1-50461316&callback=yleEmbed.programJsonpCallback (Caused by ResponseError('too many 503 error responses',))
ERROR: Unsupported stream: Media not found
Ubuntu 18.04.4 käyttöjärjestelmänä.