Thanks :)<br><br>I now get this, seems to work for other sites OK though:<br><br>[nathan@server llnz-inviddl-6c13bad]$ ./tvnzondemand-dl <a href="http://tvnz.co.nz/packed-to-the-rafters/packed-rafters-s1-e13-video-3023911">http://tvnz.co.nz/packed-to-the-rafters/packed-rafters-s1-e13-video-3023911</a><br>
Retrieving video webpage...<br>done.<br><br>Extracting SMIL playlist url...<br>done.<br><br>Retrieving SMIL playlist...<br>done.<br><br>Parsing SMIL<br>Extracting video urls<br>rtmp:2009/packedtotherafters_s1_e13_part1_700k<br>
Requesting video file...<br>failed.<br><br>Traceback (most recent call last):<br>  File &quot;./tvnzondemand-dl&quot;, line 58, in &lt;module&gt;<br>    http_download_video_step(video_filename, video_url_real)<br>  File &quot;/root/llnz-inviddl-6c13bad/viddl/steps.py&quot;, line 141, in http_download_video_step<br>
NameError: global name &#39;sys&#39; is not defined<br><br><br><div class="gmail_quote">On Sun, Oct 25, 2009 at 4:31 PM, Rob van der Linde <span dir="ltr">&lt;<a href="mailto:robvdl@gmail.com">robvdl@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">On Sun, 2009-10-25 at 11:53 +1300, Nathan Cook wrote:<br>
&gt; I&#39;ve downloaded the files, unzipped them and ran the following:<br>
&gt;<br>
&gt; tvnzondemand-dl<br>
&gt; <a href="http://tvnz.co.nz/packed-to-the-rafters/packed-rafters-s1-e13-video-3023911" target="_blank">http://tvnz.co.nz/packed-to-the-rafters/packed-rafters-s1-e13-video-3023911</a><br>
&gt;<br>
&gt; and then get the error:<br>
&gt;<br>
&gt; -bash: tvnzondemand-dl: command not found<br>
&gt;<br>
&gt; Have I missed something?<br>
&gt;<br>
&gt;<br>
<br>
</div></div>you should add ./ in front:<br>
<br>
./tvnzondemand-dl<br>
<div><div></div><div class="h5"><a href="http://tvnz.co.nz/packed-to-the-rafters/packed-rafters-s1-e13-video-3023911" target="_blank">http://tvnz.co.nz/packed-to-the-rafters/packed-rafters-s1-e13-video-3023911</a><br>
</div></div><br><br>
--<br>
Wellington Linux Users Group Mailing List: <a href="mailto:wellylug@lists.wellylug.org.nz">wellylug@lists.wellylug.org.nz</a><br>
To Leave:  <a href="http://lists.wellylug.org.nz/mailman/listinfo/wellylug" target="_blank">http://lists.wellylug.org.nz/mailman/listinfo/wellylug</a><br>
<br></blockquote></div><br>