[ale] Bash/Python Question

Jim Popovitch jimpop at gmail.com
Wed Mar 17 20:48:07 EDT 2010


On Tue, Mar 16, 2010 at 22:49, Brian Pitts <brian at polibyte.com> wrote:
>
> I'm curious Jim, why wget instead of urllib2?

Two reasons.  -c (continue) and the need to get the real filename
*after* the download (scraping stdout) as some feeds (ONN) have a
default name for their download URL that is redirected to an actual
file located elsewhere.

It's not a perfect solution; it's a working solution, with room for
improvement  :-)

-Jim P.


More information about the Ale mailing list