No nyt ei toimi... Pitäisikö tuo versio 2.7.0 päivittää uudempaan vai onko vika tuolla ylen päässä?
ari@ari:~/avi$ yle-dl http://areena.yle.fi/1-4072204
yle-dl 2.7.0: Download media files from Yle Areena and Elävä Arkisto
Copyright (C) 2009-2015 Antti Ajanki <antti.ajanki@iki.fi>, license: GPLv2
Can't read http://areena.yle.fi/api/programs/v1/items.json?series=1-4072204&type=program&availability=ondemand&order=ondemand.publication.starttime%253Adesc&app_id=cb021459&app_key=fa6c26b3b3e617b7033c83c108417200&limit=25&offset=0&olang=fi: HTTP Error 401: Unauthorized
Subtitles saved to Doctor Who-2017-06-18T06:00:00+03:00.fin.srt
KSV Adobe HDS Downloader
Processing manifest info....
PHP Notice: Undefined offset: 0 in /usr/local/share/yle-dl/AdobeHDS.php on line 534
Quality Selection:
Available: 0
Selected : 0
PHP Warning: unpack(): Type N: not enough input, need 4, have 0 in /usr/local/share/yle-dl/AdobeHDS.php on line 1401
Failed to parse bootstrap info
Can't read http://areena.yle.fi/api/programs/v1/items.json?series=1-4072204&type=program&availability=ondemand&order=ondemand.publication.starttime%253Adesc&app_id=cb021459&app_key=fa6c26b3b3e617b7033c83c108417200&limit=25&offset=0&olang=fi: HTTP Error 401: Unauthorized
Subtitles saved to Doctor Who-2017-06-18T06:00:00+03:00.fin.srt
Output file: Doctor Who-2017-06-18T06:00:00+03:00.flv
[download] Downloading f4m manifest
[download] Destination: Doctor Who-2017-06-18T06:00:00+03:00.flv
Traceback (most recent call last):
File "/usr/local/bin/yle-dl", line 2010, in <module>
main()
File "/usr/local/bin/yle-dl", line 2006, in main
sys.exit(dl.download_episodes(url, sfilt, rtmpdumpargs, destdir))
File "/usr/local/bin/yle-dl", line 1603, in download_episodes
return self._retry_call('download_episodes', *args, **kwargs)
File "/usr/local/bin/yle-dl", line 1592, in _retry_call
return self._retry_call(method_name, *args, **kwargs)
File "/usr/local/bin/yle-dl", line 1590, in _retry_call
res = method(*args, **kwargs)
File "/usr/local/bin/yle-dl", line 1037, in download_episodes
return self.process(download_clip, url, filters)
File "/usr/local/bin/yle-dl", line 1070, in process
res = self.process_single_episode(clipfunc, clipurl, filters)
File "/usr/local/bin/yle-dl", line 1106, in process_single_episode
return clipfunc(clip)
File "/usr/local/bin/yle-dl", line 1035, in download_clip
return downloader.save_stream()
File "/usr/local/bin/yle-dl", line 1862, in save_stream
if not f4mdl.download(outputfile, info):
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 290, in download
return self.real_download(filename, info_dict)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/f4m.py", line 240, in real_download
bootstrap = base64.b64decode(doc.find(_add_ns('bootstrapInfo')).text)
AttributeError: 'NoneType' object has no attribute 'text'
ari@ari:~/avi$
T. Ari