-
assigned issue to
Unable to download some iView programs: KeyError
Issue #78
on hold
Seems that some programs on iView (ABC News QLD and 7:30) will not download. Looks like they've stopped adding these to a play list, so it's broken the lookup for the HLS URL.
Seems to be hit and miss - some download, others don't.
Here's what happens:
~/webdl $ ./autograbber-cron.sh /mnt/dvr/7\:30/
INFO git pull --ff-only
Already up-to-date.
INFO .virtualenv/bin/activate
INFO Running autograbber
INFO Processing directory: /mnt/dvr/7:30
Traceback (most recent call last):
File "./autograbber.py", line 114, in <module>
run()
File "./autograbber.py", line 111, in <lambda>
run = lambda: process_dirs(sys.argv[1:])
File "./autograbber.py", line 97, in process_dirs
process_one_dir(download_dir, pattern_filename)
File "./autograbber.py", line 69, in process_one_dir
match(download_list, node, search)
File "./autograbber.py", line 59, in match
match(download_list, child, pattern, count+1)
File "./autograbber.py", line 59, in match
match(download_list, child, pattern, count+1)
File "./autograbber.py", line 59, in match
match(download_list, child, pattern, count+1)
File "./autograbber.py", line 59, in match
match(download_list, child, pattern, count+1)
File "./autograbber.py", line 59, in match
match(download_list, child, pattern, count+1)
File "./autograbber.py", line 47, in match
if node.download():
File "/home/pi/webdl/iview.py", line 56, in download
video_url = self.find_hls_url(info["playlist"])
KeyError: 'playlist'
The info dict seems to only contain:
dict_keys(['channel', 'expireDate', 'availability', 'keywords', 'related', 'captions', 'channelTitle', 'episodeHouseNumber', 'thumbnail', 'href', 'pubDate', 'showID', 'statusMessage', 'title', 'share', 'categories', 'transmitChannel', 'seriesTitle', 'duration', 'episodeCount', 'seriesHouseNumber', 'label', 'description', 'transmitDate'])
I might try and debug this myself if I can (am not familiar with how this works), but figured I'd open an issue as well.
Comments (2)
-
repo owner -
repo owner - changed status to on hold
I can't reproduce this. Probably it was a temporary glitch with ABC's systems. Has it happened since?
- Log in to comment