Re: Any Dittoheads out there?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-11-25 at 15:53 -0800, Geoffrey Leach wrote:
> No flames please. This is a technical question.
> 
> I download podcasts with a script that runs after 11pm 
> (Satelite internet). Is it possible to get the URL for the day's show 
> by scraping the member's page or compute it?. Needless to say, their 
> tech suport has no idea what I am trying to do.

A simple example:

wget -nv $(wget -O - http://www.jazzpodcast.org/ 2> /dev/null|sed -r 's:.*(http\:[^"]*\.mp3).*:\1:g'|grep "\.mp3"|head -1)

I suggest you dissect the command this way:

wget -O - http://www.jazzpodcast.org/ 2> /dev/null
wget -O - http://www.jazzpodcast.org/ 2> /dev/null|sed -r 's:.*(http\:[^"]*\.mp3).*:\1:g'

...and so on.

Cheers!
----------------------------------------------
Rodolfo Alcazar Portillo - nospaze@xxxxxxxxx
otbits.blogspot.com / counter.li.org: #367962
----------------------------------------------
"Es gibt kein unmoralisches Buch. Bücher sind gut geschrieben oder
schlecht geschrieben. Das ist alles."
- Oscar Wilde


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux