[wellylug] nzviddl - download video from NZ news sites
Rob van der Linde
robvdl at gmail.com
Sun Oct 25 09:52:17 NZDT 2009
Hi, I've tried using your program (the new name, inviddl). It's really
useful, because here in Wainuiomata, you just cannot get TV2 at all, and
TV1 reception isn't all that great either, and I've lived in several
places in Wainuiomata, TV reception is just really, really crap here.
Anyway, I was able to successfully download some episodes from tvnz on
demand from the cult for my girlfriend, but then when I tried
downloading some eleventh hour episodes for her, it wouldn't work.
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.
The second one, is the fact that downloading eleventh hour doesn't work
(but downloading the cult did), here is what I get:
tvnzondemand-dl http://tvnz.co.nz/eleventh-hour/s1-e14-video-3051269
Retrieving video webpage...
done.
Extracting SMIL playlist url...
done.
Retrieving SMIL playlist...
done.
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
On Thu, 2009-10-15 at 23:10 +1300, Lee Begg wrote:
> Hi all
>
> I have uploaded a series for scripts I use to watch the videos from NZ news
> sites to my public github.
>
> http://github.com/llnz/nzviddl
>
> The scripts work similar to youtube-dl which downloads the videos from YouTube
> so they can be watched. Basically, you pass the argument of the url of the
> webpage with the video on it, and the script downloads the flv video file so you
> can watch it with your favorite video player. Handy for those of us that for
> whatever reason don't have a flash player.
>
> For example:
> tvnz-dl "http://tvnz.co.nz/technology-news/helping-blind-see-light-in-
> christchurch-3078178/video"
>
> (without the obvious email line wrapping)
>
>
> They currently cover these sites:
> www.tvnz.co.nz (news and on-demand in separate scripts)
> www.3news.co.nz
> www.nzherald.co.nz
> www.primetv.co.nz
> www.ch9.co.nz (Dunedin local channel)
>
> I'm currently looking at TV3 on-demand, but it appears much more complex than
> the sites above.
>
> Hopefully others find them useful. Over time, I may refactor them to have more
> features and maybe bring them into one program. Suggestions are welcome, as
> are patches.
>
> Later
> Lee Begg
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20091025/5dbf1525/attachment.pgp
More information about the wellylug
mailing list