This feed contains pages tagged "bbc".
To fetch the link for old harry's game:
$ wget -q -O - http://www.bbc.co.uk/iplayer/console/b007jpd8 | \
link.pl | grep ".ram$" | head -1
To fetch from the link in the clipboard, and place the answer in the clipboard:
$ wget -q -O - $(xclip -o) | link.pl | grep ".ram$" | head -1 | xclip -i
Replacing link.pl and the grep with sed:
$ wget -q -O - $URL | sed -e '/http/!d' -e 's/.*http:\/\/\([^ \"]*\).*/\1/g' -e '/.ram$/!d' | head -1
See also bbcplay.
Attachments:
- ?link.pl