-
1. Data: 2009-01-03 20:41:11
Temat: Radio BBC, podkasty, Dreambox, linux, skrypt
Od: Jerzy Pastusiak <p...@s...pam.szczecin.pl>
Witam.
Poniewaz widze zainteresowanie angielskim BBC,
dla posiadaczy odbiornikow sat z linuxem, podarunek
Noworoczny - skrypt, ktory napisalem na Dreamboxa,
do sciagania 11 podkastow, udostepnianych w *.mp3
przez BBC:
[Podcast Directory]
http://www.bbc.co.uk/radio/podcasts/directory/
Dziala na serwerach Unixowych, Linuxowych.
Jak widac jest prosciutki, najwiecej miejsca zajmuja
opisy - komentarze.
Najlepiej uruchamiac z cron'a, np. o g. 19:00.
Nie nadpisuje plikow. Sprawdzony, dziala bezproblemowo.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#!/bin/sh
# get_bbc.sh
# Pzdr.J.P.
dir_hdd='/hdd/!_!/'
# ******* 1 *********
# Thursdays 9.00am *
# *******************
# In Our Time
# BBC Radio 4
# Duration: 42mins | File Size: 20MB
# Melvyn Bragg and guests investigate the history of ideas
# http://www.bbc.co.uk/radio4/history/inourtime/
url1=http://www.bbc.co.uk/radio/podcasts/iot/
url2=http://downloads.bbc.co.uk/podcasts/radio4/iot/
iot_
wzr1='iot_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 1.$wzr1
# ******* 2 *********
# Saturdays 5.30pm *
# *******************
# iPM: Share What You Know
# BBC Radio 4
# Duration: 26mins | File Size: 12MB
# Weekly podcast featuring passionate debate from across
# the web with Eddie Mair. Alternative takes on stories
# not always covered in the news - you decide what we report
# each week. Find the iPM blog at www.bbc.co.uk/ipm
url1=http://www.bbc.co.uk/radio/podcasts/ipm/
url2=http://downloads.bbc.co.uk/podcasts/radio4/ipm/
ipm_
wzr1='ipm_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 2.$wzr1
# ******* 3 **********
# Tuesday, 10:32 GMT *
# ********************
# Digital Planet
# BBC World Service
# Duration: 27mins | File Size: 13MB
# How digital technology affects our lives around the world.
# http://www.bbc.co.uk/worldservice/programmes/digital
_planet.shtml
url1=http://www.bbc.co.uk/radio/podcasts/digitalp/
url2=http://downloads.bbc.co.uk/podcasts/worldservic
e/digitalp/digitalp_
wzr1='digitalp_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 3.$wzr1
# ******* 4 *********
# Thursday, 4:30 pm *
# *******************
# Material World
# BBC Radio 4
# Duration: 28mins | File Size: 13MB
# Weekly science conversation, on everything from
# archaeology to zoology, from abacus to the antipodean
# rodent zyzomys, by way of meteorites.
# Presented by Quentin Cooper
# http://www.bbc.co.uk/radio4/science/thematerialworld
.shtml
url1=http://www.bbc.co.uk/radio/podcasts/material/
url2=http://downloads.bbc.co.uk/podcasts/radio4/mate
rial/material_
wzr1='material_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 4.$wzr1
# ********* 5 **********
# Friday, 10:32 GMT *
# **********************
# Science in Action
# BBC World Service
# Friday, 19 December 2008, 10:32 GMT
# The BBC World Service's weekly look at
# new developments in science from around the world.
# http://www.bbc.co.uk/worldservice/programmes/science
_in_action.shtml
url1=http://www.bbc.co.uk/radio/podcasts/scia/
url2=http://downloads.bbc.co.uk/podcasts/worldservic
e/scia/scia_
wzr1='scia_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 5.$wzr1
# ********* 6 **********
# Wednesday, 10:32 GMT *
# **********************
# Discovery
# BBC World Service
# Duration: 25mins | File Size: 12MB
# Each week, Discovery takes an in-depth look at the most
# significant ideas, discoveries and trends in science,
# from the smallest microbe to the furthest corner of space.
# http://www.bbc.co.uk/worldservice/programmes/discove
ry.shtml
url1=http://www.bbc.co.uk/radio/podcasts/discovery/
url2=http://downloads.bbc.co.uk/podcasts/worldservic
e/discovery/discovery_
wzr1='discovery_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 6.$wzr1
# ********* 7 **********
# Fridays 6.30-7.00pm *
# **********************
# Friday Night Comedy from BBC
# BBC Radio 4
# Duration: 28mins | File Size: 27MB
# Bringing you both The Now Show and The News Quiz
# from BBC Radio 4. Enjoy a satirical take on the week's
# news with the cream of UK comedy talent.
# Currently offering the News Quiz.
# http://www.bbc.co.uk/radio4/comedy/newsquiz.shtml
url1=http://www.bbc.co.uk/radio/podcasts/fricomedy/
url2=http://downloads.bbc.co.uk/podcasts/radio4/fric
omedy/fricomedy_
wzr1='fricomedy_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 7.$wzr1
# ********* 8 *********
# Fridays 21:50-22:00 * ????
# *********************
# A Point of View
# BBC Radio 4
# Duration: 10mins | File Size: 5MB
# A ten minute topical audio essay by a leading commentator.
# http://downloads.bbc.co.uk/podcasts/radio4/pov/pov_2
0081226-2100a.mp3
url1=http://www.bbc.co.uk/radio/podcasts/pov/
url2=http://downloads.bbc.co.uk/podcasts/radio4/pov/
pov_
wzr1='pov_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 8.$wzr1
# ********** 9 ***********
# Wednesdays 16:00-16:30 *
# ************************
# Thinking Allowed
# BBC Radio 4
# Duration: 43mins | File Size: 20MB
# Laurie Taylor explores the latest research into how society
# works and discusses current ideas on how we live today.
# http://www.bbc.co.uk/radio4/factual/thinkingallowed/
url1=http://www.bbc.co.uk/radio/podcasts/ta/
url2=http://downloads.bbc.co.uk/podcasts/radio4/ta/t
a_
wzr1='ta_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 9.$wzr1
# ********** 10 **********
# Tuesdays 4.30 - 5,00pm *
# ************************
# Great Lives
# BBC Radio 4
# Duration: 26mins | File Size: 13MB
# Biography series exploring the greatest people who ever
# lived. Matthew Parris interviews an eminent guest
# and an expert to reveal the truth behind their history heroes.
# http://www.bbc.co.uk/radio4/history/greatlives/index
.shtml
url1=http://www.bbc.co.uk/radio/podcasts/greatlives/
url2=http://downloads.bbc.co.uk/podcasts/radio4/grea
tlives/greatlives_
wzr1='greatlives_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 10.$wzr1
# ********** 11 **********
# Tuesdays 4.30 - 5,00pm *
# ************************
# The Film Programme
# BBC Radio 4
# Duration: 28mins | File Size: 13MB
# Interviews and analysis from the world of cinema.
# Francine Stock talks to directors, writers and critics
# about the latest film releases, classics on DVD and movies on television.
# http://www.bbc.co.uk/radio4/arts/filmprogramme/filmp
rogramme.shtml
url1=http://www.bbc.co.uk/radio/podcasts/film/
url2=http://downloads.bbc.co.uk/podcasts/radio4/film
/film_
wzr1='film_'
wget -c -q -P $dir_hdd $url2`wget -q -O - $url1 |grep $url2|sed -e
's/.*'$wzr1'//' -e 's/".*$//'`
echo 11.$wzr1
exit 0
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Pzdr.J.P.