2005-04-27, 17:34
would someone be interested in creating a script to access the pbs lehrer newshour feeds ?
--
i was just playing around with the video feeds of the (formerly macneil/)lehrer newshour as broadcasted on pbs.
http://www.pbs.org/newshour/newshour_index.html
i'm not sure how far back they go, but the 911 broadcast is still online, so they go back quite a long time.
[just checked: 1/1/2001 is also available]
what i found is that the url you can use is;
http://www.pbs.org/perl....20k.asf
this is for broadband (220k) windows media for the 26th of april 2005.
the 911 broadcast is;
http://www.pbs.org/perl....20k.asf
so basically the url is constructed as;
'http://www.pbs.org/perl/media.cgir?t=w&f...our/pbsnh' + <date in mmddyy format> + '_220k.asf'
alternatively two parameters can be added to this url;
&s= and &e=
i haven't figured out yet what the &s is for, but the &e= seems to influence the starting point of the stream.
unfortunately the archived streams do not start at the same point, so sometimes the broadcast starts with 5 minutes of 'advertisement', others start at the beginning of the newshour.
as i've never used python, i can't create a script for this feed myself and thus was wondering if someone who does master python would be interested in creating one.
personally i was thinking of showing a calendar which can be easely skipped through (skip days/months/years), with all dates where a feed is available selectable.
when a date is selected the corresponding url is created and the feed started.
my guess is that this shouldn't be to hard
for now i've write a small java app to run on my appserver to create a playlist of all available feeds each day and automatically upload this to one of my mediaservers.
btw; when opening the above mentioned url('s) i sometimes get an error that the feed can not be opened. trying a second time usually works then.
anne.
--
i was just playing around with the video feeds of the (formerly macneil/)lehrer newshour as broadcasted on pbs.
http://www.pbs.org/newshour/newshour_index.html
i'm not sure how far back they go, but the 911 broadcast is still online, so they go back quite a long time.
[just checked: 1/1/2001 is also available]
what i found is that the url you can use is;
http://www.pbs.org/perl....20k.asf
this is for broadband (220k) windows media for the 26th of april 2005.
the 911 broadcast is;
http://www.pbs.org/perl....20k.asf
so basically the url is constructed as;
'http://www.pbs.org/perl/media.cgir?t=w&f...our/pbsnh' + <date in mmddyy format> + '_220k.asf'
alternatively two parameters can be added to this url;
&s= and &e=
i haven't figured out yet what the &s is for, but the &e= seems to influence the starting point of the stream.
unfortunately the archived streams do not start at the same point, so sometimes the broadcast starts with 5 minutes of 'advertisement', others start at the beginning of the newshour.
as i've never used python, i can't create a script for this feed myself and thus was wondering if someone who does master python would be interested in creating one.
personally i was thinking of showing a calendar which can be easely skipped through (skip days/months/years), with all dates where a feed is available selectable.
when a date is selected the corresponding url is created and the feed started.
my guess is that this shouldn't be to hard
for now i've write a small java app to run on my appserver to create a playlist of all available feeds each day and automatically upload this to one of my mediaservers.
btw; when opening the above mentioned url('s) i sometimes get an error that the feed can not be opened. trying a second time usually works then.
anne.