[wellylug] nzviddl - download video from NZ news sites

Lee Begg llnz at paradise.net.nz
Wed Oct 28 21:36:58 NZDT 2009


On Sun, 25 Oct 2009 09:52:17 Rob van der Linde wrote:
> There are two bugs actually, the first one is really easy to solve,
> probable just add an import sys statement, because when the program is
> unable to download the video, and it does a sys.exit('unable to download
> video data'), I get a global name sys is not defined.

Now fixed. Thanks to qlim on github for the patch.

> The second one, is the fact that downloading eleventh hour doesn't work
> (but downloading the cult did), here is what I get:

<snip>
> Parsing SMIL
> Extracting video urls
> rtmp:2009/eleventhhour_s1_e14_part1_700k
> Requesting video file...
> failed.
> 
> Traceback (most recent call last):
>   File "/usr/bin/tvnzondemand-dl", line 58, in <module>
>     http_download_video_step(video_filename, video_url_real)
>   File "/usr/lib/inviddl/viddl/steps.py", line 141, in
> http_download_video_step
>     sys.exit('unable to download video data')
> NameError: global name 'sys' is not defined

The new version will not try to download a rtmp protocol url. Instead it will 
write out an error message.

Regards
Lee



More information about the wellylug mailing list