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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux